Uses of Class
com.soklet.CorsPreflight
Packages that use CorsPreflight
-
Uses of CorsPreflight in com.soklet
Methods in com.soklet that return CorsPreflightModifier and TypeMethodDescriptionstatic CorsPreflightCorsPreflight.with(String origin, HttpMethod accessControlRequestMethod) Acquires a CORS preflight request representation for the given HTTP request data.static CorsPreflightCorsPreflight.with(String origin, HttpMethod accessControlRequestMethod, Set<String> accessControlRequestHeaders) Acquires a CORS preflight request representation for the given HTTP request data.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 yourCorsAuthorizerapproves a preflight request.ResponseMarshaler.forCorsPreflightRejected(Request request, CorsPreflight corsPreflight) Prepares a response for "CORS preflight rejected" scenario when yourCorsAuthorizerdenies a preflight request.ResponseMarshaler.Builder.CorsPreflightAllowedHandler.handle(Request request, CorsPreflight corsPreflight, CorsPreflightResponse corsPreflightResponse) Prepares a response for "CORS preflight allowed" scenario when yourCorsAuthorizerapproves a preflight request.ResponseMarshaler.Builder.CorsPreflightRejectedHandler.handle(Request request, CorsPreflight corsPreflight) Prepares a response for "CORS preflight rejected" scenario when yourCorsAuthorizerdenies a preflight request.