Class NotAggregatingInboundHttp2ToHttpAdapter

java.lang.Object
io.netty.handler.codec.http2.Http2EventAdapter
io.gatling.http.client.impl.NotAggregatingInboundHttp2ToHttpAdapter
All Implemented Interfaces:
io.netty.handler.codec.http2.Http2Connection.Listener, io.netty.handler.codec.http2.Http2FrameListener

public final class NotAggregatingInboundHttp2ToHttpAdapter extends io.netty.handler.codec.http2.Http2EventAdapter
Standard InboundHttp2ToHttpAdapter generates FullHttpResponse. This is not what we want.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    onDataRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, io.netty.buffer.ByteBuf data, int padding, boolean endOfStream)
     
    void
    onGoAwayRead(io.netty.channel.ChannelHandlerContext ctx, int lastStreamId, long errorCode, io.netty.buffer.ByteBuf debugData)
     
    void
    onHeadersRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, io.netty.handler.codec.http2.Http2Headers headers, int padding, boolean endOfStream)
     
    void
    onHeadersRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, io.netty.handler.codec.http2.Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endOfStream)
     
    void
    onSettingsRead(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http2.Http2Settings settings)
     

    Methods inherited from class io.netty.handler.codec.http2.Http2EventAdapter

    onGoAwayReceived, onGoAwaySent, onPingAckRead, onPingRead, onPriorityRead, onPushPromiseRead, onRstStreamRead, onSettingsAckRead, onStreamActive, onStreamAdded, onStreamClosed, onStreamHalfClosed, onStreamRemoved, onUnknownFrame, onWindowUpdateRead

    Methods inherited from class java.lang.Object

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

    • onDataRead

      public int onDataRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, io.netty.buffer.ByteBuf data, int padding, boolean endOfStream) throws io.netty.handler.codec.http2.Http2Exception
      Specified by:
      onDataRead in interface io.netty.handler.codec.http2.Http2FrameListener
      Overrides:
      onDataRead in class io.netty.handler.codec.http2.Http2EventAdapter
      Throws:
      io.netty.handler.codec.http2.Http2Exception
    • onHeadersRead

      public void onHeadersRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, io.netty.handler.codec.http2.Http2Headers headers, int padding, boolean endOfStream) throws io.netty.handler.codec.http2.Http2Exception
      Specified by:
      onHeadersRead in interface io.netty.handler.codec.http2.Http2FrameListener
      Overrides:
      onHeadersRead in class io.netty.handler.codec.http2.Http2EventAdapter
      Throws:
      io.netty.handler.codec.http2.Http2Exception
    • onHeadersRead

      public void onHeadersRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, io.netty.handler.codec.http2.Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endOfStream) throws io.netty.handler.codec.http2.Http2Exception
      Specified by:
      onHeadersRead in interface io.netty.handler.codec.http2.Http2FrameListener
      Overrides:
      onHeadersRead in class io.netty.handler.codec.http2.Http2EventAdapter
      Throws:
      io.netty.handler.codec.http2.Http2Exception
    • onGoAwayRead

      public void onGoAwayRead(io.netty.channel.ChannelHandlerContext ctx, int lastStreamId, long errorCode, io.netty.buffer.ByteBuf debugData)
      Specified by:
      onGoAwayRead in interface io.netty.handler.codec.http2.Http2FrameListener
      Overrides:
      onGoAwayRead in class io.netty.handler.codec.http2.Http2EventAdapter
    • onSettingsRead

      public void onSettingsRead(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http2.Http2Settings settings)
      Specified by:
      onSettingsRead in interface io.netty.handler.codec.http2.Http2FrameListener
      Overrides:
      onSettingsRead in class io.netty.handler.codec.http2.Http2EventAdapter