Class Http2StreamFrameClientCodec

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelDuplexHandler
io.netty.handler.codec.MessageToMessageCodec<io.netty.handler.codec.http2.Http2StreamFrame,io.netty.handler.codec.http.HttpObject>
com.linkedin.alpini.netty4.http2.AbstractHttp2StreamFrameCodec
com.linkedin.alpini.netty4.http2.Http2StreamFrameClientCodec
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler, io.netty.channel.ChannelOutboundHandler

public class Http2StreamFrameClientCodec extends AbstractHttp2StreamFrameCodec
  • Nested Class Summary

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

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

    Fields inherited from class com.linkedin.alpini.netty4.http2.AbstractHttp2StreamFrameCodec

    HTTP_TO_HTTP2_HEADER_DENY_LIST
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    Http2StreamFrameClientCodec(boolean validateHeaders)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected io.netty.handler.codec.http.FullHttpMessage
    newFullMessage(int id, io.netty.handler.codec.http2.Http2Headers headers, boolean validateHeaders, io.netty.buffer.ByteBufAllocator alloc)
     
    protected io.netty.handler.codec.http.HttpMessage
    newMessage(int id, io.netty.handler.codec.http2.Http2Headers headers, boolean validateHeaders)
     
    protected io.netty.handler.codec.http2.Http2Headers
    toHttp2Headers(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.HttpMessage msg, boolean validateHeaders)
     

    Methods inherited from class io.netty.handler.codec.MessageToMessageCodec

    acceptOutboundMessage, channelRead, 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, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered

    Methods inherited from class io.netty.channel.ChannelHandlerAdapter

    ensureNotSharable, handlerRemoved, isSharable

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.netty.channel.ChannelHandler

    handlerRemoved
  • Constructor Details

    • Http2StreamFrameClientCodec

      public Http2StreamFrameClientCodec()
    • Http2StreamFrameClientCodec

      public Http2StreamFrameClientCodec(boolean validateHeaders)
  • Method Details

    • toHttp2Headers

      protected io.netty.handler.codec.http2.Http2Headers toHttp2Headers(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.HttpMessage msg, boolean validateHeaders) throws io.netty.handler.codec.http2.Http2Exception
      Specified by:
      toHttp2Headers in class AbstractHttp2StreamFrameCodec
      Throws:
      io.netty.handler.codec.http2.Http2Exception
    • newMessage

      protected io.netty.handler.codec.http.HttpMessage newMessage(int id, io.netty.handler.codec.http2.Http2Headers headers, boolean validateHeaders) throws io.netty.handler.codec.http2.Http2Exception
      Specified by:
      newMessage in class AbstractHttp2StreamFrameCodec
      Throws:
      io.netty.handler.codec.http2.Http2Exception
    • newFullMessage

      protected io.netty.handler.codec.http.FullHttpMessage newFullMessage(int id, io.netty.handler.codec.http2.Http2Headers headers, boolean validateHeaders, io.netty.buffer.ByteBufAllocator alloc) throws io.netty.handler.codec.http2.Http2Exception
      Specified by:
      newFullMessage in class AbstractHttp2StreamFrameCodec
      Throws:
      io.netty.handler.codec.http2.Http2Exception