Uses of Class
io.modelcontextprotocol.server.transport.WebMvcStatelessServerTransport.Builder
-
Uses of WebMvcStatelessServerTransport.Builder in io.modelcontextprotocol.server.transport
Methods in io.modelcontextprotocol.server.transport that return WebMvcStatelessServerTransport.BuilderModifier and TypeMethodDescriptionWebMvcStatelessServerTransport.builder()Create a builder for the server.WebMvcStatelessServerTransport.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.WebMvcStatelessServerTransport.Builder.jsonMapper(io.modelcontextprotocol.json.McpJsonMapper jsonMapper) Sets the ObjectMapper to use for JSON serialization/deserialization of MCP messages.WebMvcStatelessServerTransport.Builder.messageEndpoint(String messageEndpoint) Sets the endpoint URI where clients should send their JSON-RPC messages.