public class Http2FrameLogger extends ChannelHandlerAdapter
Modifier and Type | Class and Description |
---|---|
static class |
Http2FrameLogger.Direction |
ChannelHandler.Sharable
Constructor and Description |
---|
Http2FrameLogger(LogLevel level) |
Http2FrameLogger(LogLevel level,
Class<?> clazz) |
Http2FrameLogger(LogLevel level,
String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled() |
void |
logData(Http2FrameLogger.Direction direction,
ChannelHandlerContext ctx,
int streamId,
ByteBuf data,
int padding,
boolean endStream) |
void |
logGoAway(Http2FrameLogger.Direction direction,
ChannelHandlerContext ctx,
int lastStreamId,
long errorCode,
ByteBuf debugData) |
void |
logHeaders(Http2FrameLogger.Direction direction,
ChannelHandlerContext ctx,
int streamId,
Http2Headers headers,
int padding,
boolean endStream) |
void |
logHeaders(Http2FrameLogger.Direction direction,
ChannelHandlerContext ctx,
int streamId,
Http2Headers headers,
int streamDependency,
short weight,
boolean exclusive,
int padding,
boolean endStream) |
void |
logPing(Http2FrameLogger.Direction direction,
ChannelHandlerContext ctx,
long data) |
void |
logPingAck(Http2FrameLogger.Direction direction,
ChannelHandlerContext ctx,
long data) |
void |
logPriority(Http2FrameLogger.Direction direction,
ChannelHandlerContext ctx,
int streamId,
int streamDependency,
short weight,
boolean exclusive) |
void |
logPushPromise(Http2FrameLogger.Direction direction,
ChannelHandlerContext ctx,
int streamId,
int promisedStreamId,
Http2Headers headers,
int padding) |
void |
logRstStream(Http2FrameLogger.Direction direction,
ChannelHandlerContext ctx,
int streamId,
long errorCode) |
void |
logSettings(Http2FrameLogger.Direction direction,
ChannelHandlerContext ctx,
Http2Settings settings) |
void |
logSettingsAck(Http2FrameLogger.Direction direction,
ChannelHandlerContext ctx) |
void |
logUnknownFrame(Http2FrameLogger.Direction direction,
ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf data) |
void |
logWindowsUpdate(Http2FrameLogger.Direction direction,
ChannelHandlerContext ctx,
int streamId,
int windowSizeIncrement) |
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
public Http2FrameLogger(LogLevel level)
public boolean isEnabled()
public void logData(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endStream)
public void logHeaders(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream)
public void logHeaders(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream)
public void logPriority(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive)
public void logRstStream(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int streamId, long errorCode)
public void logSettingsAck(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx)
public void logSettings(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, Http2Settings settings)
public void logPing(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, long data)
public void logPingAck(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, long data)
public void logPushPromise(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding)
public void logGoAway(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData)
public void logWindowsUpdate(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, int streamId, int windowSizeIncrement)
public void logUnknownFrame(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf data)
Copyright © 2008–2024 The Netty Project. All rights reserved.