Uses of Class
com.soklet.CorsPreflight
Packages that use CorsPreflight
-
Uses of CorsPreflight in com.soklet
Methods in com.soklet that return types with arguments of type CorsPreflightModifier and TypeMethodDescriptionstatic Optional
<CorsPreflight> CorsPreflight.fromHeaders
(Map<String, Set<String>> headers) Extracts a CORS preflight request representation from the given HTTP request data.Request.getCorsPreflight()
CORS preflight-related request data.Methods in com.soklet with parameters of type CorsPreflightModifier and TypeMethodDescriptionCorsAuthorizer.authorizePreflight
(Request request, CorsPreflight corsPreflight, Map<HttpMethod, ResourceMethod> availableResourceMethodsByHttpMethod) Authorizes a CORS preflight request.ResponseMarshaler.forCorsPreflightAllowed
(Request request, CorsPreflight corsPreflight, CorsPreflightResponse corsPreflightResponse) Prepares a response for "CORS preflight allowed" scenario when yourCorsAuthorizer
approves a preflight request.ResponseMarshaler.forCorsPreflightRejected
(Request request, CorsPreflight corsPreflight) Prepares a response for "CORS preflight rejected" scenario when yourCorsAuthorizer
denies a preflight request.ResponseMarshaler.Builder.CorsPreflightAllowedHandler.handle
(Request request, CorsPreflight corsPreflight, CorsPreflightResponse corsPreflightResponse) ResponseMarshaler.Builder.CorsPreflightRejectedHandler.handle
(Request request, CorsPreflight corsPreflight)