Uses of Class
dev.tachyonmcp.core.server.config.NetworkConfig.Builder
Packages that use NetworkConfig.Builder
Package
Description
Server classes
Server, capability, network, session, and task configuration types.
-
Uses of NetworkConfig.Builder in dev.tachyonmcp.core.server
Method parameters in dev.tachyonmcp.core.server with type arguments of type NetworkConfig.BuilderModifier and TypeMethodDescriptionServerBuilder.network(Consumer<NetworkConfig.Builder> configurer) Configures the network transport. -
Uses of NetworkConfig.Builder in dev.tachyonmcp.core.server.config
Methods in dev.tachyonmcp.core.server.config that return NetworkConfig.BuilderModifier and TypeMethodDescriptionNetworkConfig.Builder.address(SocketAddress addr) Sets the bind address and port from aSocketAddress.NetworkConfig.Builder.allowedHeaders(String... headers) Sets additional allowed CORS headers.NetworkConfig.Builder.allowedOrigins(String... origins) Sets the CORS allowed origins.NetworkConfig.Builder.allowNullOrigin(boolean allow) Sets whether to allowOrigin: null.NetworkConfig.Builder.allowPrivateNetworks(boolean allow) Sets whether to allow private network CORS.static NetworkConfig.BuilderNetworkConfig.builder()NetworkConfig.Builder.endpointPath(String endpointPath) Sets the HTTP path for MCP endpoints.NetworkConfig.Builder.heartbeatInterval(Duration heartbeatInterval) Sets the SSE heartbeat interval for silent listening streams.Sets the bind address.NetworkConfig.Builder.ioEngine(NettyIoEngine ioEngine) Sets the Netty I/O engine; defaults toNettyIoEngine.AUTO.NetworkConfig.Builder.maxContentLength(int bytes) Sets the maximum HTTP body size in bytes (must be positive).NetworkConfig.Builder.port(int port) Sets the listen port.NetworkConfig.Builder.readerIdleTimeout(Duration timeout) Sets the reader idle timeout.NetworkConfig.Builder.writerIdleTimeout(Duration timeout) Sets the writer idle timeout.