Class Http2LoggingFrameListener

java.lang.Object
io.helidon.http.http2.Http2LoggingFrameListener
All Implemented Interfaces:
Http2FrameListener

public class Http2LoggingFrameListener extends Object implements Http2FrameListener
HTTP/2 frame listener that logs all calls.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Create listener with a prefix.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    frame(io.helidon.common.socket.SocketContext ctx, int streamId, io.helidon.common.buffers.BufferData data)
    Frame data.
    void
    frame(io.helidon.common.socket.SocketContext ctx, int streamId, Http2GoAway go)
    Go away frame.
    void
    frame(io.helidon.common.socket.SocketContext ctx, int streamId, Http2Ping ping)
    Ping frame.
    void
    frame(io.helidon.common.socket.SocketContext ctx, int streamId, Http2Priority priority)
    Priority frame.
    void
    frame(io.helidon.common.socket.SocketContext ctx, int streamId, Http2RstStream rstStream)
    RST stream frame.
    void
    frame(io.helidon.common.socket.SocketContext ctx, int streamId, Http2Settings settings)
    Settings frame.
    void
    frame(io.helidon.common.socket.SocketContext ctx, int streamId, Http2WindowUpdate windowUpdate)
    Window update frame.
    void
    frameHeader(io.helidon.common.socket.SocketContext ctx, int streamId, io.helidon.common.buffers.BufferData headerData)
    Frame header data.
    void
    frameHeader(io.helidon.common.socket.SocketContext ctx, int streamId, Http2FrameHeader frameHeader)
    Frame header.
    void
    headers(io.helidon.common.socket.SocketContext ctx, int streamId, Http2Headers headers)
    Headers received.

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface io.helidon.http.http2.Http2FrameListener

    frame, frame
  • Constructor Details

    • Http2LoggingFrameListener

      public Http2LoggingFrameListener(String prefix)
      Create listener with a prefix.
      Parameters:
      prefix - log prefix and logging output prefix (such as send and recv)
  • Method Details

    • frameHeader

      public void frameHeader(io.helidon.common.socket.SocketContext ctx, int streamId, io.helidon.common.buffers.BufferData headerData)
      Description copied from interface: Http2FrameListener
      Frame header data.
      Specified by:
      frameHeader in interface Http2FrameListener
      Parameters:
      ctx - context
      streamId - id of the stream that triggered this event
      headerData - header data
    • frameHeader

      public void frameHeader(io.helidon.common.socket.SocketContext ctx, int streamId, Http2FrameHeader frameHeader)
      Description copied from interface: Http2FrameListener
      Frame header.
      Specified by:
      frameHeader in interface Http2FrameListener
      Parameters:
      ctx - context
      streamId - id of the stream that triggered this event
      frameHeader - frame header
    • frame

      public void frame(io.helidon.common.socket.SocketContext ctx, int streamId, io.helidon.common.buffers.BufferData data)
      Description copied from interface: Http2FrameListener
      Frame data.
      Specified by:
      frame in interface Http2FrameListener
      Parameters:
      ctx - context
      streamId - id of the stream that triggered this event
      data - frame data
    • frame

      public void frame(io.helidon.common.socket.SocketContext ctx, int streamId, Http2Priority priority)
      Description copied from interface: Http2FrameListener
      Priority frame.
      Specified by:
      frame in interface Http2FrameListener
      Parameters:
      ctx - context
      streamId - id of the stream that triggered this event
      priority - priority
    • frame

      public void frame(io.helidon.common.socket.SocketContext ctx, int streamId, Http2RstStream rstStream)
      Description copied from interface: Http2FrameListener
      RST stream frame.
      Specified by:
      frame in interface Http2FrameListener
      Parameters:
      ctx - context
      streamId - id of the stream that triggered this event
      rstStream - rst stream
    • frame

      public void frame(io.helidon.common.socket.SocketContext ctx, int streamId, Http2Settings settings)
      Description copied from interface: Http2FrameListener
      Settings frame.
      Specified by:
      frame in interface Http2FrameListener
      Parameters:
      ctx - context
      streamId - id of the stream that triggered this event
      settings - settings
    • frame

      public void frame(io.helidon.common.socket.SocketContext ctx, int streamId, Http2Ping ping)
      Description copied from interface: Http2FrameListener
      Ping frame.
      Specified by:
      frame in interface Http2FrameListener
      Parameters:
      ctx - context
      streamId - id of the stream that triggered this event
      ping - ping
    • frame

      public void frame(io.helidon.common.socket.SocketContext ctx, int streamId, Http2GoAway go)
      Description copied from interface: Http2FrameListener
      Go away frame.
      Specified by:
      frame in interface Http2FrameListener
      Parameters:
      ctx - context
      streamId - id of the stream that triggered this event
      go - go away
    • frame

      public void frame(io.helidon.common.socket.SocketContext ctx, int streamId, Http2WindowUpdate windowUpdate)
      Description copied from interface: Http2FrameListener
      Window update frame.
      Specified by:
      frame in interface Http2FrameListener
      Parameters:
      ctx - context
      streamId - id of the stream that triggered this event
      windowUpdate - window update
    • headers

      public void headers(io.helidon.common.socket.SocketContext ctx, int streamId, Http2Headers headers)
      Description copied from interface: Http2FrameListener
      Headers received.
      Specified by:
      headers in interface Http2FrameListener
      Parameters:
      ctx - context
      streamId - HTTP/2 stream ID to augment the server socket id and server connection id
      headers - headers