-
Sets the base URL for the server transport.
WebMvcSseServerTransportProvider.builder()
Deprecated, for removal: This API element is subject to removal in a future version.
Creates a new Builder instance for configuring and creating instances of
WebMvcSseServerTransportProvider.
WebMvcSseServerTransportProvider.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.
WebMvcSseServerTransportProvider.Builder.jsonMapper(io.modelcontextprotocol.json.McpJsonMapper jsonMapper)
Sets the JSON object mapper to use for message serialization/deserialization.
Sets the interval for keep-alive pings.
Sets the endpoint path where clients will send their messages.
WebMvcSseServerTransportProvider.Builder.securityValidator(io.modelcontextprotocol.server.transport.ServerTransportSecurityValidator securityValidator)
Sets the security validator for validating HTTP requests.
Sets the endpoint path where clients will establish SSE connections.