Package io.gatling.http.client.impl
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 TypeMethodDescriptionintonDataRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, io.netty.buffer.ByteBuf data, int padding, boolean endOfStream) voidonGoAwayRead(io.netty.channel.ChannelHandlerContext ctx, int lastStreamId, long errorCode, io.netty.buffer.ByteBuf debugData) voidonHeadersRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, io.netty.handler.codec.http2.Http2Headers headers, int padding, boolean endOfStream) voidonHeadersRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, io.netty.handler.codec.http2.Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endOfStream) voidonSettingsRead(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
-
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:
onDataReadin interfaceio.netty.handler.codec.http2.Http2FrameListener- Overrides:
onDataReadin classio.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:
onHeadersReadin interfaceio.netty.handler.codec.http2.Http2FrameListener- Overrides:
onHeadersReadin classio.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:
onHeadersReadin interfaceio.netty.handler.codec.http2.Http2FrameListener- Overrides:
onHeadersReadin classio.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:
onGoAwayReadin interfaceio.netty.handler.codec.http2.Http2FrameListener- Overrides:
onGoAwayReadin classio.netty.handler.codec.http2.Http2EventAdapter
-
onSettingsRead
public void onSettingsRead(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http2.Http2Settings settings) - Specified by:
onSettingsReadin interfaceio.netty.handler.codec.http2.Http2FrameListener- Overrides:
onSettingsReadin classio.netty.handler.codec.http2.Http2EventAdapter
-