Uses of Interface
io.helidon.cors.CorsRequestAdapter
Package
Description
Common cross origin configuration and types used by all Helidon flavors.
-
Uses of CorsRequestAdapter in io.helidon.cors
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).