Class Http2AccessLogFrameListener

java.lang.Object
io.netty.handler.codec.http2.Http2FrameListenerDecorator
io.micronaut.http.server.netty.handler.accesslog.Http2AccessLogFrameListener
All Implemented Interfaces:
io.netty.handler.codec.http2.Http2FrameListener

@Internal public final class Http2AccessLogFrameListener extends io.netty.handler.codec.http2.Http2FrameListenerDecorator
Special Http2FrameListener that logs the request data.
Since:
4.4.2
Author:
Jonas Konrad
  • Field Summary

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

    listener
  • Constructor Summary

    Constructors
    Constructor
    Description
    Http2AccessLogFrameListener(io.netty.handler.codec.http2.Http2FrameListener listener, Http2AccessLogManager manager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onHeadersRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, io.netty.handler.codec.http2.Http2Headers headers, int padding, boolean endStream)
     
    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 endStream)
     

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

    onDataRead, 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

    • Http2AccessLogFrameListener

      public Http2AccessLogFrameListener(io.netty.handler.codec.http2.Http2FrameListener listener, Http2AccessLogManager manager)
  • Method Details

    • onHeadersRead

      public void onHeadersRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, io.netty.handler.codec.http2.Http2Headers headers, int padding, boolean endStream) 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.Http2FrameListenerDecorator
      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 endStream) 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.Http2FrameListenerDecorator
      Throws:
      io.netty.handler.codec.http2.Http2Exception