|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
java.lang.Objectorg.jboss.netty.handler.codec.http.HttpServerCodec
public class HttpServerCodec

A combination of HttpRequestDecoder and HttpResponseEncoder
which enables easier server side HTTP implementation.
HttpClientCodec| 嵌套类摘要 |
|---|
| 从接口 org.jboss.netty.channel.ChannelHandler 继承的嵌套类/接口 |
|---|
ChannelHandler.Sharable |
| 构造方法摘要 | |
|---|---|
HttpServerCodec()
Creates a new instance with the default decoder options ( maxInitialLineLength (4096}, maxHeaderSize (8192), and
maxChunkSize (8192)). |
|
HttpServerCodec(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 HttpServerCodec()
maxInitialLineLength (4096}, maxHeaderSize (8192), and
maxChunkSize (8192)).
public HttpServerCodec(int maxInitialLineLength,
int maxHeaderSize,
int maxChunkSize)
| 方法详细信息 |
|---|
public void handleUpstream(ChannelHandlerContext ctx,
ChannelEvent e)
throws java.lang.Exception
ChannelUpstreamHandler 复制的描述
ChannelUpstreamHandler 中的 handleUpstreamctx - 处理器的上下文对象e - 要处理或拦截的事件
java.lang.Exception
public void handleDownstream(ChannelHandlerContext ctx,
ChannelEvent e)
throws java.lang.Exception
ChannelDownstreamHandler 复制的描述
ChannelDownstreamHandler 中的 handleDownstreamctx - 处理器的上下文对象e - 要处理或拦截的事件
java.lang.Exception
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||