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.serverName(String server) |
HttpServerConfiguration |
HttpServerConfiguration.setHttpIdleTimeout(long httpIdleTimeout) |
HttpServerConfiguration |
HttpServerConfiguration.setLowMemory(boolean lowMemory) |
HttpServerConfiguration |
HttpServerConfiguration.setReadBufferPool(org.smartboot.socket.buffer.BufferPagePool readBufferPool) |
HttpServerConfiguration |
HttpServerConfiguration.setWriteBufferPool(org.smartboot.socket.buffer.BufferPagePool writeBufferPool) |
HttpServerConfiguration |
HttpServerConfiguration.setWsIdleTimeout(long wsIdleTimeout) |
HttpServerConfiguration |
HttpServerConfiguration.threadNum(int threadNum) |
HttpServerConfiguration |
HttpServerConfiguration.writeBufferSize(int writeBufferSize) |