Uses of Class
com.soklet.Cors
Packages that use Cors
-
Uses of Cors in com.soklet
Methods in com.soklet that return CorsModifier and TypeMethodDescriptionCors.fromOrigin(@NonNull HttpMethod httpMethod, @NonNull 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(@NonNull HttpMethod httpMethod, @NonNull Map<@NonNull String, @NonNull Set<@NonNull 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.McpCorsAuthorizer.authorize(@NonNull McpCorsContext context, @NonNull Cors cors) Authorizes a non-preflight browser-originated MCP request and, when allowed, supplies the CORS response metadata to apply.ResponseMarshaler.forCorsAllowed(@NonNull Request request, @NonNull Cors cors, @NonNull CorsResponse corsResponse, @NonNull MarshaledResponse marshaledResponse) Applies "CORS is permitted for this request" data to a response.ResponseMarshaler.Builder.CorsAllowedHandler.handle(@NonNull Request request, @NonNull Cors cors, @NonNull CorsResponse corsResponse, @NonNull MarshaledResponse marshaledResponse) Applies "CORS is permitted for this request" data to a response.