io.netty.handler.codec.http2.Http2Flags Java Examples

The following examples show how to use io.netty.handler.codec.http2.Http2Flags. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DynamicHttp2FrameLogger.java    From zuul with Apache License 2.0 5 votes vote down vote up
public void logUnknownFrame(Direction direction, ChannelHandlerContext ctx, byte frameType, int streamId,
                            Http2Flags flags, ByteBuf data) {
    if (enabled()) {
        log(direction, "UNKNOWN", ctx, "frameType=%d, streamId=%d, flags=%d, length=%d, bytes=%s",
                frameType & 0xFF, streamId, flags.value(), data.readableBytes(), toString(data));
    }
}
 
Example #2
Source File: HelloWorldHttp2Handler.java    From netty-4.1.22 with Apache License 2.0 4 votes vote down vote up
@Override
public void onUnknownFrame(ChannelHandlerContext ctx, byte frameType, int streamId,
                           Http2Flags flags, ByteBuf payload) {
}
 
Example #3
Source File: HelloWorldHttp2Handler.java    From netty-4.1.22 with Apache License 2.0 4 votes vote down vote up
@Override
public void onUnknownFrame(ChannelHandlerContext ctx, byte frameType, int streamId,
                           Http2Flags flags, ByteBuf payload) {
}
 
Example #4
Source File: Http2Handler.java    From product-microgateway with Apache License 2.0 4 votes vote down vote up
@Override
public void onUnknownFrame(ChannelHandlerContext ctx, byte frameType, int streamId,
                           Http2Flags flags, ByteBuf payload) {
}
 
Example #5
Source File: Http2ServerChannelHandler.java    From sofa-rpc with Apache License 2.0 4 votes vote down vote up
@Override
public void onUnknownFrame(ChannelHandlerContext ctx, byte frameType, int streamId,
                           Http2Flags flags, ByteBuf payload) {
}
 
Example #6
Source File: Http2UnknownEvent.java    From cute-proxy with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public Http2UnknownEvent(byte frameType, int streamId, Http2Flags flags, ByteBuf payload) {
    super(frameType, streamId);
    this.flags = flags;
    this.payload = payload;
}
 
Example #7
Source File: Http2UnknownEvent.java    From cute-proxy with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public Http2Flags flags() {
    return flags;
}
 
Example #8
Source File: Http2ResponseDecoder.java    From armeria with Apache License 2.0 4 votes vote down vote up
@Override
public void onUnknownFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags,
                           ByteBuf payload) {}
 
Example #9
Source File: Http2FrameForwarder.java    From xio with Apache License 2.0 4 votes vote down vote up
@Override
public void onUnknownFrame(
    ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload) {
  // TODO(CK): We don't currently have a use case for these frames
}
 
Example #10
Source File: Http2ServerHandler.java    From glowroot with Apache License 2.0 4 votes vote down vote up
@Override
public void onUnknownFrame(ChannelHandlerContext ctx, byte frameType, int streamId,
        Http2Flags flags, ByteBuf payload) {}