public class HttpListener extends Object
| Constructor and Description |
|---|
HttpListener(String key) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
allowEncodedSlash()
If a request comes in with encoded / characters (i.e.
|
HttpListener |
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.
|
HttpListener |
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.
|
HttpListener |
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.
|
HttpListener |
bufferPipelinedData(Boolean value)
If we should buffer pipelined requests.
|
String |
bufferPool()
The AJP listeners buffer pool
|
HttpListener |
bufferPool(String value)
The AJP listeners buffer pool
|
Long |
bytesReceived()
The number of bytes that have been received by this listener
|
HttpListener |
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
|
HttpListener |
bytesSent(Long value)
The number of bytes that have been sent out on this listener
|
Boolean |
certificateForwarding()
If certificate forwarding should be enabled.
|
HttpListener |
certificateForwarding(Boolean value)
If certificate forwarding should be enabled.
|
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).
|
HttpListener |
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).
|
List<String> |
disallowedMethods()
A comma separated list of HTTP methods that are not allowed
|
HttpListener |
disallowedMethods(List<String> value)
A comma separated list of HTTP methods that are not allowed
|
Boolean |
enabled()
If the listener is enabled
|
HttpListener |
enabled(Boolean value)
If the listener is enabled
|
Boolean |
enableHttp2()
Enables HTTP2 support for this listener
|
HttpListener |
enableHttp2(Boolean value)
Enables HTTP2 support for this listener
|
Long |
errorCount()
The number of 500 responses that have been sent by this listener
|
HttpListener |
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.
|
HttpListener |
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.
|
HttpListener |
maxConnections(Integer value)
The maximum number of concurrent connections.
|
Integer |
maxCookies()
The maximum number of cookies that will be parsed.
|
HttpListener |
maxCookies(Integer value)
The maximum number of cookies that will be parsed.
|
Integer |
maxHeaders()
The maximum number of headers that will be parsed.
|
HttpListener |
maxHeaders(Integer value)
The maximum number of headers that will be parsed.
|
Integer |
maxHeaderSize()
The maximum size in bytes of a http request header.
|
HttpListener |
maxHeaderSize(Integer value)
The maximum size in bytes of a http request header.
|
Integer |
maxParameters()
The maximum number of parameters that will be parsed.
|
HttpListener |
maxParameters(Integer value)
The maximum number of parameters that will be parsed.
|
Long |
maxPostSize()
The maximum size of a post that will be accepted
|
HttpListener |
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
|
HttpListener |
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
|
HttpListener |
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
|
HttpListener |
processingTime(Long value)
The total processing time of all requests handed by this listener
|
Boolean |
proxyAddressForwarding()
enables x-forwarded-host and similar headers and set a remote ip address and hostname
|
HttpListener |
proxyAddressForwarding(Boolean value)
enables x-forwarded-host and similar headers and set a remote ip address and hostname
|
Integer |
readTimeout()
Configure a read timeout for a socket, in milliseconds.
|
HttpListener |
readTimeout(Integer value)
Configure a read timeout for a socket, in milliseconds.
|
Integer |
receiveBuffer()
The receive buffer size.
|
HttpListener |
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.
|
HttpListener |
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
|
HttpListener |
redirectSocket(String value)
If this listener is supporting non-SSL requests, and a request is received for which a matching
|
Long |
requestCount()
The number of requests this listener has served
|
HttpListener |
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
|
HttpListener |
requestParseTimeout(Integer value)
The maximum amount of time (in milliseconds) that can be spent parsing the request
|
Boolean |
resolvePeerAddress()
Enables host dns lookup
|
HttpListener |
resolvePeerAddress(Boolean value)
Enables host dns lookup
|
Integer |
sendBuffer()
The send buffer size.
|
HttpListener |
sendBuffer(Integer value)
The send buffer size.
|
String |
socketBinding()
The AJP listener socket binder
|
HttpListener |
socketBinding(String value)
The AJP listener socket binder
|
Integer |
tcpBacklog()
Configure a server with the specified backlog.
|
HttpListener |
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.
|
HttpListener |
tcpKeepAlive(Boolean value)
Configure a channel to send TCP keep-alive messages in an implementation-dependent manner.
|
String |
urlCharset()
URL charset
|
HttpListener |
urlCharset(String value)
URL charset
|
String |
worker()
The AJP listeners XNIO worker
|
HttpListener |
worker(String value)
The AJP listeners XNIO worker
|
Integer |
writeTimeout()
Configure a write timeout for a socket, in milliseconds.
|
HttpListener |
writeTimeout(Integer value)
Configure a write timeout for a socket, in milliseconds.
|
public HttpListener(String key)
public String getKey()
public Boolean allowEncodedSlash()
public HttpListener allowEncodedSlash(Boolean value)
public Boolean allowEqualsInCookieValue()
public HttpListener allowEqualsInCookieValue(Boolean value)
public Boolean alwaysSetKeepAlive()
public HttpListener alwaysSetKeepAlive(Boolean value)
public Boolean bufferPipelinedData()
public HttpListener bufferPipelinedData(Boolean value)
public String bufferPool()
public HttpListener bufferPool(String value)
public Long bytesReceived()
public HttpListener bytesReceived(Long value)
public Long bytesSent()
public HttpListener bytesSent(Long value)
public Boolean certificateForwarding()
public HttpListener certificateForwarding(Boolean value)
public Boolean decodeUrl()
public HttpListener decodeUrl(Boolean value)
public List<String> disallowedMethods()
public HttpListener disallowedMethods(List<String> value)
public Boolean enableHttp2()
public HttpListener enableHttp2(Boolean value)
public Boolean enabled()
public HttpListener enabled(Boolean value)
public Long errorCount()
public HttpListener errorCount(Long value)
public Integer maxBufferedRequestSize()
public HttpListener maxBufferedRequestSize(Integer value)
public Integer maxConnections()
public HttpListener maxConnections(Integer value)
public Integer maxCookies()
public HttpListener maxCookies(Integer value)
public Integer maxHeaderSize()
public HttpListener maxHeaderSize(Integer value)
public Integer maxHeaders()
public HttpListener maxHeaders(Integer value)
public Integer maxParameters()
public HttpListener maxParameters(Integer value)
public Long maxPostSize()
public HttpListener maxPostSize(Long value)
public Long maxProcessingTime()
public HttpListener maxProcessingTime(Long value)
public Integer noRequestTimeout()
public HttpListener noRequestTimeout(Integer value)
public Long processingTime()
public HttpListener processingTime(Long value)
public Boolean proxyAddressForwarding()
public HttpListener proxyAddressForwarding(Boolean value)
public Integer readTimeout()
ReadTimeoutException.public HttpListener readTimeout(Integer value)
ReadTimeoutException.public Integer receiveBuffer()
public HttpListener receiveBuffer(Integer value)
public Boolean recordRequestStartTime()
public HttpListener recordRequestStartTime(Boolean value)
public String redirectSocket()
public HttpListener redirectSocket(String value)
public Long requestCount()
public HttpListener requestCount(Long value)
public Integer requestParseTimeout()
public HttpListener requestParseTimeout(Integer value)
public Boolean resolvePeerAddress()
public HttpListener resolvePeerAddress(Boolean value)
public Integer sendBuffer()
public HttpListener sendBuffer(Integer value)
public String socketBinding()
public HttpListener socketBinding(String value)
public Integer tcpBacklog()
public HttpListener tcpBacklog(Integer value)
public Boolean tcpKeepAlive()
public HttpListener tcpKeepAlive(Boolean value)
public String urlCharset()
public HttpListener urlCharset(String value)
public String worker()
public HttpListener worker(String value)
public Integer writeTimeout()
WriteTimeoutException.public HttpListener writeTimeout(Integer value)
WriteTimeoutException.Copyright © 2015 JBoss by Red Hat. All rights reserved.