public class SpdyHttpCodec extends Object implements ChannelUpstreamHandler, ChannelDownstreamHandler
SpdyHttpDecoder
and SpdyHttpEncoder
ChannelHandler.Sharable
Constructor and Description |
---|
SpdyHttpCodec(int maxContentLength)
Deprecated.
|
SpdyHttpCodec(int version,
int maxContentLength)
Creates a new instance with the specified decoder options.
|
Modifier and Type | Method and Description |
---|---|
void |
handleDownstream(ChannelHandlerContext ctx,
ChannelEvent e)
Handles the specified downstream event.
|
void |
handleUpstream(ChannelHandlerContext ctx,
ChannelEvent e)
Handles the specified upstream event.
|
@Deprecated public SpdyHttpCodec(int maxContentLength)
public SpdyHttpCodec(int version, int maxContentLength)
public void handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) throws Exception
ChannelUpstreamHandler
handleUpstream
in interface ChannelUpstreamHandler
ctx
- the context object for this handlere
- the upstream event to process or interceptException
public void handleDownstream(ChannelHandlerContext ctx, ChannelEvent e) throws Exception
ChannelDownstreamHandler
handleDownstream
in interface ChannelDownstreamHandler
ctx
- the context object for this handlere
- the downstream event to process or interceptException
Copyright © 2008-2014 The Netty Project. All Rights Reserved.