public class UndertowOptions extends Object
Modifier and Type | Field and Description |
---|---|
static org.xnio.Option<Boolean> |
ALLOW_ENCODED_SLASH
If a request comes in with encoded / characters (i.e.
|
static org.xnio.Option<Boolean> |
ALLOW_EQUALS_IN_COOKIE_VALUE
If this is true then Undertow will allow non-escaped equals characters in unquoted cookie values.
|
static org.xnio.Option<Boolean> |
ALWAYS_SET_DATE
If this is true then a Date header will be added to all responses.
|
static org.xnio.Option<Boolean> |
ALWAYS_SET_KEEP_ALIVE
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.
|
static org.xnio.Option<Boolean> |
BUFFER_PIPELINED_DATA
If we should buffer pipelined requests.
|
static org.xnio.Option<Boolean> |
DECODE_URL
If this is true then the parser will decode the URL and query parameters using the selected character encoding (UTF-8 by default).
|
static long |
DEFAULT_MAX_ENTITY_SIZE
We do not have a default upload limit
|
static int |
DEFAULT_MAX_HEADER_SIZE
The default size we allow for the HTTP header.
|
static org.xnio.Option<Long> |
IDLE_TIMEOUT
The idle timeout in milliseconds after which the channel will be closed.
|
static org.xnio.Option<Integer> |
MAX_BUFFERED_REQUEST_SIZE
Maximum size of a buffered request, in bytes
Requests 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.
|
static org.xnio.Option<Integer> |
MAX_COOKIES
The maximum number of cookies that will be parsed.
|
static org.xnio.Option<Long> |
MAX_ENTITY_SIZE
The default maximum size of the HTTP entity body.
|
static org.xnio.Option<Integer> |
MAX_HEADER_SIZE
The maximum size in bytes of a http request header.
|
static org.xnio.Option<Integer> |
MAX_HEADERS
The maximum number of headers that will be parsed.
|
static org.xnio.Option<Integer> |
MAX_PARAMETERS
The maximum number of parameters that will be parsed.
|
static org.xnio.Option<Boolean> |
RECORD_REQUEST_START_TIME
If this is true then Undertow will record the request start time, to allow for request time to be logged
This has a small but measurable performance impact
default is false
|
static org.xnio.Option<String> |
URL_CHARSET
If this is true then the parser will decode the URL and query parameters using the selected character encoding (UTF-8 by default).
|
public static final org.xnio.Option<Integer> MAX_HEADER_SIZE
public static final int DEFAULT_MAX_HEADER_SIZE
public static final org.xnio.Option<Long> MAX_ENTITY_SIZE
public static final long DEFAULT_MAX_ENTITY_SIZE
public static final org.xnio.Option<Boolean> BUFFER_PIPELINED_DATA
public static final org.xnio.Option<Long> IDLE_TIMEOUT
public static final org.xnio.Option<Integer> MAX_PARAMETERS
public static final org.xnio.Option<Integer> MAX_HEADERS
public static final org.xnio.Option<Integer> MAX_COOKIES
public static final org.xnio.Option<Boolean> ALLOW_ENCODED_SLASH
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0450
public static final org.xnio.Option<Boolean> DECODE_URL
public static final org.xnio.Option<String> URL_CHARSET
public static final org.xnio.Option<Boolean> ALWAYS_SET_KEEP_ALIVE
public static final org.xnio.Option<Boolean> ALWAYS_SET_DATE
public static final org.xnio.Option<Integer> MAX_BUFFERED_REQUEST_SIZE
public static final org.xnio.Option<Boolean> RECORD_REQUEST_START_TIME
public static final org.xnio.Option<Boolean> ALLOW_EQUALS_IN_COOKIE_VALUE
Copyright © 2014 JBoss by Red Hat. All rights reserved.