Uses of Record Class
com.soklet.McpCorsContext
Packages that use McpCorsContext
-
Uses of McpCorsContext in com.soklet
Methods in com.soklet with parameters of type McpCorsContextModifier and TypeMethodDescriptionMcpCorsAuthorizer.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.McpCorsAuthorizer.authorizePreflight(@NonNull McpCorsContext context, @NonNull CorsPreflight corsPreflight, @NonNull Set<@NonNull HttpMethod> availableHttpMethods) Authorizes a browser preflight request for the MCP transport.Method parameters in com.soklet with type arguments of type McpCorsContextModifier and TypeMethodDescriptionstatic @NonNull McpCorsAuthorizerMcpCorsAuthorizer.fromOriginAuthorizer(@NonNull Predicate<@NonNull McpCorsContext> originAuthorizer) Acquires an authorizer backed by an origin-authorization predicate and with credentials disabled by default.static @NonNull McpCorsAuthorizerMcpCorsAuthorizer.fromOriginAuthorizer(@NonNull Predicate<@NonNull McpCorsContext> originAuthorizer, @NonNull Function<String, Boolean> allowCredentialsResolver) Acquires an authorizer backed by an origin-authorization predicate plus a credentials resolver.