public abstract class io.netty.handler.codec.http2.Http2ChannelDuplexHandler extends io.netty.channel.ChannelDuplexHandler
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.netty.handler.codec.http2.Http2ChannelDuplexHandler
super_class: io.netty.channel.ChannelDuplexHandler
{
private volatile io.netty.handler.codec.http2.Http2FrameCodec frameCodec;
descriptor: Lio/netty/handler/codec/http2/Http2FrameCodec;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial io.netty.channel.ChannelDuplexHandler.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/Http2ChannelDuplexHandler;
public final void handlerAdded(io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/netty/channel/ChannelHandlerContext;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic io.netty.handler.codec.http2.Http2ChannelDuplexHandler.requireHttp2FrameCodec:(Lio/netty/channel/ChannelHandlerContext;)Lio/netty/handler/codec/http2/Http2FrameCodec;
putfield io.netty.handler.codec.http2.Http2ChannelDuplexHandler.frameCodec:Lio/netty/handler/codec/http2/Http2FrameCodec;
1: aload 0
aload 1
invokevirtual io.netty.handler.codec.http2.Http2ChannelDuplexHandler.handlerAdded0:(Lio/netty/channel/ChannelHandlerContext;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/http2/Http2ChannelDuplexHandler;
0 3 1 ctx Lio/netty/channel/ChannelHandlerContext;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
protected void handlerAdded0(io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/netty/channel/ChannelHandlerContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/Http2ChannelDuplexHandler;
0 1 1 ctx Lio/netty/channel/ChannelHandlerContext;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
public final void handlerRemoved(io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/netty/channel/ChannelHandlerContext;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual io.netty.handler.codec.http2.Http2ChannelDuplexHandler.handlerRemoved0:(Lio/netty/channel/ChannelHandlerContext;)V
1: goto 5
StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 2
3: aload 0
aconst_null
putfield io.netty.handler.codec.http2.Http2ChannelDuplexHandler.frameCodec:Lio/netty/handler/codec/http2/Http2FrameCodec;
4: aload 2
athrow
5: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield io.netty.handler.codec.http2.Http2ChannelDuplexHandler.frameCodec:Lio/netty/handler/codec/http2/Http2FrameCodec;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/netty/handler/codec/http2/Http2ChannelDuplexHandler;
0 7 1 ctx Lio/netty/channel/ChannelHandlerContext;
Exception table:
from to target type
0 2 2 any
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
protected void handlerRemoved0(io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/netty/channel/ChannelHandlerContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/Http2ChannelDuplexHandler;
0 1 1 ctx Lio/netty/channel/ChannelHandlerContext;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
public final io.netty.handler.codec.http2.Http2FrameStream newStream();
descriptor: ()Lio/netty/handler/codec/http2/Http2FrameStream;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http2.Http2ChannelDuplexHandler.frameCodec:Lio/netty/handler/codec/http2/Http2FrameCodec;
astore 1
start local 1 1: aload 1
ifnonnull 5
2: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc Lio/netty/handler/codec/http2/Http2FrameCodec;
invokestatic io.netty.util.internal.StringUtil.simpleClassName:(Ljava/lang/Class;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " not found."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc " Has the handler been added to a pipeline?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: io.netty.handler.codec.http2.Http2FrameCodec
StackMap stack:
aload 1
invokevirtual io.netty.handler.codec.http2.Http2FrameCodec.newStream:()Lio/netty/handler/codec/http2/Http2FrameCodec$DefaultHttp2FrameStream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/handler/codec/http2/Http2ChannelDuplexHandler;
1 6 1 codec Lio/netty/handler/codec/http2/Http2FrameCodec;
protected final void forEachActiveStream(io.netty.handler.codec.http2.Http2FrameStreamVisitor);
descriptor: (Lio/netty/handler/codec/http2/Http2FrameStreamVisitor;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.handler.codec.http2.Http2ChannelDuplexHandler.frameCodec:Lio/netty/handler/codec/http2/Http2FrameCodec;
aload 1
invokevirtual io.netty.handler.codec.http2.Http2FrameCodec.forEachActiveStream:(Lio/netty/handler/codec/http2/Http2FrameStreamVisitor;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/Http2ChannelDuplexHandler;
0 2 1 streamVisitor Lio/netty/handler/codec/http2/Http2FrameStreamVisitor;
Exceptions:
throws io.netty.handler.codec.http2.Http2Exception
MethodParameters:
Name Flags
streamVisitor
private static io.netty.handler.codec.http2.Http2FrameCodec requireHttp2FrameCodec(io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/netty/channel/ChannelHandlerContext;)Lio/netty/handler/codec/http2/Http2FrameCodec;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface io.netty.channel.ChannelHandlerContext.pipeline:()Lio/netty/channel/ChannelPipeline;
ldc Lio/netty/handler/codec/http2/Http2FrameCodec;
invokeinterface io.netty.channel.ChannelPipeline.context:(Ljava/lang/Class;)Lio/netty/channel/ChannelHandlerContext;
astore 1
start local 1 1: aload 1
ifnonnull 5
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc Lio/netty/handler/codec/http2/Http2FrameCodec;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: ldc " was not found in the channel pipeline."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: io.netty.channel.ChannelHandlerContext
StackMap stack:
aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.handler:()Lio/netty/channel/ChannelHandler;
checkcast io.netty.handler.codec.http2.Http2FrameCodec
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 ctx Lio/netty/channel/ChannelHandlerContext;
1 6 1 frameCodecCtx Lio/netty/channel/ChannelHandlerContext;
MethodParameters:
Name Flags
ctx
}
SourceFile: "Http2ChannelDuplexHandler.java"
InnerClasses:
DefaultHttp2FrameStream = io.netty.handler.codec.http2.Http2FrameCodec$DefaultHttp2FrameStream of io.netty.handler.codec.http2.Http2FrameCodec