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 @NonNull CorsPreflightCorsPreflight.with(@NonNull String origin, @NonNull HttpMethod accessControlRequestMethod) Acquires a CORS preflight request representation for the given HTTP request data.static @NonNull CorsPreflightCorsPreflight.with(@NonNull String origin, @NonNull HttpMethod accessControlRequestMethod, @Nullable Set<@NonNull 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 @NonNull Optional<CorsPreflight> 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(@NonNull Request request, @NonNull CorsPreflight corsPreflight, @NonNull Map<@NonNull HttpMethod, @NonNull ResourceMethod> availableResourceMethodsByHttpMethod) Authorizes a CORS preflight request.ResponseMarshaler.forCorsPreflightAllowed(@NonNull Request request, @NonNull CorsPreflight corsPreflight, @NonNull CorsPreflightResponse corsPreflightResponse) Prepares a response for "CORS preflight allowed" scenario when yourCorsAuthorizerapproves a preflight request.ResponseMarshaler.forCorsPreflightRejected(@NonNull Request request, @NonNull CorsPreflight corsPreflight) Prepares a response for "CORS preflight rejected" scenario when yourCorsAuthorizerdenies a preflight request.ResponseMarshaler.Builder.CorsPreflightAllowedHandler.handle(@NonNull Request request, @NonNull CorsPreflight corsPreflight, @NonNull CorsPreflightResponse corsPreflightResponse) Prepares a response for "CORS preflight allowed" scenario when yourCorsAuthorizerapproves a preflight request.ResponseMarshaler.Builder.CorsPreflightRejectedHandler.handle(@NonNull Request request, @NonNull CorsPreflight corsPreflight) Prepares a response for "CORS preflight rejected" scenario when yourCorsAuthorizerdenies a preflight request.