Class SpdyHttpCodec
- java.lang.Object
-
- org.jboss.netty.handler.codec.spdy.SpdyHttpCodec
-
- All Implemented Interfaces:
ChannelDownstreamHandler
,ChannelHandler
,ChannelUpstreamHandler
public class SpdyHttpCodec extends Object implements ChannelUpstreamHandler, ChannelDownstreamHandler
A combination ofSpdyHttpDecoder
andSpdyHttpEncoder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler
ChannelHandler.Sharable
-
-
Constructor Summary
Constructors Constructor Description SpdyHttpCodec(SpdyVersion version, int maxContentLength)
Creates a new instance with the specified decoder options.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleDownstream(ChannelHandlerContext ctx, ChannelEvent e)
Handles the specified downstream event.void
handleUpstream(ChannelHandlerContext ctx, ChannelEvent e)
Handles the specified upstream event.
-
-
-
Constructor Detail
-
SpdyHttpCodec
public SpdyHttpCodec(SpdyVersion version, int maxContentLength)
Creates a new instance with the specified decoder options.
-
-
Method Detail
-
handleUpstream
public void handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) throws Exception
Description copied from interface:ChannelUpstreamHandler
Handles the specified upstream event.- Specified by:
handleUpstream
in interfaceChannelUpstreamHandler
- Parameters:
ctx
- the context object for this handlere
- the upstream event to process or intercept- Throws:
Exception
-
handleDownstream
public void handleDownstream(ChannelHandlerContext ctx, ChannelEvent e) throws Exception
Description copied from interface:ChannelDownstreamHandler
Handles the specified downstream event.- Specified by:
handleDownstream
in interfaceChannelDownstreamHandler
- Parameters:
ctx
- the context object for this handlere
- the downstream event to process or intercept- Throws:
Exception
-
-