@ConfigurationProperties(prefix="vertx.http.server") public class HttpServerProperties extends Object
If sslEngineOptions, crlPath or crlValues are required, please use HttpServerOptionsCustomizer.
If keyCertOptions or trustOptions either use HttpServerOptionsCustomizer or ServerProperties.
| Constructor and Description |
|---|
HttpServerProperties() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAcceptBacklog() |
List<io.vertx.core.http.HttpVersion> |
getAlpnVersions() |
io.vertx.core.http.ClientAuth |
getClientAuth() |
int |
getCompressionLevel() |
int |
getDecoderInitialBufferSize() |
Set<String> |
getEnabledCipherSuites() |
Set<String> |
getEnabledSecureTransportProtocols() |
long |
getHeaderTableSize() |
String |
getHost() |
int |
getHttp2ConnectionWindowSize() |
Map<Integer,Long> |
getHttp2ExtraSettings() |
io.vertx.core.http.HttpServerOptions |
getHttpServerOptions() |
int |
getIdleTimeout() |
TimeUnit |
getIdleTimeoutUnit() |
int |
getInitialWindowSize() |
boolean |
getLogActivity() |
int |
getMaxChunkSize() |
long |
getMaxConcurrentStreams() |
int |
getMaxFrameSize() |
long |
getMaxHeaderListSize() |
int |
getMaxHeaderSize() |
int |
getMaxInitialLineLength() |
int |
getMaxWebsocketFrameSize() |
int |
getMaxWebsocketMessageSize() |
int |
getPort() |
int |
getReceiveBufferSize() |
int |
getSendBufferSize() |
int |
getSoLinger() |
int |
getTrafficClass() |
int |
getWebsocketCompressionLevel() |
String |
getWebsocketSubProtocols() |
boolean |
isAcceptUnmaskedFrames() |
boolean |
isCompressionSupported() |
boolean |
isDecompressionSupported() |
boolean |
isHandle100ContinueAutomatically() |
boolean |
isPerFrameWebsocketCompressionSupported() |
boolean |
isPerMessageWebsocketCompressionSupported() |
boolean |
isPushEnabled() |
boolean |
isReuseAddress() |
boolean |
isReusePort() |
boolean |
isSni() |
boolean |
isSsl() |
boolean |
isTcpCork() |
boolean |
isTcpFastOpen() |
boolean |
isTcpKeepAlive() |
boolean |
isTcpNoDelay() |
boolean |
isTcpQuickAck() |
boolean |
isUseAlpn() |
boolean |
isWebsocketAllowServerNoContext() |
boolean |
isWebsocketPreferredClientNoContext() |
void |
setAcceptBacklog(int acceptBacklog) |
void |
setAcceptUnmaskedFrames(boolean acceptUnmaskedFrames) |
void |
setAlpnVersions(List<io.vertx.core.http.HttpVersion> alpnVersions) |
void |
setClientAuth(io.vertx.core.http.ClientAuth clientAuth) |
void |
setCompressionLevel(int compressionLevel) |
void |
setCompressionSupported(boolean compressionSupported) |
void |
setDecoderInitialBufferSize(int decoderInitialBufferSize) |
void |
setDecompressionSupported(boolean decompressionSupported) |
void |
setEnabledCipherSuites(Set<String> enabledCipherSuites) |
void |
setEnabledSecureTransportProtocols(Set<String> enabledSecureTransportProtocols) |
void |
setHandle100ContinueAutomatically(boolean handle100ContinueAutomatically) |
void |
setHeaderTableSize(long headerTableSize) |
void |
setHost(String host) |
void |
setHttp2ConnectionWindowSize(int http2ConnectionWindowSize) |
void |
setHttp2ExtraSettings(Map<Integer,Long> http2ExtraSettings) |
void |
setIdleTimeout(int idleTimeout) |
void |
setIdleTimeoutUnit(TimeUnit idleTimeoutUnit) |
void |
setInitialWindowSize(int initialWindowSize) |
void |
setLogActivity(boolean logActivity) |
void |
setMaxChunkSize(int maxChunkSize) |
void |
setMaxConcurrentStreams(long maxConcurrentStreams) |
void |
setMaxFrameSize(int maxFrameSize) |
void |
setMaxHeaderListSize(long maxHeaderListSize) |
void |
setMaxHeaderSize(int maxHeaderSize) |
void |
setMaxInitialLineLength(int maxInitialLineLength) |
void |
setMaxWebsocketFrameSize(int maxWebsocketFrameSize) |
void |
setMaxWebsocketMessageSize(int maxWebsocketMessageSize) |
void |
setPerFrameWebsocketCompressionSupported(boolean perFrameWebsocketCompressionSupported) |
void |
setPerMessageWebsocketCompressionSupported(boolean perMessageWebsocketCompressionSupported) |
void |
setPort(int port) |
void |
setPushEnabled(boolean pushEnabled) |
void |
setReceiveBufferSize(int receiveBufferSize) |
void |
setReuseAddress(boolean reuseAddress) |
void |
setReusePort(boolean reusePort) |
void |
setSendBufferSize(int sendBufferSize) |
void |
setSni(boolean sni) |
void |
setSoLinger(int soLinger) |
void |
setSsl(boolean ssl) |
void |
setTcpCork(boolean tcpCork) |
void |
setTcpFastOpen(boolean tcpFastOpen) |
void |
setTcpKeepAlive(boolean tcpKeepAlive) |
void |
setTcpNoDelay(boolean tcpNoDelay) |
void |
setTcpQuickAck(boolean tcpQuickAck) |
void |
setTrafficClass(int trafficClass) |
void |
setUseAlpn(boolean useAlpn) |
void |
setWebsocketAllowServerNoContext(boolean allowServerNoContext) |
void |
setWebsocketCompressionLevel(int websocketCompressionLevel) |
void |
setWebsocketPreferredClientNoContext(boolean preferredClientNoContext) |
void |
setWebsocketSubProtocols(String subProtocols) |
public io.vertx.core.http.HttpServerOptions getHttpServerOptions()
public int getPort()
public void setPort(int port)
public String getHost()
public void setHost(String host)
public int getAcceptBacklog()
public void setAcceptBacklog(int acceptBacklog)
public io.vertx.core.http.ClientAuth getClientAuth()
public void setClientAuth(io.vertx.core.http.ClientAuth clientAuth)
public boolean isSni()
public void setSni(boolean sni)
public boolean isCompressionSupported()
public void setCompressionSupported(boolean compressionSupported)
public int getCompressionLevel()
public void setCompressionLevel(int compressionLevel)
public boolean isAcceptUnmaskedFrames()
public void setAcceptUnmaskedFrames(boolean acceptUnmaskedFrames)
public int getMaxWebsocketFrameSize()
public void setMaxWebsocketFrameSize(int maxWebsocketFrameSize)
public int getMaxWebsocketMessageSize()
public void setMaxWebsocketMessageSize(int maxWebsocketMessageSize)
public String getWebsocketSubProtocols()
public void setWebsocketSubProtocols(String subProtocols)
public boolean isHandle100ContinueAutomatically()
public void setHandle100ContinueAutomatically(boolean handle100ContinueAutomatically)
public int getMaxChunkSize()
public void setMaxChunkSize(int maxChunkSize)
public int getMaxInitialLineLength()
public void setMaxInitialLineLength(int maxInitialLineLength)
public int getMaxHeaderSize()
public void setMaxHeaderSize(int maxHeaderSize)
public List<io.vertx.core.http.HttpVersion> getAlpnVersions()
public void setAlpnVersions(List<io.vertx.core.http.HttpVersion> alpnVersions)
public int getHttp2ConnectionWindowSize()
public void setHttp2ConnectionWindowSize(int http2ConnectionWindowSize)
public boolean isDecompressionSupported()
public void setDecompressionSupported(boolean decompressionSupported)
public int getDecoderInitialBufferSize()
public void setDecoderInitialBufferSize(int decoderInitialBufferSize)
public boolean isPerFrameWebsocketCompressionSupported()
public void setPerFrameWebsocketCompressionSupported(boolean perFrameWebsocketCompressionSupported)
public boolean isPerMessageWebsocketCompressionSupported()
public void setPerMessageWebsocketCompressionSupported(boolean perMessageWebsocketCompressionSupported)
public int getWebsocketCompressionLevel()
public void setWebsocketCompressionLevel(int websocketCompressionLevel)
public boolean isWebsocketAllowServerNoContext()
public void setWebsocketAllowServerNoContext(boolean allowServerNoContext)
public boolean isWebsocketPreferredClientNoContext()
public void setWebsocketPreferredClientNoContext(boolean preferredClientNoContext)
public long getHeaderTableSize()
public void setHeaderTableSize(long headerTableSize)
public boolean isPushEnabled()
public void setPushEnabled(boolean pushEnabled)
public long getMaxConcurrentStreams()
public void setMaxConcurrentStreams(long maxConcurrentStreams)
public int getInitialWindowSize()
public void setInitialWindowSize(int initialWindowSize)
public int getMaxFrameSize()
public void setMaxFrameSize(int maxFrameSize)
public long getMaxHeaderListSize()
public void setMaxHeaderListSize(long maxHeaderListSize)
public boolean isTcpNoDelay()
public void setTcpNoDelay(boolean tcpNoDelay)
public boolean isTcpKeepAlive()
public void setTcpKeepAlive(boolean tcpKeepAlive)
public int getSoLinger()
public void setSoLinger(int soLinger)
public int getIdleTimeout()
public void setIdleTimeout(int idleTimeout)
public TimeUnit getIdleTimeoutUnit()
public void setIdleTimeoutUnit(TimeUnit idleTimeoutUnit)
public boolean isSsl()
public void setSsl(boolean ssl)
public boolean isUseAlpn()
public void setUseAlpn(boolean useAlpn)
public void setEnabledSecureTransportProtocols(Set<String> enabledSecureTransportProtocols)
public boolean isTcpFastOpen()
public void setTcpFastOpen(boolean tcpFastOpen)
public boolean isTcpCork()
public void setTcpCork(boolean tcpCork)
public boolean isTcpQuickAck()
public void setTcpQuickAck(boolean tcpQuickAck)
public int getSendBufferSize()
public void setSendBufferSize(int sendBufferSize)
public int getReceiveBufferSize()
public void setReceiveBufferSize(int receiveBufferSize)
public int getTrafficClass()
public void setTrafficClass(int trafficClass)
public boolean isReuseAddress()
public void setReuseAddress(boolean reuseAddress)
public boolean getLogActivity()
public void setLogActivity(boolean logActivity)
public boolean isReusePort()
public void setReusePort(boolean reusePort)
Copyright © 2019. All rights reserved.