public class HttpServerOptions extends NetServerOptions
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_COMPRESSION_SUPPORTED |
static int |
DEFAULT_MAX_WEBSOCKET_FRAME_SIZE |
static int |
DEFAULT_PORT |
DEFAULT_ACCEPT_BACKLOG, DEFAULT_CLIENT_AUTH_REQUIRED, DEFAULT_HOST
DEFAULT_IDLE_TIMEOUT, DEFAULT_SO_LINGER, DEFAULT_SSL, DEFAULT_TCP_KEEP_ALIVE, DEFAULT_TCP_NO_DELAY, DEFAULT_USE_POOLED_BUFFERS
DEFAULT_RECEIVE_BUFFER_SIZE, DEFAULT_REUSE_ADDRESS, DEFAULT_SEND_BUFFER_SIZE, DEFAULT_TRAFFIC_CLASS
Constructor and Description |
---|
HttpServerOptions() |
HttpServerOptions(HttpServerOptions other) |
HttpServerOptions(JsonObject json) |
getAcceptBacklog, getHost, getPort, isClientAuthRequired
addCrlPath, addCrlValue, getCrlPaths, getCrlValues, getEnabledCipherSuites, getIdleTimeout, getKeyStoreOptions, getSoLinger, getTrustStoreOptions, isSsl, isTcpKeepAlive, isTcpNoDelay, isUsePooledBuffers
getReceiveBufferSize, getSendBufferSize, getTrafficClass, isReuseAddress
public static final int DEFAULT_PORT
public static final boolean DEFAULT_COMPRESSION_SUPPORTED
public static final int DEFAULT_MAX_WEBSOCKET_FRAME_SIZE
public HttpServerOptions(HttpServerOptions other)
public HttpServerOptions(JsonObject json)
public HttpServerOptions()
public HttpServerOptions setSendBufferSize(int sendBufferSize)
setSendBufferSize
in class NetServerOptions
public HttpServerOptions setReceiveBufferSize(int receiveBufferSize)
setReceiveBufferSize
in class NetServerOptions
public HttpServerOptions setReuseAddress(boolean reuseAddress)
setReuseAddress
in class NetServerOptions
public HttpServerOptions setTrafficClass(int trafficClass)
setTrafficClass
in class NetServerOptions
public HttpServerOptions setTcpNoDelay(boolean tcpNoDelay)
setTcpNoDelay
in class NetServerOptions
public HttpServerOptions setTcpKeepAlive(boolean tcpKeepAlive)
setTcpKeepAlive
in class NetServerOptions
public HttpServerOptions setSoLinger(int soLinger)
setSoLinger
in class NetServerOptions
public HttpServerOptions setUsePooledBuffers(boolean usePooledBuffers)
setUsePooledBuffers
in class NetServerOptions
public HttpServerOptions setIdleTimeout(int idleTimeout)
setIdleTimeout
in class NetServerOptions
public HttpServerOptions setSsl(boolean ssl)
setSsl
in class NetServerOptions
public HttpServerOptions setKeyStoreOptions(KeyStoreOptions keyStore)
setKeyStoreOptions
in class NetServerOptions
public HttpServerOptions setTrustStoreOptions(TrustStoreOptions trustStore)
setTrustStoreOptions
in class NetServerOptions
public HttpServerOptions addEnabledCipherSuite(String suite)
addEnabledCipherSuite
in class NetServerOptions
public HttpServerOptions setAcceptBacklog(int acceptBacklog)
setAcceptBacklog
in class NetServerOptions
public HttpServerOptions setPort(int port)
setPort
in class NetServerOptions
public HttpServerOptions setHost(String host)
setHost
in class NetServerOptions
public boolean isCompressionSupported()
public HttpServerOptions setCompressionSupported(boolean compressionSupported)
public int getMaxWebsocketFrameSize()
public HttpServerOptions setMaxWebsocketFrameSize(int maxWebsocketFrameSize)
public HttpServerOptions setWebsocketSubProtocol(String subProtocols)
public String getWebsocketSubProtocols()
public HttpServerOptions setClientAuthRequired(boolean clientAuthRequired)
setClientAuthRequired
in class NetServerOptions
public boolean equals(Object o)
equals
in class NetServerOptions
public int hashCode()
hashCode
in class NetServerOptions
Copyright © 2014. All Rights Reserved.