class io.undertow.protocols.http2.Http2PingStreamSinkChannel extends io.undertow.protocols.http2.Http2NoDataStreamSinkChannel
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.undertow.protocols.http2.Http2PingStreamSinkChannel
super_class: io.undertow.protocols.http2.Http2NoDataStreamSinkChannel
{
public static final int ;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2054
private final byte[] data;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean ack;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>(io.undertow.protocols.http2.Http2Channel, byte[], boolean);
descriptor: (Lio/undertow/protocols/http2/Http2Channel;[BZ)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial io.undertow.protocols.http2.Http2NoDataStreamSinkChannel.<init>:(Lio/undertow/protocols/http2/Http2Channel;)V
1: aload 2
arraylength
bipush 8
if_icmpeq 3
2: new java.lang.IllegalArgumentException
dup
getstatic io.undertow.UndertowMessages.MESSAGES:Lio/undertow/UndertowMessages;
invokeinterface io.undertow.UndertowMessages.httpPingDataMustBeLength8:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: io.undertow.protocols.http2.Http2PingStreamSinkChannel io.undertow.protocols.http2.Http2Channel byte[] int
StackMap stack:
aload 0
aload 2
putfield io.undertow.protocols.http2.Http2PingStreamSinkChannel.data:[B
4: aload 0
iload 3
putfield io.undertow.protocols.http2.Http2PingStreamSinkChannel.ack:Z
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/undertow/protocols/http2/Http2PingStreamSinkChannel;
0 6 1 channel Lio/undertow/protocols/http2/Http2Channel;
0 6 2 data [B
0 6 3 ack Z
MethodParameters:
Name Flags
channel
data
ack
protected io.undertow.server.protocol.framed.SendFrameHeader ();
descriptor: ()Lio/undertow/server/protocol/framed/SendFrameHeader;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=1
start local 0 0: bipush 17
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 1
sipush 2054
invokestatic io.undertow.protocols.http2.Http2ProtocolUtils.putInt:(Ljava/nio/ByteBuffer;I)V
2: aload 1
aload 0
getfield io.undertow.protocols.http2.Http2PingStreamSinkChannel.ack:Z
ifeq 3
iconst_1
goto 4
StackMap locals: io.undertow.protocols.http2.Http2PingStreamSinkChannel java.nio.ByteBuffer
StackMap stack: java.nio.ByteBuffer
3: iconst_0
StackMap locals: io.undertow.protocols.http2.Http2PingStreamSinkChannel java.nio.ByteBuffer
StackMap stack: java.nio.ByteBuffer int
4: i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
5: aload 1
iconst_0
invokestatic io.undertow.protocols.http2.Http2ProtocolUtils.putInt:(Ljava/nio/ByteBuffer;I)V
6: iconst_0
istore 2
start local 2 7: goto 10
8: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield io.undertow.protocols.http2.Http2PingStreamSinkChannel.data:[B
iload 2
baload
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
9: iinc 2 1
StackMap locals:
StackMap stack:
10: iload 2
bipush 8
if_icmplt 8
end local 2 11: aload 1
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
12: new io.undertow.server.protocol.framed.SendFrameHeader
dup
new io.undertow.util.ImmediatePooledByteBuffer
dup
aload 1
invokespecial io.undertow.util.ImmediatePooledByteBuffer.<init>:(Ljava/nio/ByteBuffer;)V
invokespecial io.undertow.server.protocol.framed.SendFrameHeader.<init>:(Lio/undertow/connector/PooledByteBuffer;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/undertow/protocols/http2/Http2PingStreamSinkChannel;
1 13 1 buf Ljava/nio/ByteBuffer;
7 11 2 i I
}
SourceFile: "Http2PingStreamSinkChannel.java"