Class SpdyHttpCodec

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelDuplexHandler
io.netty.channel.CombinedChannelDuplexHandler<SpdyHttpDecoder,SpdyHttpEncoder>
io.netty.handler.codec.spdy.SpdyHttpCodec
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler, io.netty.channel.ChannelOutboundHandler

public final class SpdyHttpCodec extends io.netty.channel.CombinedChannelDuplexHandler<SpdyHttpDecoder,SpdyHttpEncoder>
A combination of SpdyHttpDecoder and SpdyHttpEncoder
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler

    io.netty.channel.ChannelHandler.Sharable
  • Constructor Summary

    Constructors
    Constructor
    Description
    SpdyHttpCodec(SpdyVersion version, int maxContentLength)
    Creates a new instance with the specified decoder options.
    SpdyHttpCodec(SpdyVersion version, int maxContentLength, boolean validateHttpHeaders)
    Deprecated.
    SpdyHttpCodec(SpdyVersion version, int maxContentLength, HttpHeadersFactory headersFactory, HttpHeadersFactory trailersFactory)
    Creates a new instance with the specified decoder options.
  • Method Summary

    Methods inherited from class io.netty.channel.CombinedChannelDuplexHandler

    bind, channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, close, connect, deregister, disconnect, exceptionCaught, flush, handlerAdded, handlerRemoved, inboundHandler, init, outboundHandler, read, removeInboundHandler, removeOutboundHandler, userEventTriggered, write

    Methods inherited from class io.netty.channel.ChannelHandlerAdapter

    ensureNotSharable, isSharable

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SpdyHttpCodec

      public SpdyHttpCodec(SpdyVersion version, int maxContentLength)
      Creates a new instance with the specified decoder options.
    • SpdyHttpCodec

      @Deprecated public SpdyHttpCodec(SpdyVersion version, int maxContentLength, boolean validateHttpHeaders)
      Deprecated.
      Creates a new instance with the specified decoder options.
    • SpdyHttpCodec

      public SpdyHttpCodec(SpdyVersion version, int maxContentLength, HttpHeadersFactory headersFactory, HttpHeadersFactory trailersFactory)
      Creates a new instance with the specified decoder options.