No API in this release is deprecated for removal.
| Since | Deprecated Item and Description |
|---|---|
Returns: a Rfc6265 style Cookie header valuethe cookie name name, String the cookie value value)
| |
Returns: a Rfc6265 style Cookie header valuethe specified cookie cookie)
| |
Returns: a Rfc6265 style Cookie header value, null if no cookies are passed.some cookies cookies)
| |
Returns: a Rfc6265 style Cookie header value, null if no cookies are passed.some cookies cookies)
| |
io.
Should Netty validate header values to ensure they aren't malicious. validate)Prefer instead to configuring a | |
Returns: The comment URL of thisCookieNot part of RFC6265 | |
Returns: True if thisCookie is to be discarded, otherwise falseNot part of RFC6265 | |
Returns: The maximum age of thisCookieNot part of RFC6265 | |
io.
The comment URL to use commentUrl)Not part of RFC6265 | |
io.
True if the discard)Cookie is to be discardedNot part of RFC6265 | |
io.
The maximum age of this maxAge)Cookie in secondsNot part of RFC6265 | |
io.
The ports that this ports)Cookie can be accessed onNot part of RFC6265 | |
io.
Use
| |
io.
Deprecated as a consequence of | |
io.
Deprecated as a consequence of | |
io.
Deprecated as a consequence of | |
io.
Duplicate of package private $ | |
io.
True if the discard)Cookie is to be discarded
| |
io.
The ports that this ports)Cookie can be accessed on
| |
io.
Use the | |
io.
Use the | |
io.
Prefer the | |
io.
Prefer the | |
io.
Prefer the | |
io.
Prefer the | |
io.
Should Netty validate header values to ensure they aren't malicious. validate)Prefer using the | |
io.
Use the | |
io.
the HTTP version of the request httpVersion, HttpMethod the HTTP method of the request method, String the URI or path of the request uri, boolean validate the header names and values when adding them to the validateHeaders)HttpHeadersPrefer the | |
io.
the HTTP version of this response version, HttpResponseStatus the status of this response status, boolean validate the header names and values when adding them to the validateHeaders)HttpHeadersUse the | |
io.
the HTTP version of this response version, HttpResponseStatus the status of this response status, boolean validate the header names and values when adding them to the validateHeaders, boolean HttpHeaderstrue to check and enforce that headers with the same name are appended
to the same entry and comma separated.
See RFC 7230, 3.2.2.
false to allow multiple header entries with the same name to
coexist.Use the | |
io.
Prefer the | |
io.
This is needed to break a cyclic static initialization loop between | |
io.
The context which provides a ctx)ByteBufAllocator if buffer allocation is necessary.
| |
io.
Prefer the | |
io.
Prefer the | |
io.
Prefer the | |
io.
Prefer the | |
io.
Prefer the | |
io.
Prefer the | |
io.
1 yields the fastest compression and 9 yields the
best compression. 0 means no compression. The default
compression level is 6.
| |
io.
1 yields the fastest compression and 9 yields the
best compression. 0 means no compression. The default
compression level is 6.The base two logarithm of the size of the history buffer. The
value should be in the range windowBits, int 9 to 15 inclusive.
Larger values result in better compression at the expense of
memory usage. The default value is 15.How much memory should be allocated for the internal compression
state. memLevel)1 uses minimum memory and 9 uses maximum
memory. Larger values result in better and faster compression
at the expense of memory usage. The default value is 8
| |
io.
1 yields the fastest compression and 9 yields the
best compression. 0 means no compression. The default
compression level is 6.The base two logarithm of the size of the history buffer. The
value should be in the range windowBits, int 9 to 15 inclusive.
Larger values result in better compression at the expense of
memory usage. The default value is 15.How much memory should be allocated for the internal compression
state. memLevel, int 1 uses minimum memory and 9 uses maximum
memory. Larger values result in better and faster compression
at the expense of memory usage. The default value is 8The response body is compressed when the size of the response
body exceeds the threshold. The value should be a non negative
number. contentSizeThreshold)0 will enable compression for all responses.
| |
io.
Deprecated as a consequence of | |
io.
use | |
io.
use | |
io.
Use
The instance is instantiated here to break the cyclic static initialization between | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
Returns: the content lengthUse | |
Returns: the content length ordefaultValue if this message does
not have the "Content-Length" header or its value is not
a numberUse | |
io.
Use | |
io.
Use | |
io.
Use | |
Returns: the header valueUse | |
io.
Use | |
Returns: the header value or thedefaultValue if there is no such
header or the header value is not a formatted dateUse | |
io.
Use | |
Returns: the header value ornull if there is no such headerUse | |
io.
Use | |
Returns: the header value or thedefaultValue if there is no such
headerUse | |
io.
Use | |
io.
Use | |
io.
Use | |
Returns: the header valueUse | |
io.
Use | |
Returns: the header value or thedefaultValue if there is no such
header or the header value is not a numberUse | |
io.
Use | |
io.
Use | |
Returns: True if transfer encoding is chunked, otherwise falseThe message to check message)Use | |
io.
It is preferred to use | |
io.
Use
Create a new | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use
removeHeader(message, name);
for (Object v: values) {
if (v == null) {
break;
}
addHeader(message, name, v);
}
| |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use
| |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Prefer the | |
io.
Prefer the | |
io.
Prefer the | |
io.
Prefer the | |
io.
Prefer the | |
io.
Prefer the | |
io.
Prefer the | |
io.
Prefer the | |
io.
Prefer the | |
io.
Prefer the | |
io.
Prefer the | |
io.
Prefer the | |
Returns: theCharSequence with charset from message's Content-Type header
or null if charset is not presentedentity to fetch Content-Type header from message) | |
Returns: a single Set-Cookie header valuethe cookie name name, String the cookie value value)
| |
Returns: a single Set-Cookie header valuethe cookie cookie)
| |
Returns: the corresponding bunch of Set-Cookie headersa bunch of cookies cookies)
| |
Returns: the corresponding bunch of Set-Cookie headersa bunch of cookies cookies)
| |
Returns: the corresponding bunch of Set-Cookie headersa bunch of cookies cookies)
| |
Returns: the trimmed, validated attribute valueattribute name name, String attribute value value)CookieUtil is package private, will be removed once old Cookie API is dropped | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Removed without alternatives. | |
io.
Use | |
io.
Use | |
io.
The context which provides a ctx)ByteBufAllocator if buffer allocation is necessary.
| |
Returns: WebSocketFrame contain chunk of dataChannelHandlerContext context of channelHandlerUse | |
io.
in favor of | |
io.
The max allowed length of initial line maxInitialLineLength, final int The max allowed size of header maxHeaderSize, final int The max allowed content length maxContentLength, final boolean Set to true if headers should be validated validateHeaders)Use the | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Use | |
io.
Deprecated as a consequence of | |
io.
| |
io.
the protocol version version, int the maximum length of the message content.
If the length of the message content exceeds this value,
a maxContentLength, boolean TooLongFrameException will be raised.true if http headers should be validatedUse the | |
io.
the protocol version version, int the maximum length of the message content.
If the length of the message content exceeds this value,
a maxContentLength, Map<Integer, FullHttpMessage> TooLongFrameException will be raised.the messageMap, boolean Map used to hold partially received messages.true if http headers should be validatedUse the |