Uses of Class
com.soklet.Cors
Packages that use Cors
-
Uses of Cors in com.soklet
Methods in com.soklet that return CorsModifier and TypeMethodDescriptionstatic CorsCors.withOrigin(HttpMethod httpMethod, String origin) Acquires a CORS non-preflight request representation for the given HTTP request data.Methods in com.soklet that return types with arguments of type CorsModifier and TypeMethodDescriptionCors.fromHeaders(HttpMethod httpMethod, Map<String, Set<String>> headers) Extracts a CORS non-preflight request representation from the given HTTP request data.Request.getCors()Non-preflight CORS request data.Methods in com.soklet with parameters of type CorsModifier and TypeMethodDescriptionAuthorizes a non-preflight CORS request.ResponseMarshaler.forCorsAllowed(Request request, Cors cors, CorsResponse corsResponse, MarshaledResponse marshaledResponse) Applies "CORS is permitted for this request" data to a response.ResponseMarshaler.Builder.CorsAllowedHandler.handle(Request request, Cors cors, CorsResponse corsResponse, MarshaledResponse marshaledResponse) Applies "CORS is permitted for this request" data to a response.