|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Object org.jboss.netty.handler.codec.http.HttpClientCodec
public class HttpClientCodec
A combination of HttpRequestEncoder
and HttpResponseDecoder
which enables easier client side HTTP implementation. HttpClientCodec
provides additional state management for HEAD and CONNECT
requests, which HttpResponseDecoder
lacks. Please refer to
HttpResponseDecoder
to learn what additional state management needs
to be done for HEAD and CONNECT and why
HttpResponseDecoder
can not handle it by itself.
HttpServerCodec
嵌套类摘要 |
---|
从接口 org.jboss.netty.channel.ChannelHandler 继承的嵌套类/接口 |
---|
ChannelHandler.Sharable |
构造方法摘要 | |
---|---|
HttpClientCodec()
Creates a new instance with the default decoder options ( maxInitialLineLength (4096 }, maxHeaderSize (8192) , and
maxChunkSize (8192) ). |
|
HttpClientCodec(int maxInitialLineLength,
int maxHeaderSize,
int maxChunkSize)
Creates a new instance with the specified decoder options. |
方法摘要 | |
---|---|
void |
handleDownstream(ChannelHandlerContext ctx,
ChannelEvent e)
处理指定的下游事件. |
void |
handleUpstream(ChannelHandlerContext ctx,
ChannelEvent e)
处理一个指定的上游事件. |
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
public HttpClientCodec()
maxInitialLineLength (4096
}, maxHeaderSize (8192)
, and
maxChunkSize (8192)
).
public HttpClientCodec(int maxInitialLineLength, int maxHeaderSize, int maxChunkSize)
方法详细信息 |
---|
public void handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) throws java.lang.Exception
ChannelUpstreamHandler
复制的描述
ChannelUpstreamHandler
中的 handleUpstream
ctx
- 处理器的上下文对象e
- 要处理或拦截的事件
java.lang.Exception
public void handleDownstream(ChannelHandlerContext ctx, ChannelEvent e) throws java.lang.Exception
ChannelDownstreamHandler
复制的描述
ChannelDownstreamHandler
中的 handleDownstream
ctx
- 处理器的上下文对象e
- 要处理或拦截的事件
java.lang.Exception
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |