软件包 | 描述 |
---|---|
io.netty.handler.codec.http |
编码器,解码器及其相关的HTTP消息类型。
|
io.netty.handler.codec.http.multipart |
HTTP多部分支持。
|
Modifier and Type | Interface and Description |
---|---|
interface |
FullHttpMessage
将 HttpMessage 和LastHttpContent 组合成一条消息。
|
interface |
FullHttpRequest
合并 HttpRequest 和FullHttpMessage ,所以请求是一个完整的 HTTP请求。
|
interface |
FullHttpResponse
|
interface |
LastHttpContent
最后 HttpContent 有尾标题。
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultFullHttpRequest
默认实现 FullHttpRequest 。
|
class |
DefaultFullHttpResponse
FullHttpResponse 的默认实现。
|
class |
DefaultHttpContent
默认的 HttpContent 实现。
|
class |
DefaultLastHttpContent
默认的 LastHttpContent 实现。
|
Modifier and Type | Method and Description |
---|---|
HttpContent |
HttpContent.copy() |
HttpContent |
DefaultHttpContent.copy() |
HttpContent |
HttpContent.duplicate() |
HttpContent |
DefaultHttpContent.duplicate() |
HttpContent |
HttpChunkedInput.readChunk(ByteBufAllocator allocator) |
HttpContent |
HttpChunkedInput.readChunk(ChannelHandlerContext ctx)
已过时。
|
HttpContent |
HttpContent.replace(ByteBuf content) |
HttpContent |
DefaultHttpContent.replace(ByteBuf content) |
HttpContent |
HttpContent.retain() |
HttpContent |
DefaultHttpContent.retain() |
HttpContent |
HttpContent.retain(int increment) |
HttpContent |
DefaultHttpContent.retain(int increment) |
HttpContent |
HttpContent.retainedDuplicate() |
HttpContent |
DefaultHttpContent.retainedDuplicate() |
HttpContent |
HttpContent.touch() |
HttpContent |
DefaultHttpContent.touch() |
HttpContent |
HttpContent.touch(java.lang.Object hint) |
HttpContent |
DefaultHttpContent.touch(java.lang.Object hint) |
Modifier and Type | Method and Description |
---|---|
protected void |
HttpObjectAggregator.aggregate(FullHttpMessage aggregated, HttpContent content) |
protected boolean |
HttpObjectAggregator.isLastContentMessage(HttpContent msg) |
Modifier and Type | Method and Description |
---|---|
HttpContent |
HttpPostRequestEncoder.readChunk(ByteBufAllocator allocator)
返回下一个可用的HttpChunk。
|
HttpContent |
HttpPostRequestEncoder.readChunk(ChannelHandlerContext ctx)
已过时。
|
Modifier and Type | Method and Description |
---|---|
InterfaceHttpPostRequestDecoder |
InterfaceHttpPostRequestDecoder.offer(HttpContent content)
从新块初始化内部
|
HttpPostStandardRequestDecoder |
HttpPostStandardRequestDecoder.offer(HttpContent content)
从新块初始化内部
|
InterfaceHttpPostRequestDecoder |
HttpPostRequestDecoder.offer(HttpContent content) |
HttpPostMultipartRequestDecoder |
HttpPostMultipartRequestDecoder.offer(HttpContent content)
从新块初始化内部
|
Copyright © 2008–2018 The Netty Project. All rights reserved.