java.lang.Object
io.helidon.http.http2.Http2LoggingFrameListener
- All Implemented Interfaces:
Http2FrameListener
HTTP/2 frame listener that logs all calls.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidframe(io.helidon.common.socket.SocketContext ctx, int streamId, io.helidon.common.buffers.BufferData data) Frame data.voidframe(io.helidon.common.socket.SocketContext ctx, int streamId, Http2GoAway go) Go away frame.voidPing frame.voidframe(io.helidon.common.socket.SocketContext ctx, int streamId, Http2Priority priority) Priority frame.voidframe(io.helidon.common.socket.SocketContext ctx, int streamId, Http2RstStream rstStream) RST stream frame.voidframe(io.helidon.common.socket.SocketContext ctx, int streamId, Http2Settings settings) Settings frame.voidframe(io.helidon.common.socket.SocketContext ctx, int streamId, Http2WindowUpdate windowUpdate) Window update frame.voidframeHeader(io.helidon.common.socket.SocketContext ctx, int streamId, io.helidon.common.buffers.BufferData headerData) Frame header data.voidframeHeader(io.helidon.common.socket.SocketContext ctx, int streamId, Http2FrameHeader frameHeader) Frame header.voidheaders(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, waitMethods inherited from interface io.helidon.http.http2.Http2FrameListener
frame, frame
-
Constructor Details
-
Http2LoggingFrameListener
Create listener with a prefix.- Parameters:
prefix- log prefix and logging output prefix (such assendandrecv)
-
-
Method Details
-
frameHeader
public void frameHeader(io.helidon.common.socket.SocketContext ctx, int streamId, io.helidon.common.buffers.BufferData headerData) Description copied from interface:Http2FrameListenerFrame header data.- Specified by:
frameHeaderin interfaceHttp2FrameListener- Parameters:
ctx- contextstreamId- id of the stream that triggered this eventheaderData- header data
-
frameHeader
public void frameHeader(io.helidon.common.socket.SocketContext ctx, int streamId, Http2FrameHeader frameHeader) Description copied from interface:Http2FrameListenerFrame header.- Specified by:
frameHeaderin interfaceHttp2FrameListener- Parameters:
ctx- contextstreamId- id of the stream that triggered this eventframeHeader- frame header
-
frame
public void frame(io.helidon.common.socket.SocketContext ctx, int streamId, io.helidon.common.buffers.BufferData data) Description copied from interface:Http2FrameListenerFrame data.- Specified by:
framein interfaceHttp2FrameListener- Parameters:
ctx- contextstreamId- id of the stream that triggered this eventdata- frame data
-
frame
Description copied from interface:Http2FrameListenerPriority frame.- Specified by:
framein interfaceHttp2FrameListener- Parameters:
ctx- contextstreamId- id of the stream that triggered this eventpriority- priority
-
frame
public void frame(io.helidon.common.socket.SocketContext ctx, int streamId, Http2RstStream rstStream) Description copied from interface:Http2FrameListenerRST stream frame.- Specified by:
framein interfaceHttp2FrameListener- Parameters:
ctx- contextstreamId- id of the stream that triggered this eventrstStream- rst stream
-
frame
Description copied from interface:Http2FrameListenerSettings frame.- Specified by:
framein interfaceHttp2FrameListener- Parameters:
ctx- contextstreamId- id of the stream that triggered this eventsettings- settings
-
frame
Description copied from interface:Http2FrameListenerPing frame.- Specified by:
framein interfaceHttp2FrameListener- Parameters:
ctx- contextstreamId- id of the stream that triggered this eventping- ping
-
frame
Description copied from interface:Http2FrameListenerGo away frame.- Specified by:
framein interfaceHttp2FrameListener- Parameters:
ctx- contextstreamId- id of the stream that triggered this eventgo- go away
-
frame
public void frame(io.helidon.common.socket.SocketContext ctx, int streamId, Http2WindowUpdate windowUpdate) Description copied from interface:Http2FrameListenerWindow update frame.- Specified by:
framein interfaceHttp2FrameListener- Parameters:
ctx- contextstreamId- id of the stream that triggered this eventwindowUpdate- window update
-
headers
Description copied from interface:Http2FrameListenerHeaders received.- Specified by:
headersin interfaceHttp2FrameListener- Parameters:
ctx- contextstreamId- HTTP/2 stream ID to augment the server socket id and server connection idheaders- headers
-