Uses of Class
io.modelcontextprotocol.server.transport.WebMvcSseServerTransportProvider.Builder
-
Uses of WebMvcSseServerTransportProvider.Builder in io.modelcontextprotocol.server.transport
Methods in io.modelcontextprotocol.server.transport that return WebMvcSseServerTransportProvider.BuilderModifier and TypeMethodDescriptionSets the base URL for the server transport.WebMvcSseServerTransportProvider.builder()Creates a new Builder instance for configuring and creating instances of WebMvcSseServerTransportProvider.WebMvcSseServerTransportProvider.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.WebMvcSseServerTransportProvider.Builder.jsonMapper(io.modelcontextprotocol.json.McpJsonMapper jsonMapper) Sets the JSON object mapper to use for message serialization/deserialization.WebMvcSseServerTransportProvider.Builder.keepAliveInterval(Duration keepAliveInterval) Sets the interval for keep-alive pings.WebMvcSseServerTransportProvider.Builder.messageEndpoint(String messageEndpoint) Sets the endpoint path where clients will send their messages.WebMvcSseServerTransportProvider.Builder.sseEndpoint(String sseEndpoint) Sets the endpoint path where clients will establish SSE connections.