Uses of Interface
io.helidon.cors.CorsResponseAdapter
Packages that use CorsResponseAdapter
Package
Description
Common cross origin configuration and types used by all Helidon flavors.
-
Uses of CorsResponseAdapter in io.helidon.cors
Methods in io.helidon.cors that return CorsResponseAdapterModifier and TypeMethodDescriptionCorsResponseAdapter.header(Http.HeaderName key, Object value) Arranges to add the specified header and value to the eventual response.CorsResponseAdapter.header(Http.HeaderName key, String value) Arranges to add the specified header and value to the eventual response.Methods in io.helidon.cors with parameters of type CorsResponseAdapterModifier and TypeMethodDescriptionprotected voidCorsSupportBase.prepareResponse(CorsRequestAdapter<Q> requestAdapter, CorsResponseAdapter<R> responseAdapter) Not for developer user. Gets a response ready to participate in the CORS protocol.voidCorsSupportHelper.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 anOptionalof 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).