Uses of Class
com.soklet.McpServer.Builder
Packages that use McpServer.Builder
-
Uses of McpServer.Builder in com.soklet
Methods in com.soklet that return McpServer.BuilderModifier and TypeMethodDescriptionMcpServer.Builder.concurrentConnectionLimit(@Nullable Integer concurrentConnectionLimit) Sets the concurrent connection limit for the MCP server.McpServer.Builder.connectionQueueCapacity(@Nullable Integer connectionQueueCapacity) Sets the outbound queue capacity for live MCP streams.McpServer.Builder.corsAuthorizer(@Nullable McpCorsAuthorizer corsAuthorizer) Sets the MCP CORS authorizer.McpServer.Builder.handlerResolver(@Nullable McpHandlerResolver handlerResolver) Sets the handler resolver.McpServer.Builder.heartbeatInterval(@Nullable Duration heartbeatInterval) Sets the heartbeat interval for long-lived MCP event streams.Sets the host to bind, ornullto use the server default.McpServer.Builder.maximumHeaderCount(@Nullable Integer maximumHeaderCount) Sets the maximum number of HTTP header fields accepted in one MCP request.McpServer.Builder.maximumRequestSizeInBytes(@Nullable Integer maximumRequestSizeInBytes) Sets the maximum accepted MCP request size in bytes.McpServer.Builder.maximumRequestTargetLengthInBytes(@Nullable Integer maximumRequestTargetLengthInBytes) Sets the maximum MCP HTTP request-target length accepted in bytes.Sets the port to bind.McpServer.Builder.requestAdmissionPolicy(@Nullable McpRequestAdmissionPolicy requestAdmissionPolicy) Sets the request admission policy.McpServer.Builder.requestBodyTimeout(@Nullable Duration requestBodyTimeout) Sets the maximum duration for reading the MCP HTTP request body after the request line and headers have been received.McpServer.Builder.requestHandlerConcurrency(@Nullable Integer requestHandlerConcurrency) Sets the handler concurrency level.McpServer.Builder.requestHandlerExecutorServiceSupplier(@Nullable Supplier<ExecutorService> requestHandlerExecutorServiceSupplier) Sets the supplier used to create the handler executor service.McpServer.Builder.requestHandlerQueueCapacity(@Nullable Integer requestHandlerQueueCapacity) Sets the handler queue capacity.McpServer.Builder.requestHandlerTimeout(@Nullable Duration requestHandlerTimeout) Sets the timeout for MCP handler execution, including framework-managedMcpEndpoint.initialize(McpInitializationContext, McpSessionContext)calls.McpServer.Builder.requestHeaderTimeout(@Nullable Duration requestHeaderTimeout) Sets the maximum duration for reading the MCP HTTP request line and headers.McpServer.Builder.requestInterceptor(@Nullable McpRequestInterceptor requestInterceptor) Sets the request interceptor.McpServer.Builder.requestReadBufferSizeInBytes(@Nullable Integer requestReadBufferSizeInBytes) Sets the read buffer size used while reading MCP requests.McpServer.Builder.responseMarshaler(@Nullable McpResponseMarshaler responseMarshaler) Sets the response marshaler used for tool structured content.McpServer.Builder.sessionIdGenerator(@Nullable IdGenerator<String> sessionIdGenerator) Sets the generator used for MCP session IDs.McpServer.Builder.sessionStore(@Nullable McpSessionStore sessionStore) Sets the session store.McpServer.Builder.shutdownTimeout(@Nullable Duration shutdownTimeout) Sets the shutdown timeout.static @NonNull McpServer.BuilderAcquires a builder configured with the given port.McpServer.Builder.writeTimeout(@Nullable Duration writeTimeout) Sets the transport write timeout.