Uses of Interface
io.helidon.cors.CorsResponseAdapter
Package
Description
Common cross origin configuration and types used by all Helidon flavors.
-
Uses of CorsResponseAdapter in io.helidon.cors
Modifier and TypeMethodDescriptionCorsResponseAdapter.header
(HeaderName key, Object value) Arranges to add the specified header and value to the eventual response.CorsResponseAdapter.header
(HeaderName key, String value) Arranges to add the specified header and value to the eventual response.Modifier and TypeMethodDescriptionprotected void
CorsSupportBase.prepareResponse
(CorsRequestAdapter<Q> requestAdapter, CorsResponseAdapter<R> responseAdapter) Not for developer user. Gets a response ready to participate in the CORS protocol.void
CorsSupportHelper.prepareResponse
(CorsRequestAdapter<Q> requestAdapter, CorsResponseAdapter<R> responseAdapter) Prepares a response with CORS headers, if the supplied request is in fact a CORS request.CorsSupportBase.processRequest
(CorsRequestAdapter<Q> requestAdapter, CorsResponseAdapter<R> responseAdapter) Not for developer use. Submits a request adapter and response adapter for CORS processing.CorsSupportHelper.processRequest
(CorsRequestAdapter<Q> requestAdapter, CorsResponseAdapter<R> responseAdapter) Processes a request according to the CORS rules, returning anOptional
of the response type if the caller should send the response immediately (such as for a preflight response or an error response to a non-preflight CORS request).