Class HttpServerOptions
java.lang.Object
cool.scx.http.x.HttpServerOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddUpgradeHandler(Http1UpgradeHandler... upgradeHandlerList) booleanautoRespond100Continue(boolean autoRespond100Continue) intbacklog()backlog(int backlog) booleanenableHttp2(boolean enableHttp2) intmaxHeaderSize(int maxHeaderSize) longmaxPayloadSize(long maxPayloadSize) intmaxRequestLineSize(int maxRequestLineSize) cool.scx.tcp.tls.TLStls()tls(cool.scx.tcp.tls.TLS tls) upgradeHandlerList(List<Http1UpgradeHandler> upgradeHandlerList) booleanvalidateHost(boolean validateHost)
-
Constructor Details
-
HttpServerOptions
public HttpServerOptions() -
HttpServerOptions
-
-
Method Details
-
http1ConnectionOptions
-
maxRequestLineSize
public int maxRequestLineSize() -
maxRequestLineSize
-
maxHeaderSize
public int maxHeaderSize() -
maxHeaderSize
-
maxPayloadSize
public long maxPayloadSize() -
maxPayloadSize
-
autoRespond100Continue
public boolean autoRespond100Continue() -
autoRespond100Continue
-
validateHost
public boolean validateHost() -
validateHost
-
upgradeHandlerList
-
upgradeHandlerList
-
addUpgradeHandler
-
enableHttp2
public boolean enableHttp2() -
enableHttp2
-
backlog
public int backlog() -
backlog
-
tls
public cool.scx.tcp.tls.TLS tls() -
tls
-