Package | Description |
---|---|
io.netty.handler.codec.http |
Encoder, decoder and their related message types for HTTP.
|
io.netty.handler.codec.rtsp |
An RTSP
extension based on the HTTP codec.
|
io.netty.handler.codec.spdy |
Encoder, decoder, session handler and their related message types for the SPDY protocol.
|
Modifier and Type | Class and Description |
---|---|
class |
HttpObjectEncoder<H extends HttpMessage>
|
Modifier and Type | Interface and Description |
---|---|
interface |
FullHttpMessage
Combines
HttpMessage and LastHttpContent into one
message. |
interface |
FullHttpRequest
Combinate the
HttpRequest and FullHttpMessage , so the request is a complete HTTP request. |
interface |
FullHttpResponse
Combination of a
HttpResponse and FullHttpMessage . |
interface |
HttpRequest
An HTTP request.
|
interface |
HttpResponse
An HTTP response.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultFullHttpRequest
Default implementation of
FullHttpRequest . |
class |
DefaultFullHttpResponse
Default implementation of a
FullHttpResponse . |
class |
DefaultHttpMessage
The default
HttpMessage implementation. |
class |
DefaultHttpRequest
The default
HttpRequest implementation. |
class |
DefaultHttpResponse
The default
HttpResponse implementation. |
Modifier and Type | Method and Description |
---|---|
protected HttpMessage |
HttpRequestDecoder.createInvalidMessage() |
protected HttpMessage |
HttpResponseDecoder.createInvalidMessage() |
protected abstract HttpMessage |
HttpObjectDecoder.createInvalidMessage() |
protected HttpMessage |
HttpRequestDecoder.createMessage(String[] initialLine) |
protected HttpMessage |
HttpResponseDecoder.createMessage(String[] initialLine) |
protected abstract HttpMessage |
HttpObjectDecoder.createMessage(String[] initialLine) |
HttpMessage |
DefaultHttpMessage.setProtocolVersion(HttpVersion version) |
HttpMessage |
HttpMessage.setProtocolVersion(HttpVersion version)
Set the protocol version of this
HttpMessage |
Modifier and Type | Method and Description |
---|---|
protected FullHttpMessage |
HttpObjectAggregator.beginAggregation(HttpMessage start,
ByteBuf content) |
protected long |
HttpObjectAggregator.contentLength(HttpMessage start) |
static long |
HttpHeaderUtil.getContentLength(HttpMessage message)
Returns the length of the content.
|
static long |
HttpHeaderUtil.getContentLength(HttpMessage message,
long defaultValue)
Returns the length of the content.
|
protected void |
HttpObjectAggregator.handleOversizedMessage(ChannelHandlerContext ctx,
HttpMessage oversized) |
protected boolean |
HttpObjectAggregator.hasContentLength(HttpMessage start) |
static boolean |
HttpHeaderUtil.is100ContinueExpected(HttpMessage message)
Returns
true if and only if the specified message contains the
"Expect: 100-continue" header. |
protected boolean |
HttpObjectDecoder.isContentAlwaysEmpty(HttpMessage msg) |
static boolean |
HttpHeaderUtil.isContentLengthSet(HttpMessage m) |
static boolean |
HttpHeaderUtil.isKeepAlive(HttpMessage message)
Returns
true if and only if the connection can remain open and
thus 'kept alive'. |
static boolean |
HttpHeaderUtil.isTransferEncodingChunked(HttpMessage message)
Checks to see if the transfer encoding in a specified
HttpMessage is chunked |
protected Object |
HttpObjectAggregator.newContinueResponse(HttpMessage start) |
static void |
HttpHeaderUtil.set100ContinueExpected(HttpMessage message,
boolean expected)
Sets or removes the
"Expect: 100-continue" header to / from the
specified message. |
static void |
HttpHeaderUtil.setContentLength(HttpMessage message,
long length)
Sets the
"Content-Length" header. |
static void |
HttpHeaderUtil.setKeepAlive(HttpMessage message,
boolean keepAlive)
Sets the value of the
"Connection" header depending on the
protocol version of the specified message. |
static void |
HttpHeaderUtil.setTransferEncodingChunked(HttpMessage m,
boolean chunked) |
Modifier and Type | Class and Description |
---|---|
class |
RtspObjectEncoder<H extends HttpMessage>
Encodes an RTSP message represented in
FullHttpMessage into
a ByteBuf . |
Modifier and Type | Method and Description |
---|---|
protected HttpMessage |
RtspResponseDecoder.createInvalidMessage() |
protected HttpMessage |
RtspRequestDecoder.createInvalidMessage() |
protected HttpMessage |
RtspResponseDecoder.createMessage(String[] initialLine) |
protected HttpMessage |
RtspRequestDecoder.createMessage(String[] initialLine) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
RtspObjectDecoder.isContentAlwaysEmpty(HttpMessage msg) |
Modifier and Type | Method and Description |
---|---|
protected void |
SpdyHttpResponseStreamIdHandler.encode(ChannelHandlerContext ctx,
HttpMessage msg,
List<Object> out) |
Copyright © 2008–2015 The Netty Project. All rights reserved.