public static final class AddUndertowListener.AjpBuilder extends Object
Builder for adding an AJP listener.
Some details about the attributes can be found at http://wildscribe.github.io/Wildfly/9.0.0.Beta1/subsystem/undertow/server/ajp-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 |
|---|
AjpBuilder(String listenerName)
Assumes socket binding called
ajp. |
AjpBuilder(String listenerName,
String socketBinding) |
AjpBuilder(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.
|
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.
|
AddUndertowListener.AjpBuilder |
redirectSocket(String redirectSocket)
Defines socket binding port which shall be used if this listener is supporting non-SSL requests,
and a request is received for which a matching requires SSL transport, undertow will automatically redirect
the request to the socket binding defined by this option.
|
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.AjpBuilder |
scheme(String scheme)
Defines the listener scheme, can be HTTP or HTTPS.
|
THIS |
sendBuffer(int sendBuffer)
Defines send buffer size.
|
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.
|
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 AjpBuilder(String listenerName)
ajp.public AddUndertowListener.AjpBuilder redirectSocket(String redirectSocket)
public AddUndertowListener.AjpBuilder scheme(String scheme)
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.