public class AJPListener<T extends AJPListener<T>> extends Object
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 listeners buffer pool
|
T |
bufferPool(String value)
The 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
|
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 |
maxAjpPacketSize()
The maximum supported size of AJP packets.
|
T |
maxAjpPacketSize(Integer value)
The maximum supported size of AJP packets.
|
Integer |
maxBufferedRequestSize()
Maximum size of a buffered request, in bytes.
|
T |
maxBufferedRequestSize(Integer value)
Maximum size of a buffered request, in bytes.
|
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 of a http request header, in bytes.
|
T |
maxHeaderSize(Integer value)
The maximum size of a http request header, in bytes.
|
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, in bytes.
|
T |
maxPostSize(Long value)
The maximum size of a post that will be accepted, in bytes.
|
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, in bytes.
|
T |
receiveBuffer(Integer value)
The receive buffer size, in bytes.
|
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
|
Boolean |
rfc6265CookieValidation()
If cookies should be validated to ensure they comply with RFC6265.
|
T |
rfc6265CookieValidation(Boolean value)
If cookies should be validated to ensure they comply with RFC6265.
|
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, in bytes.
|
T |
sendBuffer(Integer value)
The send buffer size, in bytes.
|
String |
socketBinding()
The listener socket binding
|
T |
socketBinding(String value)
The listener socket binding
|
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 listeners XNIO worker
|
T |
worker(String value)
The 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)
public Boolean allowEncodedSlash()
public T allowEncodedSlash(Boolean value)
public Boolean allowEqualsInCookieValue()
public T allowEqualsInCookieValue(Boolean value)
public Boolean alwaysSetKeepAlive()
public T alwaysSetKeepAlive(Boolean value)
public Boolean bufferPipelinedData()
public T bufferPipelinedData(Boolean value)
public String bufferPool()
public Long bytesReceived()
public T bytesReceived(Long value)
public Long bytesSent()
public T bytesSent(Long value)
public Boolean decodeUrl()
public T decodeUrl(Boolean value)
public List<String> disallowedMethods()
public T disallowedMethods(List<String> value)
public T disallowedMethod(String value)
public T disallowedMethods(String... args)
public Long errorCount()
public T errorCount(Long value)
public Integer maxAjpPacketSize()
public T maxAjpPacketSize(Integer value)
public Integer maxBufferedRequestSize()
public T maxBufferedRequestSize(Integer value)
public Integer maxConnections()
public T maxConnections(Integer value)
public Integer maxCookies()
public T maxCookies(Integer value)
public Integer maxHeaderSize()
public T maxHeaderSize(Integer value)
public Integer maxHeaders()
public T maxHeaders(Integer value)
public Integer maxParameters()
public T maxParameters(Integer value)
public Long maxPostSize()
public T maxPostSize(Long value)
public Long maxProcessingTime()
public T maxProcessingTime(Long value)
public Integer noRequestTimeout()
public T noRequestTimeout(Integer value)
public Long processingTime()
public T processingTime(Long value)
public Integer readTimeout()
ReadTimeoutException
.public T readTimeout(Integer value)
ReadTimeoutException
.public Integer receiveBuffer()
public Boolean recordRequestStartTime()
public T recordRequestStartTime(Boolean value)
public String redirectSocket()
public T redirectSocket(String value)
public Long requestCount()
public Integer requestParseTimeout()
public T requestParseTimeout(Integer value)
public Boolean resolvePeerAddress()
public Boolean rfc6265CookieValidation()
public T rfc6265CookieValidation(Boolean value)
public String scheme()
public T scheme(String value)
public Boolean secure()
public T secure(Boolean value)
public Integer sendBuffer()
public String socketBinding()
public Integer tcpBacklog()
public Boolean tcpKeepAlive()
public T tcpKeepAlive(Boolean value)
public String urlCharset()
public String worker()
public Integer writeTimeout()
WriteTimeoutException
.Copyright © 2018 JBoss by Red Hat. All rights reserved.