Uses of Class
io.modelcontextprotocol.server.transport.WebMvcStreamableServerTransportProvider.Builder
-
Uses of WebMvcStreamableServerTransportProvider.Builder in io.modelcontextprotocol.server.transport
Methods in io.modelcontextprotocol.server.transport that return WebMvcStreamableServerTransportProvider.BuilderModifier and TypeMethodDescriptionWebMvcStreamableServerTransportProvider.builder()WebMvcStreamableServerTransportProvider.Builder.contextExtractor(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.keepAliveInterval(Duration keepAliveInterval) Sets the keep-alive interval for the transport.WebMvcStreamableServerTransportProvider.Builder.mcpEndpoint(String mcpEndpoint) Sets the endpoint URI where clients should send their JSON-RPC messages.WebMvcStreamableServerTransportProvider.Builder.objectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Sets the ObjectMapper to use for JSON serialization/deserialization of MCP messages.