程序包 | 说明 |
---|---|
io.netty.handler.codec.http |
Benchmarks for
io.netty.handler.codec.http . |
io.netty.handler.codec.http2 |
Benchmarks for
io.netty.handler.codec.http2 . |
io.netty.handler.codec.spdy |
Encoder, decoder, session handler and their related message types for the SPDY protocol.
|
限定符和类型 | 接口和说明 |
---|---|
interface |
FullHttpRequest
Combine the
HttpRequest and FullHttpMessage , so the request is a complete HTTP
request. |
interface |
FullHttpResponse
Combination of a
HttpResponse and FullHttpMessage . |
限定符和类型 | 类和说明 |
---|---|
class |
DefaultFullHttpRequest
Default implementation of
FullHttpRequest . |
class |
DefaultFullHttpResponse
Default implementation of a
FullHttpResponse . |
限定符和类型 | 方法和说明 |
---|---|
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(java.lang.Object hint) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
HttpObjectAggregator.aggregate(FullHttpMessage aggregated,
HttpContent content) |
protected void |
HttpObjectAggregator.finishAggregation(FullHttpMessage aggregated) |
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
static void |
HttpConversionUtil.addHttp2ToHttpHeaders(int streamId,
Http2Headers inputHeaders,
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 . |
限定符和类型 | 方法和说明 |
---|---|
protected FullHttpMessage |
SpdyHttpDecoder.getMessage(int streamId) |
protected FullHttpMessage |
SpdyHttpDecoder.putMessage(int streamId,
FullHttpMessage message) |
protected FullHttpMessage |
SpdyHttpDecoder.removeMessage(int streamId) |
限定符和类型 | 方法和说明 |
---|---|
protected FullHttpMessage |
SpdyHttpDecoder.putMessage(int streamId,
FullHttpMessage message) |
构造器和说明 |
---|
SpdyHttpDecoder(SpdyVersion version,
int maxContentLength,
java.util.Map<java.lang.Integer,FullHttpMessage> messageMap)
Creates a new instance with the specified parameters.
|
SpdyHttpDecoder(SpdyVersion version,
int maxContentLength,
java.util.Map<java.lang.Integer,FullHttpMessage> messageMap,
boolean validateHeaders)
已过时。
Use the
SpdyHttpDecoder.SpdyHttpDecoder(SpdyVersion, int, Map, HttpHeadersFactory, HttpHeadersFactory)
constructor instead. |
SpdyHttpDecoder(SpdyVersion version,
int maxContentLength,
java.util.Map<java.lang.Integer,FullHttpMessage> messageMap,
HttpHeadersFactory headersFactory,
HttpHeadersFactory trailersFactory)
Creates a new instance with the specified parameters.
|