Uses of Class
dev.langchain4j.mcp.client.transport.http.StreamableHttpMcpTransport.Builder
Packages that use StreamableHttpMcpTransport.Builder
-
Uses of StreamableHttpMcpTransport.Builder in dev.langchain4j.mcp.client.transport.http
Methods in dev.langchain4j.mcp.client.transport.http that return StreamableHttpMcpTransport.BuilderModifier and TypeMethodDescriptionStreamableHttpMcpTransport.builder()StreamableHttpMcpTransport.Builder.customHeaders(McpHeadersSupplier customHeadersSupplier) A supplier for dynamic request headers of the MCP server.StreamableHttpMcpTransport.Builder.customHeaders(Supplier<Map<String, String>> customHeadersSupplier) A supplier for dynamic request headers of the MCP server.StreamableHttpMcpTransport.Builder.customHeaders(Map<String, String> customHeaders) The request headers of the MCP server.An optionalExecutorthat will be used for executing requests and handling responses.StreamableHttpMcpTransport.Builder.logger(org.slf4j.Logger logger) Sets a customLoggerto be used for traffic logging (both requests and responses).StreamableHttpMcpTransport.Builder.logRequests(boolean logRequests) Whether to log all requests that are sent over this transport.StreamableHttpMcpTransport.Builder.logResponses(boolean logResponses) Whether to log all responses received over this transport.StreamableHttpMcpTransport.Builder.setHttpVersion1_1()Forces the transport to use HTTP/1.1 instead of the default HTTP/2.StreamableHttpMcpTransport.Builder.sslContext(SSLContext sslContext) Supplies a customSSLContextused when establishing HTTPS connections to the MCP server, allowing private CAs or certificates.StreamableHttpMcpTransport.Builder.subsidiaryChannel(boolean subsidiaryChannelEnabled) Enables or disables the subsidiary SSE channel.The connection timeout (applied on the http client level).The URL of the MCP server.Constructors in dev.langchain4j.mcp.client.transport.http with parameters of type StreamableHttpMcpTransport.BuilderModifierConstructorDescription