HttpServerConfiguration |
HttpServerConfiguration.addPlugin(List<org.smartboot.socket.extension.plugins.Plugin<Request>> plugins) |
HttpServerConfiguration |
HttpServerConfiguration.addPlugin(org.smartboot.socket.extension.plugins.Plugin<Request> plugin) |
HttpServerConfiguration |
HttpServerConfiguration.bannerEnabled(boolean bannerEnabled) |
HttpServerConfiguration |
HttpBootstrap.configuration()
服务配置
|
HttpServerConfiguration |
HttpServerConfiguration.debug(boolean debug)
启用 debug 模式后会打印码流
|
HttpServerConfiguration |
HttpServerConfiguration.group(AsynchronousChannelGroup group) |
HttpServerConfiguration |
HttpServerConfiguration.headerLimiter(int headerLimiter)
支持解析的Header上限,若客户端提交Header数超过该值,超过部分将被忽略
|
HttpServerConfiguration |
HttpServerConfiguration.host(String host) |
HttpServerConfiguration |
HttpServerConfiguration.readBufferSize(int readBufferSize)
设置read缓冲区大小,读缓冲区的大小至少得能容纳 url 或者一个Header value的长度,否则将触发异常
|
HttpServerConfiguration |
HttpServerConfiguration.readMemoryPool(int totalBytes) |
HttpServerConfiguration |
HttpServerConfiguration.serverName(String server) |
HttpServerConfiguration |
HttpServerConfiguration.setHttpIdleTimeout(int httpIdleTimeout) |
HttpServerConfiguration |
HttpServerConfiguration.setWsIdleTimeout(int wsIdleTimeout) |
HttpServerConfiguration |
HttpServerConfiguration.threadNum(int threadNum) |
HttpServerConfiguration |
HttpServerConfiguration.writeBufferSize(int writeBufferSize) |
HttpServerConfiguration |
HttpServerConfiguration.writeMemoryPool(int totalBytes,
int shards) |