Class ChenileMCPConfiguration.StreamableTransportConfiguration
java.lang.Object
org.chenile.configuration.mcp.ChenileMCPConfiguration.StreamableTransportConfiguration
- Enclosing class:
ChenileMCPConfiguration
@Configuration
@ConditionalOnClass(name="io.modelcontextprotocol.server.transport.WebMvcStreamableServerTransportProvider")
@ConditionalOnProperty(prefix="spring.ai.mcp.server",
name="protocol",
havingValue="STREAMABLE")
static class ChenileMCPConfiguration.StreamableTransportConfiguration
extends Object
Installs the Streamable HTTP WebMVC transport with
ChenileMcpHeaderExtractor, so that the caller's
tenant, trajectory and authorization headers reach the Chenile exchange. It is built exactly as Spring AI's
own auto-configuration builds it, which backs off because this bean exists.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.modelcontextprotocol.server.transport.WebMvcStreamableServerTransportProviderwebMvcStreamableServerTransportProvider(ObjectMapper objectMapper, org.springframework.ai.mcp.server.common.autoconfigure.properties.McpServerStreamableHttpProperties serverProperties, ChenileMcpHeaderExtractor chenileMcpHeaderExtractor)
-
Constructor Details
-
StreamableTransportConfiguration
StreamableTransportConfiguration()
-
-
Method Details
-
webMvcStreamableServerTransportProvider
@Bean public io.modelcontextprotocol.server.transport.WebMvcStreamableServerTransportProvider webMvcStreamableServerTransportProvider(@Qualifier("mcpServerObjectMapper") ObjectMapper objectMapper, org.springframework.ai.mcp.server.common.autoconfigure.properties.McpServerStreamableHttpProperties serverProperties, ChenileMcpHeaderExtractor chenileMcpHeaderExtractor)
-
CHENILE