public static final class AddUndertowListener.HttpsBuilder extends Object
Builder for adding an HTTPS listener
Some details about the attributes can be found at http://wildscribe.github.io/Wildfly/9.0.0.Beta1/subsystem/undertow/server/https-listener/index.html
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
allowEncodedSlash |
protected Boolean |
allowEqualsInCookiesValues |
protected Boolean |
alwaysSetKeepAlive |
protected Boolean |
bufferPipelinedData |
protected String |
bufferPool |
protected Boolean |
decodeUrl |
protected Boolean |
enabled |
protected String |
listenerName |
protected Integer |
maxBufferedRequestSize |
protected Integer |
maxCookies |
protected Integer |
maxHeaders |
protected Integer |
maxHeaderSize |
protected Integer |
maxParameters |
protected Long |
maxPostSize |
protected Integer |
noRequestTimeout |
protected Integer |
readTimeout |
protected Integer |
receiveBuffer |
protected Boolean |
recordRequestStartTime |
protected Integer |
requestParseTimeout |
protected Boolean |
resolvePeerAddress |
protected Integer |
sendBuffer |
protected String |
serverName |
protected String |
socketBinding |
protected Integer |
tcpBacklog |
protected Boolean |
tcpKeepAlive |
protected String |
urlCharset |
protected String |
worker |
protected Integer |
writeTimeout |
| Constructor and Description |
|---|
HttpsBuilder(String listenerName)
Assumes socket binding called
https. |
HttpsBuilder(String listenerName,
String socketBinding) |
HttpsBuilder(String listenerName,
String serverName,
String socketBinding) |
| Modifier and Type | Method and Description |
|---|---|
THIS |
allowEncodedSlash(boolean allowEncodedSlash)
Sets whether request which comes in with encoded / characters (i.e.
|
THIS |
allowEqualsInCookiesValues(boolean allowEqualsInCookiesValues)
Defines whether Undertow will allow non-escaped equals characters in unquoted cookie values.
|
THIS |
alwaysSetKeepAlive(boolean alwaysSetKeepAlive)
Defines whether a Connection: keep-alive header will be added to responses, even when it is not strictly
required by the specification.
|
THIS |
bufferPipelinedData(boolean bufferPipelinedData)
Defines whether there should be buffered pipelined requests
|
THIS |
bufferPool(String bufferPool)
Defines the AJP listeners buffer pool
|
AddUndertowListener |
build() |
THIS |
decodeUrl(boolean decodeUrl)
If this is true then the parser will decode the URL and query parameters using the selected character
encoding (UTF-8 by default).
|
THIS |
enabled(boolean enabled)
Defines whether the connector should be started on startup.
|
AddUndertowListener.HttpsBuilder |
enabledCipherSuites(String enabledCipherSuites)
Defines Enabled SSL ciphers.
|
AddUndertowListener.HttpsBuilder |
enabledProtocols(String enabledProtocols)
Defines SSL protocols.
|
AddUndertowListener.HttpsBuilder |
enableHttp2(boolean enableHttp2)
Enables HTTP2 support for this listener.
|
AddUndertowListener.HttpsBuilder |
enableSpdy(boolean enableSpdy)
Enables SPDY support for this listener.
|
THIS |
maxBufferedRequestSize(int maxBufferedRequestSize)
Defines maximum size of a buffered request, in bytesRequests are not usually buffered,
the most common case is when performing SSL renegotiation for a POST request,
and the post data must be fully buffered in order to perform the renegotiation.
|
THIS |
maxCookies(int maxCookies)
Defines maximum number of cookies that will be parsed.
|
THIS |
maxHeaders(int maxHeaders)
Defines maximum number of headers that will be parsed.
|
THIS |
maxHeaderSize(int maxHeaderSize)
Defines maximum size in bytes of a http request header.
|
THIS |
maxParameters(int maxParameters)
Defines The maximum number of parameters that will be parsed.
|
THIS |
maxPostSize(long maxPostSize)
Defines maximum size of a post that will be accepted
|
THIS |
noRequestTimeout(int noRequestTimeout)
Defines the length of time in milliseconds that the connection can be idle before it is closed by the
container.
|
THIS |
readTimeout(int readTimeout)
Defines a read timeout for a socket, in milliseconds.
|
THIS |
receiveBuffer(int receiveBuffer)
The receive buffer size.
|
THIS |
recordRequestStartTime(boolean recordRequestStartTime)
Defines whether Undertow will record the request start time, to allow for request time to be logged.
|
THIS |
requestParseTimeout(int requestParseTimeout)
Defines maximum amount of time (in milliseconds) that can be spent parsing the request.
|
THIS |
resolvePeerAddress(boolean resolvePeerAddress)
Defines whether host dns lookup is enabled.
|
AddUndertowListener.HttpsBuilder |
securityRealm(String securityRealm)
Deprecated.
Use
sslContext(String sslContext) instead |
THIS |
sendBuffer(int sendBuffer)
Defines send buffer size.
|
AddUndertowListener.HttpsBuilder |
sslContext(String sslContext)
Defines which
org.wildfly.security.ssl-context should be used by this HTTPS listener. |
THIS |
tcpBacklog(int tcpBacklog)
Configures a server with the specified backlog.
|
THIS |
tcpKeepAlive(boolean tcpKeepAlive)
Defines whether channel should send TCP keep-alive messages in an implementation-dependent manner.
|
THIS |
urlCharset(String urlCharset)
Defines URL charset.
|
AddUndertowListener.HttpsBuilder |
verifyClient(SslVerifyClient sslVerifyClient)
Defines desired SSL client authentication mode for SSL channels
|
THIS |
worker(String worker)
Defines the listener XNIO worker
|
THIS |
writeTimeout(int writeTimeout)
Configure a write timeout for a socket, in milliseconds.
|
protected final String listenerName
protected final String serverName
protected Boolean allowEncodedSlash
protected Boolean allowEqualsInCookiesValues
protected Boolean alwaysSetKeepAlive
protected Boolean bufferPipelinedData
protected String bufferPool
protected Boolean decodeUrl
protected Boolean enabled
protected Integer maxBufferedRequestSize
protected Integer maxCookies
protected Integer maxHeaderSize
protected Integer maxHeaders
protected Integer maxParameters
protected Long maxPostSize
protected Integer noRequestTimeout
protected Integer readTimeout
protected Integer receiveBuffer
protected Boolean recordRequestStartTime
protected Integer requestParseTimeout
protected Boolean resolvePeerAddress
protected Integer sendBuffer
protected String socketBinding
protected Integer tcpBacklog
protected Boolean tcpKeepAlive
protected String urlCharset
protected String worker
protected Integer writeTimeout
public HttpsBuilder(String listenerName)
https.public AddUndertowListener.HttpsBuilder enableHttp2(boolean enableHttp2)
public AddUndertowListener.HttpsBuilder enableSpdy(boolean enableSpdy)
public AddUndertowListener.HttpsBuilder enabledCipherSuites(String enabledCipherSuites)
public AddUndertowListener.HttpsBuilder enabledProtocols(String enabledProtocols)
public AddUndertowListener.HttpsBuilder securityRealm(String securityRealm)
sslContext(String sslContext) insteadDefines which security realm should be used by the listener.
Note, there is also created AddHttpsSecurityRealm allowing to easily create security realm with
specified name
public AddUndertowListener.HttpsBuilder sslContext(String sslContext)
org.wildfly.security.ssl-context should be used by this HTTPS listener. Note you can
use CreateServerSSLContext to create this capability.sslContext - ssl context namepublic AddUndertowListener.HttpsBuilder verifyClient(SslVerifyClient sslVerifyClient)
public AddUndertowListener build()
public final THIS allowEncodedSlash(boolean allowEncodedSlash)
public THIS allowEqualsInCookiesValues(boolean allowEqualsInCookiesValues)
public THIS alwaysSetKeepAlive(boolean alwaysSetKeepAlive)
public THIS bufferPipelinedData(boolean bufferPipelinedData)
public THIS bufferPool(String bufferPool)
public THIS decodeUrl(boolean decodeUrl)
public THIS enabled(boolean enabled)
public THIS maxBufferedRequestSize(int maxBufferedRequestSize)
public THIS maxCookies(int maxCookies)
public THIS maxHeaderSize(int maxHeaderSize)
public THIS maxHeaders(int maxHeaders)
public THIS maxParameters(int maxParameters)
public THIS maxPostSize(long maxPostSize)
public THIS noRequestTimeout(int noRequestTimeout)
public THIS readTimeout(int readTimeout)
public THIS receiveBuffer(int receiveBuffer)
public THIS recordRequestStartTime(boolean recordRequestStartTime)
public THIS requestParseTimeout(int requestParseTimeout)
public THIS resolvePeerAddress(boolean resolvePeerAddress)
public THIS sendBuffer(int sendBuffer)
public THIS tcpBacklog(int tcpBacklog)
public THIS tcpKeepAlive(boolean tcpKeepAlive)
public THIS urlCharset(String urlCharset)
public THIS worker(String worker)
public THIS writeTimeout(int writeTimeout)
Copyright © 2021. All rights reserved.