Class CustomDelegatingDecompressorFrameListener

java.lang.Object
io.netty.handler.codec.http2.Http2FrameListenerDecorator
io.netty.handler.codec.http2.DelegatingDecompressorFrameListener
io.gatling.http.client.impl.compression.CustomDelegatingDecompressorFrameListener
All Implemented Interfaces:
io.netty.handler.codec.http2.Http2FrameListener

public final class CustomDelegatingDecompressorFrameListener extends io.netty.handler.codec.http2.DelegatingDecompressorFrameListener
Extend DelegatingDecompressorFrameListener in order to retain the content-encoding header
  • Field Summary

    Fields inherited from class io.netty.handler.codec.http2.Http2FrameListenerDecorator

    listener
  • Constructor Summary

    Constructors
    Constructor
    Description
    CustomDelegatingDecompressorFrameListener(io.netty.handler.codec.http2.Http2Connection connection, io.netty.handler.codec.http2.Http2FrameListener listener)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected CharSequence
     

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

    newContentDecompressor, onDataRead, onHeadersRead, onHeadersRead

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

    onGoAwayRead, onPingAckRead, onPingRead, onPriorityRead, onPushPromiseRead, onRstStreamRead, onSettingsAckRead, onSettingsRead, onUnknownFrame, onWindowUpdateRead

    Methods inherited from class java.lang.Object

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

    • CustomDelegatingDecompressorFrameListener

      public CustomDelegatingDecompressorFrameListener(io.netty.handler.codec.http2.Http2Connection connection, io.netty.handler.codec.http2.Http2FrameListener listener)
  • Method Details

    • getTargetContentEncoding

      protected CharSequence getTargetContentEncoding(CharSequence contentEncoding)
      Overrides:
      getTargetContentEncoding in class io.netty.handler.codec.http2.DelegatingDecompressorFrameListener