-
WebMvcStreamableServerTransportProvider.builder()
WebMvcStreamableServerTransportProvider.Builder.contextExtractor(io.modelcontextprotocol.server.McpTransportContextExtractor<org.springframework.web.servlet.function.ServerRequest> contextExtractor)
Sets the context extractor that allows providing the MCP feature
implementations to inspect HTTP transport level metadata that was present at
HTTP request processing time.
WebMvcStreamableServerTransportProvider.Builder.disallowDelete(boolean disallowDelete)
Sets whether to disallow DELETE requests on the endpoint.
WebMvcStreamableServerTransportProvider.Builder.jsonMapper(io.modelcontextprotocol.json.McpJsonMapper jsonMapper)
Sets the McpJsonMapper to use for JSON serialization/deserialization of MCP
messages.
Sets the keep-alive interval for the transport.
Sets the endpoint URI where clients should send their JSON-RPC messages.
WebMvcStreamableServerTransportProvider.Builder.securityValidator(io.modelcontextprotocol.server.transport.ServerTransportSecurityValidator securityValidator)
Sets the security validator for validating HTTP requests.