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 of
SpdyHttpDecoder and SpdyHttpEncoder-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler
ChannelHandler.Sharable -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSpdyHttpCodec(SpdyVersion version, int maxContentLength) Creates a new instance with the specified decoder options. -
Method Summary
Modifier and TypeMethodDescriptionvoidHandles the specified downstream event.voidHandles the specified upstream event.
-
Field Details
-
decoder
-
encoder
-
-
Constructor Details
-
SpdyHttpCodec
Creates a new instance with the specified decoder options.
-
-
Method Details
-
handleUpstream
Description copied from interface:ChannelUpstreamHandlerHandles the specified upstream event.- Specified by:
handleUpstreamin interfaceChannelUpstreamHandler- Parameters:
ctx- the context object for this handlere- the upstream event to process or intercept- Throws:
Exception
-
handleDownstream
Description copied from interface:ChannelDownstreamHandlerHandles the specified downstream event.- Specified by:
handleDownstreamin interfaceChannelDownstreamHandler- Parameters:
ctx- the context object for this handlere- the downstream event to process or intercept- Throws:
Exception
-