static void |
HttpHeaders.addDateHeader(HttpMessage message,
java.lang.String name,
java.util.Date value) |
Adds a new date header with the specified name and value.
|
static void |
HttpHeaders.addHeader(HttpMessage message,
java.lang.String name,
java.lang.Object value) |
Adds a new header with the specified name and value.
|
static void |
HttpHeaders.addIntHeader(HttpMessage message,
java.lang.String name,
int value) |
Adds a new integer header with the specified name and value.
|
static void |
HttpHeaders.clearHeaders(HttpMessage message) |
Removes all headers from the specified message.
|
private static void |
HttpMessageEncoder.encodeHeaders(ChannelBuffer buf,
HttpMessage message) |
|
protected abstract void |
HttpMessageEncoder.encodeInitialLine(ChannelBuffer buf,
HttpMessage message) |
|
protected void |
HttpRequestEncoder.encodeInitialLine(ChannelBuffer buf,
HttpMessage message) |
|
protected void |
HttpResponseEncoder.encodeInitialLine(ChannelBuffer buf,
HttpMessage message) |
|
static long |
HttpHeaders.getContentLength(HttpMessage message) |
Returns the length of the content.
|
static long |
HttpHeaders.getContentLength(HttpMessage message,
long defaultValue) |
Returns the length of the content.
|
static java.util.Date |
HttpHeaders.getDate(HttpMessage message) |
Returns the value of the "Date" header.
|
static java.util.Date |
HttpHeaders.getDate(HttpMessage message,
java.util.Date defaultValue) |
Returns the value of the "Date" header.
|
static java.util.Date |
HttpHeaders.getDateHeader(HttpMessage message,
java.lang.String name) |
Returns the date header value with the specified header name.
|
static java.util.Date |
HttpHeaders.getDateHeader(HttpMessage message,
java.lang.String name,
java.util.Date defaultValue) |
Returns the date header value with the specified header name.
|
static java.lang.String |
HttpHeaders.getHeader(HttpMessage message,
java.lang.String name) |
Returns the header value with the specified header name.
|
static java.lang.String |
HttpHeaders.getHeader(HttpMessage message,
java.lang.String name,
java.lang.String defaultValue) |
Returns the header value with the specified header name.
|
static java.lang.String |
HttpHeaders.getHost(HttpMessage message) |
Returns the value of the "Host" header.
|
static java.lang.String |
HttpHeaders.getHost(HttpMessage message,
java.lang.String defaultValue) |
Returns the value of the "Host" header.
|
static int |
HttpHeaders.getIntHeader(HttpMessage message,
java.lang.String name) |
Returns the integer header value with the specified header name.
|
static int |
HttpHeaders.getIntHeader(HttpMessage message,
java.lang.String name,
int defaultValue) |
Returns the integer header value with the specified header name.
|
private static int |
HttpHeaders.getWebSocketContentLength(HttpMessage message) |
Returns the content length of the specified web socket message.
|
static boolean |
HttpHeaders.is100ContinueExpected(HttpMessage message) |
Returns true if and only if the specified message contains the
"Expect: 100-continue" header.
|
protected boolean |
HttpClientCodec.Decoder.isContentAlwaysEmpty(HttpMessage msg) |
|
protected boolean |
HttpMessageDecoder.isContentAlwaysEmpty(HttpMessage msg) |
|
(package private) static boolean |
HttpCodecUtil.isContentLengthSet(HttpMessage m) |
|
static boolean |
HttpHeaders.isContentLengthSet(HttpMessage m) |
|
static boolean |
HttpHeaders.isKeepAlive(HttpMessage message) |
Returns true if and only if the connection can remain open and
thus 'kept alive'.
|
(package private) static boolean |
HttpCodecUtil.isTransferEncodingChunked(HttpMessage m) |
|
static boolean |
HttpHeaders.isTransferEncodingChunked(HttpMessage message) |
Checks to see if the transfer encoding in a specified HttpMessage is chunked
|
protected EncoderEmbedder<ChannelBuffer> |
HttpContentCompressor.newContentEncoder(HttpMessage msg,
java.lang.String acceptEncoding) |
|
protected abstract EncoderEmbedder<ChannelBuffer> |
HttpContentEncoder.newContentEncoder(HttpMessage msg,
java.lang.String acceptEncoding) |
|
static void |
HttpHeaders.removeHeader(HttpMessage message,
java.lang.String name) |
Removes the header with the specified name.
|
(package private) static void |
HttpCodecUtil.removeTransferEncodingChunked(HttpMessage m) |
|
static void |
HttpHeaders.removeTransferEncodingChunked(HttpMessage m) |
|
static void |
HttpHeaders.set100ContinueExpected(HttpMessage message) |
Sets the "Expect: 100-continue" header to the specified message.
|
static void |
HttpHeaders.set100ContinueExpected(HttpMessage message,
boolean set) |
Sets or removes the "Expect: 100-continue" header to / from the
specified message.
|
static void |
HttpHeaders.setContentLength(HttpMessage message,
long length) |
Sets the "Content-Length" header.
|
static void |
HttpHeaders.setDate(HttpMessage message,
java.util.Date value) |
Sets the "Date" header.
|
static void |
HttpHeaders.setDateHeader(HttpMessage message,
java.lang.String name,
java.lang.Iterable<java.util.Date> values) |
Sets a new date header with the specified name and values.
|
static void |
HttpHeaders.setDateHeader(HttpMessage message,
java.lang.String name,
java.util.Date value) |
Sets a new date header with the specified name and value.
|
static void |
HttpHeaders.setHeader(HttpMessage message,
java.lang.String name,
java.lang.Iterable<?> values) |
Sets a new header with the specified name and values.
|
static void |
HttpHeaders.setHeader(HttpMessage message,
java.lang.String name,
java.lang.Object value) |
Sets a new header with the specified name and value.
|
static void |
HttpHeaders.setHost(HttpMessage message,
java.lang.String value) |
Sets the "Host" header.
|
static void |
HttpHeaders.setIntHeader(HttpMessage message,
java.lang.String name,
int value) |
Sets a new integer header with the specified name and value.
|
static void |
HttpHeaders.setIntHeader(HttpMessage message,
java.lang.String name,
java.lang.Iterable<java.lang.Integer> values) |
Sets a new integer header with the specified name and values.
|
static void |
HttpHeaders.setKeepAlive(HttpMessage message,
boolean keepAlive) |
Sets the value of the "Connection" header depending on the
protocol version of the specified message.
|
static void |
HttpHeaders.setTransferEncodingChunked(HttpMessage m) |
|