public class SpdyHttpCodec extends java.lang.Object implements ChannelUpstreamHandler, ChannelDownstreamHandler
SpdyHttpDecoder and SpdyHttpEncoderChannelHandler.Sharable| 构造器和说明 |
|---|
SpdyHttpCodec(SpdyVersion version,
int maxContentLength)
Creates a new instance with the specified decoder options.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
handleDownstream(ChannelHandlerContext ctx,
ChannelEvent e)
Handles the specified downstream event.
|
void |
handleUpstream(ChannelHandlerContext ctx,
ChannelEvent e)
Handles the specified upstream event.
|
public SpdyHttpCodec(SpdyVersion version, int maxContentLength)
public void handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) throws java.lang.Exception
ChannelUpstreamHandlerhandleUpstream 在接口中 ChannelUpstreamHandlerctx - the context object for this handlere - the upstream event to process or interceptjava.lang.Exceptionpublic void handleDownstream(ChannelHandlerContext ctx, ChannelEvent e) throws java.lang.Exception
ChannelDownstreamHandlerhandleDownstream 在接口中 ChannelDownstreamHandlerctx - the context object for this handlere - the downstream event to process or interceptjava.lang.Exception