public class io.undertow.server.protocol.ajp.AjpServerRequestConduit extends org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.undertow.server.protocol.ajp.AjpServerRequestConduit
super_class: org.xnio.conduits.AbstractStreamSourceConduit
{
private static final java.nio.ByteBuffer READ_BODY_CHUNK;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int ;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 6
private static final long STATE_READING;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -9223372036854775808
private static final long STATE_SEND_REQUIRED;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4611686018427387904
private static final long STATE_FINISHED;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2305843009213693952
private static final long STATE_MASK;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final io.undertow.server.HttpServerExchange exchange;
descriptor: Lio/undertow/server/HttpServerExchange;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.undertow.server.protocol.ajp.AjpServerResponseConduit ajpResponseConduit;
descriptor: Lio/undertow/server/protocol/ajp/AjpServerResponseConduit;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.ByteBuffer ;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.undertow.conduits.ConduitListener<? super io.undertow.server.protocol.ajp.AjpServerRequestConduit> finishListener;
descriptor: Lio/undertow/conduits/ConduitListener;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lio/undertow/conduits/ConduitListener<-Lio/undertow/server/protocol/ajp/AjpServerRequestConduit;>;
private long remaining;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long state;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long totalRead;
descriptor: J
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: ldc Lio/undertow/server/protocol/ajp/AjpServerRequestConduit;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic io.undertow.server.protocol.ajp.AjpServerRequestConduit.$assertionsDisabled:Z
3: bipush 7
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
astore 0
start local 0 4: aload 0
bipush 65
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
5: aload 0
bipush 66
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
6: aload 0
iconst_0
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
7: aload 0
iconst_3
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
8: aload 0
bipush 6
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
9: aload 0
bipush 31
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
10: aload 0
bipush -6
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
11: aload 0
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
12: aload 0
putstatic io.undertow.server.protocol.ajp.AjpServerRequestConduit.READ_BODY_CHUNK:Ljava/nio/ByteBuffer;
end local 0 13: iconst_0
bipush 60
invokestatic org.xnio.Bits.longBitMask:(II)J
putstatic io.undertow.server.protocol.ajp.AjpServerRequestConduit.STATE_MASK:J
return
LocalVariableTable:
Start End Slot Name Signature
4 13 0 readBody Ljava/nio/ByteBuffer;
public void <init>(org.xnio.conduits.StreamSourceConduit, io.undertow.server.HttpServerExchange, io.undertow.server.protocol.ajp.AjpServerResponseConduit, java.lang.Long, io.undertow.conduits.ConduitListener<? super io.undertow.server.protocol.ajp.AjpServerRequestConduit>);
descriptor: (Lorg/xnio/conduits/StreamSourceConduit;Lio/undertow/server/HttpServerExchange;Lio/undertow/server/protocol/ajp/AjpServerResponseConduit;Ljava/lang/Long;Lio/undertow/conduits/ConduitListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
invokespecial org.xnio.conduits.AbstractStreamSourceConduit.<init>:(Lorg/xnio/conduits/StreamSourceConduit;)V
1: aload 0
bipush 6
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.headerBuffer:Ljava/nio/ByteBuffer;
2: aload 0
aload 2
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.exchange:Lio/undertow/server/HttpServerExchange;
3: aload 0
aload 3
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.ajpResponseConduit:Lio/undertow/server/protocol/ajp/AjpServerResponseConduit;
4: aload 0
aload 5
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.finishListener:Lio/undertow/conduits/ConduitListener;
5: aload 4
ifnonnull 9
6: aload 0
ldc 4611686018427387904
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.state:J
7: aload 0
ldc -1
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.remaining:J
8: goto 15
StackMap locals: io.undertow.server.protocol.ajp.AjpServerRequestConduit org.xnio.conduits.StreamSourceConduit io.undertow.server.HttpServerExchange io.undertow.server.protocol.ajp.AjpServerResponseConduit java.lang.Long io.undertow.conduits.ConduitListener
StackMap stack:
9: aload 4
invokevirtual java.lang.Long.longValue:()J
lconst_0
lcmp
ifne 13
10: aload 0
ldc 2305843009213693952
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.state:J
11: aload 0
lconst_0
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.remaining:J
12: goto 15
13: StackMap locals:
StackMap stack:
aload 0
ldc -9223372036854775808
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.state:J
14: aload 0
aload 4
invokevirtual java.lang.Long.longValue:()J
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.remaining:J
15: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lio/undertow/server/protocol/ajp/AjpServerRequestConduit;
0 16 1 delegate Lorg/xnio/conduits/StreamSourceConduit;
0 16 2 exchange Lio/undertow/server/HttpServerExchange;
0 16 3 ajpResponseConduit Lio/undertow/server/protocol/ajp/AjpServerResponseConduit;
0 16 4 size Ljava/lang/Long;
0 16 5 finishListener Lio/undertow/conduits/ConduitListener<-Lio/undertow/server/protocol/ajp/AjpServerRequestConduit;>;
Signature: (Lorg/xnio/conduits/StreamSourceConduit;Lio/undertow/server/HttpServerExchange;Lio/undertow/server/protocol/ajp/AjpServerResponseConduit;Ljava/lang/Long;Lio/undertow/conduits/ConduitListener<-Lio/undertow/server/protocol/ajp/AjpServerRequestConduit;>;)V
MethodParameters:
Name Flags
delegate final
exchange
ajpResponseConduit
size
finishListener
public long transferTo(long, long, java.nio.channels.FileChannel);
descriptor: (JJLjava/nio/channels/FileChannel;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 3 start local 5 0: aload 5
new org.xnio.conduits.ConduitReadableByteChannel
dup
aload 0
invokespecial org.xnio.conduits.ConduitReadableByteChannel.<init>:(Lorg/xnio/conduits/StreamSourceConduit;)V
lload 1
lload 3
invokevirtual java.nio.channels.FileChannel.transferFrom:(Ljava/nio/channels/ReadableByteChannel;JJ)J
1: lreturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 6
start local 6 3: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.exchange:Lio/undertow/server/HttpServerExchange;
invokevirtual io.undertow.server.HttpServerExchange.getConnection:()Lio/undertow/server/ServerConnection;
invokestatic org.xnio.IoUtils.safeClose:(Ljava/io/Closeable;)V
4: aload 6
athrow
end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/undertow/server/protocol/ajp/AjpServerRequestConduit;
0 5 1 position J
0 5 3 count J
0 5 5 target Ljava/nio/channels/FileChannel;
3 5 6 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.io.IOException
0 1 2 Class java.lang.RuntimeException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
position
count
target
public long transferTo(long, java.nio.ByteBuffer, org.xnio.channels.StreamSinkChannel);
descriptor: (JLjava/nio/ByteBuffer;Lorg/xnio/channels/StreamSinkChannel;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 4 0: new org.xnio.conduits.ConduitReadableByteChannel
dup
aload 0
invokespecial org.xnio.conduits.ConduitReadableByteChannel.<init>:(Lorg/xnio/conduits/StreamSourceConduit;)V
lload 1
aload 3
aload 4
invokestatic org.xnio.IoUtils.transfer:(Ljava/nio/channels/ReadableByteChannel;JLjava/nio/ByteBuffer;Ljava/nio/channels/WritableByteChannel;)J
1: lreturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 5
start local 5 3: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.exchange:Lio/undertow/server/HttpServerExchange;
invokevirtual io.undertow.server.HttpServerExchange.getConnection:()Lio/undertow/server/ServerConnection;
invokestatic org.xnio.IoUtils.safeClose:(Ljava/io/Closeable;)V
4: aload 5
athrow
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/undertow/server/protocol/ajp/AjpServerRequestConduit;
0 5 1 count J
0 5 3 throughBuffer Ljava/nio/ByteBuffer;
0 5 4 target Lorg/xnio/channels/StreamSinkChannel;
3 5 5 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.io.IOException
0 1 2 Class java.lang.RuntimeException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
count
throughBuffer
target
public void terminateReads();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.exchange:Lio/undertow/server/HttpServerExchange;
invokevirtual io.undertow.server.HttpServerExchange.isPersistent:()Z
ifeq 2
aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.state:J
ldc 2305843009213693952
invokestatic org.xnio.Bits.anyAreSet:(JJ)Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokespecial org.xnio.conduits.AbstractStreamSourceConduit.terminateReads:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/undertow/server/protocol/ajp/AjpServerRequestConduit;
Exceptions:
throws java.io.IOException
public long read(java.nio.ByteBuffer[], int, int);
descriptor: ([Ljava/nio/ByteBuffer;II)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: lconst_0
lstore 4
start local 4 1: iload 2
istore 6
start local 6 2: goto 13
3: StackMap locals: long int
StackMap stack:
aload 0
aload 1
iload 6
aaload
invokevirtual io.undertow.server.protocol.ajp.AjpServerRequestConduit.read:(Ljava/nio/ByteBuffer;)I
istore 7
start local 7 4: iload 7
ifgt 7
lload 4
lconst_0
lcmp
ifle 7
5: lload 4
6: lreturn
7: StackMap locals: int
StackMap stack:
iload 7
ifgt 10
8: iload 7
i2l
9: lreturn
10: StackMap locals:
StackMap stack:
lload 4
iload 7
i2l
ladd
lstore 4
end local 7 11: StackMap locals:
StackMap stack:
aload 1
iload 6
aaload
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 3
12: iinc 6 1
StackMap locals:
StackMap stack:
13: iload 6
iload 3
if_icmplt 11
end local 6 14: lload 4
15: lreturn
end local 4 16: StackMap locals: io.undertow.server.protocol.ajp.AjpServerRequestConduit java.nio.ByteBuffer[] int int
StackMap stack: java.lang.Exception
astore 4
start local 4 17: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.exchange:Lio/undertow/server/HttpServerExchange;
invokevirtual io.undertow.server.HttpServerExchange.getConnection:()Lio/undertow/server/ServerConnection;
invokestatic org.xnio.IoUtils.safeClose:(Ljava/io/Closeable;)V
18: aload 4
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lio/undertow/server/protocol/ajp/AjpServerRequestConduit;
0 19 1 dsts [Ljava/nio/ByteBuffer;
0 19 2 offset I
0 19 3 length I
1 16 4 total J
2 14 6 i I
4 11 7 r I
17 19 4 e Ljava/lang/Exception;
Exception table:
from to target type
0 6 16 Class java.io.IOException
7 9 16 Class java.io.IOException
10 15 16 Class java.io.IOException
0 6 16 Class java.lang.RuntimeException
7 9 16 Class java.lang.RuntimeException
10 15 16 Class java.lang.RuntimeException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dsts
offset
length
public int read(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.state:J
lstore 2
start local 2 1: lload 2
ldc 2305843009213693952
invokestatic org.xnio.Bits.anyAreSet:(JJ)Z
ifeq 3
2: iconst_m1
ireturn
3: StackMap locals: long
StackMap stack:
lload 2
ldc 4611686018427387904
invokestatic org.xnio.Bits.anyAreSet:(JJ)Z
ifeq 12
4: aload 0
lload 2
getstatic io.undertow.server.protocol.ajp.AjpServerRequestConduit.STATE_MASK:J
land
ldc -9223372036854775808
lor
dup2_x1
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.state:J
lstore 2
5: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.ajpResponseConduit:Lio/undertow/server/protocol/ajp/AjpServerResponseConduit;
invokevirtual io.undertow.server.protocol.ajp.AjpServerResponseConduit.isWriteShutdown:()Z
ifeq 10
6: aload 0
ldc 2305843009213693952
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.state:J
7: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.finishListener:Lio/undertow/conduits/ConduitListener;
ifnull 9
8: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.finishListener:Lio/undertow/conduits/ConduitListener;
aload 0
invokeinterface io.undertow.conduits.ConduitListener.handleEvent:(Lorg/xnio/conduits/Conduit;)V
9: StackMap locals:
StackMap stack:
iconst_m1
ireturn
10: StackMap locals:
StackMap stack:
aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.ajpResponseConduit:Lio/undertow/server/protocol/ajp/AjpServerResponseConduit;
getstatic io.undertow.server.protocol.ajp.AjpServerRequestConduit.READ_BODY_CHUNK:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
aload 0
invokevirtual io.undertow.server.protocol.ajp.AjpServerResponseConduit.doGetRequestBodyChunk:(Ljava/nio/ByteBuffer;Lio/undertow/server/protocol/ajp/AjpServerRequestConduit;)Z
ifne 12
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
lload 2
ldc -9223372036854775808
invokestatic org.xnio.Bits.anyAreSet:(JJ)Z
ifeq 15
13: aload 0
aload 1
lload 2
invokevirtual io.undertow.server.protocol.ajp.AjpServerRequestConduit.doRead:(Ljava/nio/ByteBuffer;J)I
14: ireturn
15: StackMap locals:
StackMap stack:
getstatic io.undertow.server.protocol.ajp.AjpServerRequestConduit.$assertionsDisabled:Z
ifne 16
ldc 2305843009213693952
lload 2
lcmp
ifeq 16
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
16: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 2 17: StackMap locals: io.undertow.server.protocol.ajp.AjpServerRequestConduit java.nio.ByteBuffer
StackMap stack: java.lang.Exception
astore 2
start local 2 18: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.exchange:Lio/undertow/server/HttpServerExchange;
invokevirtual io.undertow.server.HttpServerExchange.getConnection:()Lio/undertow/server/ServerConnection;
invokestatic org.xnio.IoUtils.safeClose:(Ljava/io/Closeable;)V
19: aload 2
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lio/undertow/server/protocol/ajp/AjpServerRequestConduit;
0 20 1 dst Ljava/nio/ByteBuffer;
1 17 2 state J
18 20 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 2 17 Class java.io.IOException
3 9 17 Class java.io.IOException
10 11 17 Class java.io.IOException
12 14 17 Class java.io.IOException
15 16 17 Class java.io.IOException
0 2 17 Class java.lang.RuntimeException
3 9 17 Class java.lang.RuntimeException
10 11 17 Class java.lang.RuntimeException
12 14 17 Class java.lang.RuntimeException
15 16 17 Class java.lang.RuntimeException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dst
private int doRead(java.nio.ByteBuffer, long);
descriptor: (Ljava/nio/ByteBuffer;J)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=17, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.headerBuffer:Ljava/nio/ByteBuffer;
astore 4
start local 4 1: bipush 6
aload 4
invokevirtual java.nio.ByteBuffer.remaining:()I
isub
i2l
lstore 5
start local 5 2: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.remaining:J
lstore 7
start local 7 3: lload 7
lconst_0
lcmp
ifne 8
4: aload 0
ldc 2305843009213693952
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.state:J
5: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.finishListener:Lio/undertow/conduits/ConduitListener;
ifnull 7
6: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.finishListener:Lio/undertow/conduits/ConduitListener;
aload 0
invokeinterface io.undertow.conduits.ConduitListener.handleEvent:(Lorg/xnio/conduits/Conduit;)V
7: StackMap locals: java.nio.ByteBuffer long long
StackMap stack:
iconst_m1
ireturn
8: StackMap locals:
StackMap stack:
lload 5
ldc 6
lcmp
ifeq 65
9: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.next:Lorg/xnio/conduits/Conduit;
checkcast org.xnio.conduits.StreamSourceConduit
aload 4
invokeinterface org.xnio.conduits.StreamSourceConduit.read:(Ljava/nio/ByteBuffer;)I
istore 11
start local 11 10: iload 11
iconst_m1
if_icmpne 15
11: aload 0
ldc 2305843009213693952
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.state:J
12: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.finishListener:Lio/undertow/conduits/ConduitListener;
ifnull 14
13: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.finishListener:Lio/undertow/conduits/ConduitListener;
aload 0
invokeinterface io.undertow.conduits.ConduitListener.handleEvent:(Lorg/xnio/conduits/Conduit;)V
14: StackMap locals: io.undertow.server.protocol.ajp.AjpServerRequestConduit java.nio.ByteBuffer long java.nio.ByteBuffer long long top top int
StackMap stack:
new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
athrow
15: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 37
16: aload 4
invokevirtual java.nio.ByteBuffer.remaining:()I
iconst_2
if_icmpgt 36
17: aload 4
iconst_0
invokevirtual java.nio.ByteBuffer.get:(I)B
istore 12
start local 12 18: aload 4
iconst_1
invokevirtual java.nio.ByteBuffer.get:(I)B
istore 13
start local 13 19: iload 12
bipush 18
if_icmpne 20
iload 13
bipush 52
if_icmpeq 21
20: StackMap locals: int int
StackMap stack:
getstatic io.undertow.UndertowMessages.MESSAGES:Lio/undertow/UndertowMessages;
iload 12
sipush 255
iand
bipush 8
ishl
iload 13
sipush 255
iand
ior
invokeinterface io.undertow.UndertowMessages.wrongMagicNumber:(I)Ljava/io/IOException;
athrow
21: StackMap locals:
StackMap stack:
aload 4
iconst_2
invokevirtual java.nio.ByteBuffer.get:(I)B
istore 12
22: aload 4
iconst_3
invokevirtual java.nio.ByteBuffer.get:(I)B
istore 13
23: iload 12
sipush 255
iand
bipush 8
ishl
iload 13
sipush 255
iand
ior
istore 14
start local 14 24: iload 14
ifne 36
25: aload 4
invokevirtual java.nio.ByteBuffer.remaining:()I
iconst_2
if_icmpge 31
26: iconst_1
newarray 8
astore 15
start local 15 27: aload 15
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
astore 16
start local 16 28: aload 16
aload 4
iconst_4
invokevirtual java.nio.ByteBuffer.get:(I)B
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
29: aload 16
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
30: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.exchange:Lio/undertow/server/HttpServerExchange;
iconst_1
anewarray io.undertow.connector.PooledByteBuffer
dup
iconst_0
new io.undertow.util.ImmediatePooledByteBuffer
dup
aload 16
invokespecial io.undertow.util.ImmediatePooledByteBuffer.<init>:(Ljava/nio/ByteBuffer;)V
aastore
invokestatic io.undertow.server.Connectors.ungetRequestBytes:(Lio/undertow/server/HttpServerExchange;[Lio/undertow/connector/PooledByteBuffer;)V
end local 16 end local 15 31: StackMap locals: int
StackMap stack:
aload 0
lconst_0
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.remaining:J
32: aload 0
ldc 2305843009213693952
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.state:J
33: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.finishListener:Lio/undertow/conduits/ConduitListener;
ifnull 35
34: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.finishListener:Lio/undertow/conduits/ConduitListener;
aload 0
invokeinterface io.undertow.conduits.ConduitListener.handleEvent:(Lorg/xnio/conduits/Conduit;)V
35: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 14 end local 13 end local 12 36: StackMap locals:
StackMap stack:
iconst_0
ireturn
37: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
38: aload 4
invokevirtual java.nio.ByteBuffer.get:()B
istore 12
start local 12 39: aload 4
invokevirtual java.nio.ByteBuffer.get:()B
istore 13
start local 13 40: iload 12
bipush 18
if_icmpne 41
iload 13
bipush 52
if_icmpeq 42
41: StackMap locals: int int
StackMap stack:
getstatic io.undertow.UndertowMessages.MESSAGES:Lio/undertow/UndertowMessages;
iload 12
sipush 255
iand
bipush 8
ishl
iload 13
sipush 255
iand
ior
invokeinterface io.undertow.UndertowMessages.wrongMagicNumber:(I)Ljava/io/IOException;
athrow
42: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.nio.ByteBuffer.get:()B
istore 12
43: aload 4
invokevirtual java.nio.ByteBuffer.get:()B
istore 13
44: iload 12
sipush 255
iand
bipush 8
ishl
iload 13
sipush 255
iand
ior
istore 14
start local 14 45: iload 14
ifne 56
46: iconst_2
newarray 8
astore 15
start local 15 47: aload 15
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
astore 16
start local 16 48: aload 16
aload 4
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
49: aload 16
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
50: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.exchange:Lio/undertow/server/HttpServerExchange;
iconst_1
anewarray io.undertow.connector.PooledByteBuffer
dup
iconst_0
new io.undertow.util.ImmediatePooledByteBuffer
dup
aload 16
invokespecial io.undertow.util.ImmediatePooledByteBuffer.<init>:(Ljava/nio/ByteBuffer;)V
aastore
invokestatic io.undertow.server.Connectors.ungetRequestBytes:(Lio/undertow/server/HttpServerExchange;[Lio/undertow/connector/PooledByteBuffer;)V
51: aload 0
lconst_0
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.remaining:J
52: aload 0
ldc 2305843009213693952
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.state:J
53: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.finishListener:Lio/undertow/conduits/ConduitListener;
ifnull 55
54: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.finishListener:Lio/undertow/conduits/ConduitListener;
aload 0
invokeinterface io.undertow.conduits.ConduitListener.handleEvent:(Lorg/xnio/conduits/Conduit;)V
55: StackMap locals: int byte[] java.nio.ByteBuffer
StackMap stack:
iconst_m1
ireturn
end local 16 end local 15 56: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.nio.ByteBuffer.get:()B
istore 12
57: aload 4
invokevirtual java.nio.ByteBuffer.get:()B
istore 13
58: iload 12
sipush 255
iand
bipush 8
ishl
iload 13
sipush 255
iand
ior
i2l
lstore 9
start local 9 59: lload 9
lconst_0
lcmp
ifne 66
60: aload 0
lconst_0
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.remaining:J
61: aload 0
ldc 2305843009213693952
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.state:J
62: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.finishListener:Lio/undertow/conduits/ConduitListener;
ifnull 64
63: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.finishListener:Lio/undertow/conduits/ConduitListener;
aload 0
invokeinterface io.undertow.conduits.ConduitListener.handleEvent:(Lorg/xnio/conduits/Conduit;)V
64: StackMap locals: io.undertow.server.protocol.ajp.AjpServerRequestConduit java.nio.ByteBuffer long java.nio.ByteBuffer long long long int int int int
StackMap stack:
iconst_m1
ireturn
end local 14 end local 13 end local 12 end local 11 end local 9 65: StackMap locals: io.undertow.server.protocol.ajp.AjpServerRequestConduit java.nio.ByteBuffer long java.nio.ByteBuffer long long
StackMap stack:
aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.state:J
getstatic io.undertow.server.protocol.ajp.AjpServerRequestConduit.STATE_MASK:J
land
lstore 9
start local 9 66: StackMap locals: long
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
istore 11
start local 11 67: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
lload 9
lcmp
ifle 69
68: aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
i2l
lload 9
ladd
l2i
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
69: StackMap locals: int
StackMap stack:
aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.next:Lorg/xnio/conduits/Conduit;
checkcast org.xnio.conduits.StreamSourceConduit
aload 1
invokeinterface org.xnio.conduits.StreamSourceConduit.read:(Ljava/nio/ByteBuffer;)I
istore 12
start local 12 70: lload 9
iload 12
i2l
lsub
lstore 9
71: lload 7
ldc -1
lcmp
ifeq 73
72: lload 7
iload 12
i2l
lsub
lstore 7
73: StackMap locals: int
StackMap stack:
aload 0
dup
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.totalRead:J
iload 12
i2l
ladd
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.totalRead:J
74: lload 7
lconst_0
lcmp
ifeq 80
75: lload 9
lconst_0
lcmp
ifne 79
76: aload 4
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
77: aload 0
ldc 4611686018427387904
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.state:J
78: goto 80
79: StackMap locals:
StackMap stack:
aload 0
lload 2
getstatic io.undertow.server.protocol.ajp.AjpServerRequestConduit.STATE_MASK:J
ldc -1
lxor
land
lload 9
lor
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.state:J
80: StackMap locals:
StackMap stack:
iload 12
istore 14
81: aload 0
lload 7
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.remaining:J
82: aload 1
iload 11
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
83: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.exchange:Lio/undertow/server/HttpServerExchange;
invokevirtual io.undertow.server.HttpServerExchange.getMaxEntitySize:()J
lstore 15
start local 15 84: lload 15
lconst_0
lcmp
ifle 89
85: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.totalRead:J
lload 15
lcmp
ifle 89
86: aload 0
invokevirtual io.undertow.server.protocol.ajp.AjpServerRequestConduit.terminateReads:()V
87: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.exchange:Lio/undertow/server/HttpServerExchange;
iconst_0
invokevirtual io.undertow.server.HttpServerExchange.setPersistent:(Z)Lio/undertow/server/HttpServerExchange;
pop
88: getstatic io.undertow.UndertowMessages.MESSAGES:Lio/undertow/UndertowMessages;
lload 15
invokeinterface io.undertow.UndertowMessages.requestEntityWasTooLarge:(J)Lio/undertow/server/RequestTooBigException;
athrow
end local 15 89: StackMap locals: io.undertow.server.protocol.ajp.AjpServerRequestConduit java.nio.ByteBuffer long java.nio.ByteBuffer long long long int int top int
StackMap stack:
iload 14
ireturn
end local 12 90: StackMap locals: io.undertow.server.protocol.ajp.AjpServerRequestConduit java.nio.ByteBuffer long java.nio.ByteBuffer long long long int
StackMap stack: java.lang.Throwable
astore 13
91: aload 0
lload 7
putfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.remaining:J
92: aload 1
iload 11
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
93: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.exchange:Lio/undertow/server/HttpServerExchange;
invokevirtual io.undertow.server.HttpServerExchange.getMaxEntitySize:()J
lstore 15
start local 15 94: lload 15
lconst_0
lcmp
ifle 99
95: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.totalRead:J
lload 15
lcmp
ifle 99
96: aload 0
invokevirtual io.undertow.server.protocol.ajp.AjpServerRequestConduit.terminateReads:()V
97: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.exchange:Lio/undertow/server/HttpServerExchange;
iconst_0
invokevirtual io.undertow.server.HttpServerExchange.setPersistent:(Z)Lio/undertow/server/HttpServerExchange;
pop
98: getstatic io.undertow.UndertowMessages.MESSAGES:Lio/undertow/UndertowMessages;
lload 15
invokeinterface io.undertow.UndertowMessages.requestEntityWasTooLarge:(J)Lio/undertow/server/RequestTooBigException;
athrow
end local 15 99: StackMap locals: io.undertow.server.protocol.ajp.AjpServerRequestConduit java.nio.ByteBuffer long java.nio.ByteBuffer long long long int top java.lang.Throwable
StackMap stack:
aload 13
athrow
end local 11 end local 9 end local 7 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 100 0 this Lio/undertow/server/protocol/ajp/AjpServerRequestConduit;
0 100 1 dst Ljava/nio/ByteBuffer;
0 100 2 state J
1 100 4 headerBuffer Ljava/nio/ByteBuffer;
2 100 5 headerRead J
3 100 7 remaining J
59 65 9 chunkRemaining J
66 100 9 chunkRemaining J
10 65 11 read I
18 36 12 b1 B
19 36 13 b2 B
24 36 14 totalSize I
27 31 15 data [B
28 31 16 bb Ljava/nio/ByteBuffer;
39 65 12 b1 B
40 65 13 b2 B
45 65 14 totalSize I
47 56 15 data [B
48 56 16 bb Ljava/nio/ByteBuffer;
67 100 11 limit I
70 90 12 read I
84 89 15 maxEntitySize J
94 99 15 maxEntitySize J
Exception table:
from to target type
67 81 90 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dst final
state
public void awaitReadable();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.state:J
ldc -9223372036854775808
invokestatic org.xnio.Bits.anyAreSet:(JJ)Z
ifeq 6
1: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.next:Lorg/xnio/conduits/Conduit;
checkcast org.xnio.conduits.StreamSourceConduit
invokeinterface org.xnio.conduits.StreamSourceConduit.awaitReadable:()V
2: goto 6
StackMap locals:
StackMap stack: java.lang.Exception
3: astore 1
start local 1 4: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.exchange:Lio/undertow/server/HttpServerExchange;
invokevirtual io.undertow.server.HttpServerExchange.getConnection:()Lio/undertow/server/ServerConnection;
invokestatic org.xnio.IoUtils.safeClose:(Ljava/io/Closeable;)V
5: aload 1
athrow
end local 1 6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/undertow/server/protocol/ajp/AjpServerRequestConduit;
4 6 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 2 3 Class java.io.IOException
0 2 3 Class java.lang.RuntimeException
Exceptions:
throws java.io.IOException
public void awaitReadable(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.state:J
ldc -9223372036854775808
invokestatic org.xnio.Bits.anyAreSet:(JJ)Z
ifeq 6
1: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.next:Lorg/xnio/conduits/Conduit;
checkcast org.xnio.conduits.StreamSourceConduit
lload 1
aload 3
invokeinterface org.xnio.conduits.StreamSourceConduit.awaitReadable:(JLjava/util/concurrent/TimeUnit;)V
2: goto 6
StackMap locals:
StackMap stack: java.lang.Exception
3: astore 4
start local 4 4: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.exchange:Lio/undertow/server/HttpServerExchange;
invokevirtual io.undertow.server.HttpServerExchange.getConnection:()Lio/undertow/server/ServerConnection;
invokestatic org.xnio.IoUtils.safeClose:(Ljava/io/Closeable;)V
5: aload 4
athrow
end local 4 6: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/undertow/server/protocol/ajp/AjpServerRequestConduit;
0 7 1 time J
0 7 3 timeUnit Ljava/util/concurrent/TimeUnit;
4 6 4 e Ljava/lang/Exception;
Exception table:
from to target type
0 2 3 Class java.io.IOException
0 2 3 Class java.lang.RuntimeException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
time
timeUnit
void setReadBodyChunkError(java.io.IOException);
descriptor: (Ljava/io/IOException;)V
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.undertow.server.protocol.ajp.AjpServerRequestConduit.exchange:Lio/undertow/server/HttpServerExchange;
invokevirtual io.undertow.server.HttpServerExchange.getConnection:()Lio/undertow/server/ServerConnection;
invokestatic org.xnio.IoUtils.safeClose:(Ljava/io/Closeable;)V
1: aload 0
invokevirtual io.undertow.server.protocol.ajp.AjpServerRequestConduit.isReadResumed:()Z
ifeq 3
2: aload 0
invokevirtual io.undertow.server.protocol.ajp.AjpServerRequestConduit.wakeupReads:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/undertow/server/protocol/ajp/AjpServerRequestConduit;
0 4 1 e Ljava/io/IOException;
MethodParameters:
Name Flags
e
}
Signature: Lorg/xnio/conduits/AbstractStreamSourceConduit<Lorg/xnio/conduits/StreamSourceConduit;>;
SourceFile: "AjpServerRequestConduit.java"