Class SpdyHttpResponseStreamIdHandler

  • All Implemented Interfaces:
    io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler, io.netty.channel.ChannelOutboundHandler

    public class SpdyHttpResponseStreamIdHandler
    extends io.netty.handler.codec.MessageToMessageCodec<Object,​HttpMessage>
    MessageToMessageCodec that takes care of adding the right SpdyHttpHeaders.Names.STREAM_ID to the HttpMessage if one is not present. This makes it possible to just re-use plan handlers current used for HTTP.
    • Nested Class Summary

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean acceptInboundMessage​(Object msg)  
      protected void decode​(io.netty.channel.ChannelHandlerContext ctx, Object msg, List<Object> out)  
      protected void encode​(io.netty.channel.ChannelHandlerContext ctx, HttpMessage msg, List<Object> out)  
      • Methods inherited from class io.netty.handler.codec.MessageToMessageCodec

        acceptOutboundMessage, channelRead, channelReadComplete, write
      • Methods inherited from class io.netty.channel.ChannelDuplexHandler

        bind, close, connect, deregister, disconnect, flush, read
      • Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter

        channelActive, channelInactive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
      • Methods inherited from class io.netty.channel.ChannelHandlerAdapter

        ensureNotSharable, handlerAdded, handlerRemoved, isSharable
      • Methods inherited from interface io.netty.channel.ChannelHandler

        handlerAdded, handlerRemoved
    • Constructor Detail

      • SpdyHttpResponseStreamIdHandler

        public SpdyHttpResponseStreamIdHandler()