Constructor and Description |
---|
AJPListener(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Boolean |
allowEncodedSlash()
If a request comes in with encoded / characters (i.e.
|
T |
allowEncodedSlash(Boolean value)
If a request comes in with encoded / characters (i.e.
|
Boolean |
allowEqualsInCookieValue()
If this is true then Undertow will allow non-escaped equals characters in
unquoted cookie values.
|
T |
allowEqualsInCookieValue(Boolean value)
If this is true then Undertow will allow non-escaped equals characters in
unquoted cookie values.
|
Boolean |
alwaysSetKeepAlive()
If this is true then a Connection: keep-alive header will be added to
responses, even when it is not strictly required by the specification.
|
T |
alwaysSetKeepAlive(Boolean value)
If this is true then a Connection: keep-alive header will be added to
responses, even when it is not strictly required by the specification.
|
Boolean |
bufferPipelinedData()
If we should buffer pipelined requests.
|
T |
bufferPipelinedData(Boolean value)
If we should buffer pipelined requests.
|
String |
bufferPool()
The AJP listeners buffer pool
|
T |
bufferPool(String value)
The AJP listeners buffer pool
|
Long |
bytesReceived()
The number of bytes that have been received by this listener
|
T |
bytesReceived(Long value)
The number of bytes that have been received by this listener
|
Long |
bytesSent()
The number of bytes that have been sent out on this listener
|
T |
bytesSent(Long value)
The number of bytes that have been sent out on this listener
|
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).
|
T |
decodeUrl(Boolean value)
If this is true then the parser will decode the URL and query parameters
using the selected character encoding (UTF-8 by default).
|
T |
disallowedMethod(String value)
A comma separated list of HTTP methods that are not allowed
|
List<String> |
disallowedMethods()
A comma separated list of HTTP methods that are not allowed
|
T |
disallowedMethods(List<String> value)
A comma separated list of HTTP methods that are not allowed
|
T |
disallowedMethods(String... args)
A comma separated list of HTTP methods that are not allowed
|
Boolean |
enabled()
If the listener is enabled
|
T |
enabled(Boolean value)
If the listener is enabled
|
Long |
errorCount()
The number of 500 responses that have been sent by this listener
|
T |
errorCount(Long value)
The number of 500 responses that have been sent by this listener
|
String |
getKey() |
Integer |
maxBufferedRequestSize()
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 fullybuffered in order to perform
the renegotiation.
|
T |
maxBufferedRequestSize(Integer value)
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 fullybuffered in order to perform
the renegotiation.
|
Integer |
maxConnections()
The maximum number of concurrent connections.
|
T |
maxConnections(Integer value)
The maximum number of concurrent connections.
|
Integer |
maxCookies()
The maximum number of cookies that will be parsed.
|
T |
maxCookies(Integer value)
The maximum number of cookies that will be parsed.
|
Integer |
maxHeaders()
The maximum number of headers that will be parsed.
|
T |
maxHeaders(Integer value)
The maximum number of headers that will be parsed.
|
Integer |
maxHeaderSize()
The maximum size in bytes of a http request header.
|
T |
maxHeaderSize(Integer value)
The maximum size in bytes of a http request header.
|
Integer |
maxParameters()
The maximum number of parameters that will be parsed.
|
T |
maxParameters(Integer value)
The maximum number of parameters that will be parsed.
|
Long |
maxPostSize()
The maximum size of a post that will be accepted
|
T |
maxPostSize(Long value)
The maximum size of a post that will be accepted
|
Long |
maxProcessingTime()
The maximum processing time taken by a request on this listener
|
T |
maxProcessingTime(Long value)
The maximum processing time taken by a request on this listener
|
Integer |
noRequestTimeout()
The length of time in milliseconds that the connection can be idle before
it is closed by the container
|
T |
noRequestTimeout(Integer value)
The length of time in milliseconds that the connection can be idle before
it is closed by the container
|
Long |
processingTime()
The total processing time of all requests handed by this listener
|
T |
processingTime(Long value)
The total processing time of all requests handed by this listener
|
Integer |
readTimeout()
Configure a read timeout for a socket, in milliseconds.
|
T |
readTimeout(Integer value)
Configure a read timeout for a socket, in milliseconds.
|
Integer |
receiveBuffer()
The receive buffer size.
|
T |
receiveBuffer(Integer value)
The receive buffer size.
|
Boolean |
recordRequestStartTime()
If this is true then Undertow will record the request start time, to
allow for request time to be logged.
|
T |
recordRequestStartTime(Boolean value)
If this is true then Undertow will record the request start time, to
allow for request time to be logged.
|
String |
redirectSocket()
If this listener is supporting non-SSL requests, and a request is
received for which a matching
|
T |
redirectSocket(String value)
If this listener is supporting non-SSL requests, and a request is
received for which a matching
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Long |
requestCount()
The number of requests this listener has served
|
T |
requestCount(Long value)
The number of requests this listener has served
|
Integer |
requestParseTimeout()
The maximum amount of time (in milliseconds) that can be spent parsing
the request
|
T |
requestParseTimeout(Integer value)
The maximum amount of time (in milliseconds) that can be spent parsing
the request
|
Boolean |
resolvePeerAddress()
Enables host dns lookup
|
T |
resolvePeerAddress(Boolean value)
Enables host dns lookup
|
String |
scheme()
The listener scheme, can be HTTP or HTTPS.
|
T |
scheme(String value)
The listener scheme, can be HTTP or HTTPS.
|
Boolean |
secure()
If this is true then requests that originate from this listener are
marked as secure, even if the request is not using HTTPS.
|
T |
secure(Boolean value)
If this is true then requests that originate from this listener are
marked as secure, even if the request is not using HTTPS.
|
Integer |
sendBuffer()
The send buffer size.
|
T |
sendBuffer(Integer value)
The send buffer size.
|
String |
socketBinding()
The AJP listener socket binder
|
T |
socketBinding(String value)
The AJP listener socket binder
|
Integer |
tcpBacklog()
Configure a server with the specified backlog.
|
T |
tcpBacklog(Integer value)
Configure a server with the specified backlog.
|
Boolean |
tcpKeepAlive()
Configure a channel to send TCP keep-alive messages in an
implementation-dependent manner.
|
T |
tcpKeepAlive(Boolean value)
Configure a channel to send TCP keep-alive messages in an
implementation-dependent manner.
|
String |
urlCharset()
URL charset
|
T |
urlCharset(String value)
URL charset
|
String |
worker()
The AJP listeners XNIO worker
|
T |
worker(String value)
The AJP listeners XNIO worker
|
Integer |
writeTimeout()
Configure a write timeout for a socket, in milliseconds.
|
T |
writeTimeout(Integer value)
Configure a write timeout for a socket, in milliseconds.
|
public AJPListener(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
@ModelNodeBinding(detypedName="allow-encoded-slash") public Boolean allowEncodedSlash()
public T allowEncodedSlash(Boolean value)
@ModelNodeBinding(detypedName="allow-equals-in-cookie-value") public Boolean allowEqualsInCookieValue()
public T allowEqualsInCookieValue(Boolean value)
@ModelNodeBinding(detypedName="always-set-keep-alive") public Boolean alwaysSetKeepAlive()
public T alwaysSetKeepAlive(Boolean value)
@ModelNodeBinding(detypedName="buffer-pipelined-data") public Boolean bufferPipelinedData()
public T bufferPipelinedData(Boolean value)
@ModelNodeBinding(detypedName="buffer-pool") public String bufferPool()
@ModelNodeBinding(detypedName="bytes-received") public Long bytesReceived()
public T bytesReceived(Long value)
@ModelNodeBinding(detypedName="bytes-sent") public Long bytesSent()
public T bytesSent(Long value)
@ModelNodeBinding(detypedName="decode-url") public Boolean decodeUrl()
public T decodeUrl(Boolean value)
@ModelNodeBinding(detypedName="disallowed-methods") public List<String> disallowedMethods()
public T disallowedMethods(List<String> value)
public T disallowedMethod(String value)
public T disallowedMethods(String... args)
@ModelNodeBinding(detypedName="enabled") public Boolean enabled()
@ModelNodeBinding(detypedName="error-count") public Long errorCount()
public T errorCount(Long value)
@ModelNodeBinding(detypedName="max-buffered-request-size") public Integer maxBufferedRequestSize()
public T maxBufferedRequestSize(Integer value)
@ModelNodeBinding(detypedName="max-connections") public Integer maxConnections()
@ModelNodeBinding(detypedName="max-cookies") public Integer maxCookies()
public T maxCookies(Integer value)
@ModelNodeBinding(detypedName="max-header-size") public Integer maxHeaderSize()
public T maxHeaderSize(Integer value)
@ModelNodeBinding(detypedName="max-headers") public Integer maxHeaders()
public T maxHeaders(Integer value)
@ModelNodeBinding(detypedName="max-parameters") public Integer maxParameters()
public T maxParameters(Integer value)
@ModelNodeBinding(detypedName="max-post-size") public Long maxPostSize()
@ModelNodeBinding(detypedName="max-processing-time") public Long maxProcessingTime()
public T maxProcessingTime(Long value)
@ModelNodeBinding(detypedName="no-request-timeout") public Integer noRequestTimeout()
public T noRequestTimeout(Integer value)
@ModelNodeBinding(detypedName="processing-time") public Long processingTime()
public T processingTime(Long value)
@ModelNodeBinding(detypedName="read-timeout") public Integer readTimeout()
ReadTimeoutException
.public T readTimeout(Integer value)
ReadTimeoutException
.@ModelNodeBinding(detypedName="receive-buffer") public Integer receiveBuffer()
@ModelNodeBinding(detypedName="record-request-start-time") public Boolean recordRequestStartTime()
public T recordRequestStartTime(Boolean value)
@ModelNodeBinding(detypedName="redirect-socket") public String redirectSocket()
public T redirectSocket(String value)
@ModelNodeBinding(detypedName="request-count") public Long requestCount()
@ModelNodeBinding(detypedName="request-parse-timeout") public Integer requestParseTimeout()
public T requestParseTimeout(Integer value)
@ModelNodeBinding(detypedName="resolve-peer-address") public Boolean resolvePeerAddress()
@ModelNodeBinding(detypedName="scheme") public String scheme()
public T scheme(String value)
@ModelNodeBinding(detypedName="secure") public Boolean secure()
public T secure(Boolean value)
@ModelNodeBinding(detypedName="send-buffer") public Integer sendBuffer()
@ModelNodeBinding(detypedName="socket-binding") public String socketBinding()
@ModelNodeBinding(detypedName="tcp-backlog") public Integer tcpBacklog()
@ModelNodeBinding(detypedName="tcp-keep-alive") public Boolean tcpKeepAlive()
public T tcpKeepAlive(Boolean value)
@ModelNodeBinding(detypedName="url-charset") public String urlCharset()
@ModelNodeBinding(detypedName="worker") public String worker()
@ModelNodeBinding(detypedName="write-timeout") public Integer writeTimeout()
WriteTimeoutException
.Copyright © 2016 JBoss by Red Hat. All rights reserved.