Package | Description |
---|---|
io.netty.handler.codec.http |
Encoder, decoder and their related message types for HTTP.
|
io.netty.handler.codec.http2 |
Handlers for sending and receiving HTTP/2 frames.
|
io.netty.handler.codec.spdy |
Encoder, decoder, session handler and their related message types for the SPDY protocol.
|
Modifier and Type | Interface and Description |
---|---|
interface |
FullHttpRequest
Combine the
HttpRequest and FullHttpMessage , so the request is a complete HTTP
request. |
interface |
FullHttpResponse
Combination of a
HttpResponse and FullHttpMessage . |
Modifier and Type | Class and Description |
---|---|
class |
DefaultFullHttpRequest
Default implementation of
FullHttpRequest . |
class |
DefaultFullHttpResponse
Default implementation of a
FullHttpResponse . |
Modifier and Type | Method and Description |
---|---|
protected FullHttpMessage |
HttpObjectAggregator.beginAggregation(HttpMessage start,
ByteBuf content) |
FullHttpMessage |
FullHttpMessage.copy() |
FullHttpMessage |
FullHttpMessage.duplicate() |
FullHttpMessage |
FullHttpMessage.replace(ByteBuf content) |
FullHttpMessage |
FullHttpMessage.retain() |
FullHttpMessage |
FullHttpMessage.retain(int increment) |
FullHttpMessage |
FullHttpMessage.retainedDuplicate() |
FullHttpMessage |
FullHttpMessage.touch() |
FullHttpMessage |
FullHttpMessage.touch(Object hint) |
Modifier and Type | Method and Description |
---|---|
protected void |
HttpObjectAggregator.aggregate(FullHttpMessage aggregated,
HttpContent content) |
protected void |
HttpObjectAggregator.finishAggregation(FullHttpMessage aggregated) |
Modifier and Type | Method and Description |
---|---|
protected FullHttpMessage |
InboundHttp2ToHttpAdapter.getMessage(Http2Stream stream)
Get the
FullHttpMessage associated with stream . |
protected FullHttpMessage |
InboundHttp2ToHttpAdapter.newMessage(Http2Stream stream,
Http2Headers headers,
boolean validateHttpHeaders,
ByteBufAllocator alloc)
Create a new
FullHttpMessage based upon the current connection parameters |
protected FullHttpMessage |
InboundHttp2ToHttpAdapter.processHeadersBegin(ChannelHandlerContext ctx,
Http2Stream stream,
Http2Headers headers,
boolean endOfStream,
boolean allowAppend,
boolean appendToTrailer)
Provides translation between HTTP/2 and HTTP header objects while ensuring the stream
is in a valid state for additional headers.
|
Modifier and Type | Method and Description |
---|---|
static void |
HttpConversionUtil.addHttp2ToHttpHeaders(int streamId,
Http2Headers sourceHeaders,
FullHttpMessage destinationMessage,
boolean addToTrailer)
Translate and add HTTP/2 headers to HTTP/1.x headers.
|
protected void |
InboundHttp2ToHttpAdapter.fireChannelRead(ChannelHandlerContext ctx,
FullHttpMessage msg,
boolean release,
Http2Stream stream)
Set final headers and fire a channel read event
|
protected void |
InboundHttp2ToHttpAdapter.onRstStreamRead(Http2Stream stream,
FullHttpMessage msg)
Called if a
RST_STREAM is received but we have some data for that stream. |
protected void |
InboundHttp2ToHttpAdapter.putMessage(Http2Stream stream,
FullHttpMessage message)
Make
message be the state associated with stream . |
Modifier and Type | Method and Description |
---|---|
protected FullHttpMessage |
SpdyHttpDecoder.getMessage(int streamId) |
protected FullHttpMessage |
SpdyHttpDecoder.putMessage(int streamId,
FullHttpMessage message) |
protected FullHttpMessage |
SpdyHttpDecoder.removeMessage(int streamId) |
Modifier and Type | Method and Description |
---|---|
protected FullHttpMessage |
SpdyHttpDecoder.putMessage(int streamId,
FullHttpMessage message) |
Constructor and Description |
---|
SpdyHttpDecoder(SpdyVersion version,
int maxContentLength,
Map<Integer,FullHttpMessage> messageMap)
Creates a new instance with the specified parameters.
|
SpdyHttpDecoder(SpdyVersion version,
int maxContentLength,
Map<Integer,FullHttpMessage> messageMap,
boolean validateHeaders)
Creates a new instance with the specified parameters.
|
Copyright © 2008–2017 The Netty Project. All rights reserved.