public class org.apache.tomcat.util.net.SocketBufferHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.net.SocketBufferHandler
super_class: java.lang.Object
{
static org.apache.tomcat.util.net.SocketBufferHandler EMPTY;
descriptor: Lorg/apache/tomcat/util/net/SocketBufferHandler;
flags: (0x0008) ACC_STATIC
private volatile boolean readBufferConfiguredForWrite;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile java.nio.ByteBuffer readBuffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile boolean writeBufferConfiguredForWrite;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile java.nio.ByteBuffer writeBuffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final boolean direct;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: new org.apache.tomcat.util.net.SocketBufferHandler$1
dup
iconst_0
iconst_0
iconst_0
invokespecial org.apache.tomcat.util.net.SocketBufferHandler$1.<init>:(IIZ)V
putstatic org.apache.tomcat.util.net.SocketBufferHandler.EMPTY:Lorg/apache/tomcat/util/net/SocketBufferHandler;
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(int, int, boolean);
descriptor: (IIZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield org.apache.tomcat.util.net.SocketBufferHandler.readBufferConfiguredForWrite:Z
2: aload 0
iconst_1
putfield org.apache.tomcat.util.net.SocketBufferHandler.writeBufferConfiguredForWrite:Z
3: aload 0
iload 3
putfield org.apache.tomcat.util.net.SocketBufferHandler.direct:Z
4: iload 3
ifeq 8
5: aload 0
iload 1
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
putfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
6: aload 0
iload 2
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
putfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
7: goto 10
8: StackMap locals: org.apache.tomcat.util.net.SocketBufferHandler int int int
StackMap stack:
aload 0
iload 1
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
9: aload 0
iload 2
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
10: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/tomcat/util/net/SocketBufferHandler;
0 11 1 readBufferSize I
0 11 2 writeBufferSize I
0 11 3 direct Z
MethodParameters:
Name Flags
readBufferSize
writeBufferSize
direct
public void configureReadBufferForWrite();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual org.apache.tomcat.util.net.SocketBufferHandler.setReadBufferConfiguredForWrite:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/net/SocketBufferHandler;
public void configureReadBufferForRead();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.apache.tomcat.util.net.SocketBufferHandler.setReadBufferConfiguredForWrite:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/net/SocketBufferHandler;
private void setReadBufferConfiguredForWrite(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBufferConfiguredForWrite:Z
iload 1
if_icmpeq 10
1: iload 1
ifeq 8
2: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 2
start local 2 3: iload 2
ifne 6
4: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
5: goto 9
6: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.compact:()Ljava/nio/ByteBuffer;
pop
end local 2 7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
9: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.apache.tomcat.util.net.SocketBufferHandler.readBufferConfiguredForWrite:Z
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/tomcat/util/net/SocketBufferHandler;
0 11 1 readBufferConFiguredForWrite Z
3 7 2 remaining I
MethodParameters:
Name Flags
readBufferConFiguredForWrite
public java.nio.ByteBuffer getReadBuffer();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/SocketBufferHandler;
public boolean isReadBufferEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBufferConfiguredForWrite:Z
ifeq 3
1: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
ifne 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
ifne 4
iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/tomcat/util/net/SocketBufferHandler;
public void unReadReadBuffer(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.net.SocketBufferHandler.isReadBufferEmpty:()Z
ifeq 4
1: aload 0
invokevirtual org.apache.tomcat.util.net.SocketBufferHandler.configureReadBufferForWrite:()V
2: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
aload 1
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
3: goto 40
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 2
start local 2 5: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBufferConfiguredForWrite:Z
ifeq 20
6: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
iload 2
iadd
aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
if_icmple 8
7: new java.nio.BufferOverflowException
dup
invokespecial java.nio.BufferOverflowException.<init>:()V
athrow
8: StackMap locals: int
StackMap stack:
iconst_0
istore 3
start local 3 9: goto 12
10: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
iload 3
iload 2
iadd
aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
iload 3
invokevirtual java.nio.ByteBuffer.get:(I)B
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
11: iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
if_icmplt 10
end local 3 13: iconst_0
istore 3
start local 3 14: goto 17
15: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
iload 3
aload 1
invokevirtual java.nio.ByteBuffer.get:()B
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
16: iinc 3 1
StackMap locals:
StackMap stack:
17: iload 3
iload 2
if_icmplt 15
end local 3 18: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
iload 2
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
19: goto 40
20: StackMap locals:
StackMap stack:
iload 2
aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
isub
istore 3
start local 3 21: iload 3
ifle 32
22: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
isub
iload 3
if_icmpge 24
23: new java.nio.BufferOverflowException
dup
invokespecial java.nio.BufferOverflowException.<init>:()V
athrow
24: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
istore 4
start local 4 25: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
iload 4
iload 3
iadd
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
26: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
istore 5
start local 5 27: goto 30
28: StackMap locals: int int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
iload 5
iload 3
iadd
aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
iload 5
invokevirtual java.nio.ByteBuffer.get:(I)B
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
29: iinc 5 1
StackMap locals:
StackMap stack:
30: iload 5
iload 4
if_icmplt 28
end local 5 end local 4 31: goto 33
32: StackMap locals:
StackMap stack:
iconst_0
istore 3
33: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
iload 3
iadd
iload 2
isub
istore 4
start local 4 34: iload 4
istore 5
start local 5 35: goto 38
36: StackMap locals: int int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
iload 5
aload 1
invokevirtual java.nio.ByteBuffer.get:()B
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
37: iinc 5 1
StackMap locals:
StackMap stack:
38: iload 5
iload 2
iload 4
iadd
if_icmplt 36
end local 5 39: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
iload 4
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
end local 4 end local 3 end local 2 40: StackMap locals: org.apache.tomcat.util.net.SocketBufferHandler java.nio.ByteBuffer
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lorg/apache/tomcat/util/net/SocketBufferHandler;
0 41 1 returnedData Ljava/nio/ByteBuffer;
5 40 2 bytesReturned I
9 13 3 i I
14 18 3 i I
21 40 3 shiftRequired I
25 31 4 oldLimit I
27 31 5 i I
34 40 4 insertOffset I
35 39 5 i I
MethodParameters:
Name Flags
returnedData
public void configureWriteBufferForWrite();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual org.apache.tomcat.util.net.SocketBufferHandler.setWriteBufferConfiguredForWrite:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/net/SocketBufferHandler;
public void configureWriteBufferForRead();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.apache.tomcat.util.net.SocketBufferHandler.setWriteBufferConfiguredForWrite:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/net/SocketBufferHandler;
private void setWriteBufferConfiguredForWrite(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBufferConfiguredForWrite:Z
iload 1
if_icmpeq 12
1: iload 1
ifeq 10
2: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 2
start local 2 3: iload 2
ifne 6
4: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
5: goto 11
6: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.compact:()Ljava/nio/ByteBuffer;
pop
7: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
iload 2
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
8: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
end local 2 9: goto 11
10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
11: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.apache.tomcat.util.net.SocketBufferHandler.writeBufferConfiguredForWrite:Z
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/tomcat/util/net/SocketBufferHandler;
0 13 1 writeBufferConfiguredForWrite Z
3 9 2 remaining I
MethodParameters:
Name Flags
writeBufferConfiguredForWrite
public boolean isWriteBufferWritable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBufferConfiguredForWrite:Z
ifeq 2
1: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
ifne 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/net/SocketBufferHandler;
public java.nio.ByteBuffer getWriteBuffer();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/SocketBufferHandler;
public boolean isWriteBufferEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBufferConfiguredForWrite:Z
ifeq 3
1: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
ifne 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
ifne 4
iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/tomcat/util/net/SocketBufferHandler;
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
1: aload 0
iconst_1
putfield org.apache.tomcat.util.net.SocketBufferHandler.readBufferConfiguredForWrite:Z
2: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
3: aload 0
iconst_1
putfield org.apache.tomcat.util.net.SocketBufferHandler.writeBufferConfiguredForWrite:Z
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/tomcat/util/net/SocketBufferHandler;
public void expand(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.net.SocketBufferHandler.configureReadBufferForWrite:()V
1: aload 0
aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
iload 1
invokestatic org.apache.tomcat.util.buf.ByteBufferUtils.expand:(Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
putfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
2: aload 0
invokevirtual org.apache.tomcat.util.net.SocketBufferHandler.configureWriteBufferForWrite:()V
3: aload 0
aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
iload 1
invokestatic org.apache.tomcat.util.buf.ByteBufferUtils.expand:(Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
putfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/tomcat/util/net/SocketBufferHandler;
0 5 1 newSize I
MethodParameters:
Name Flags
newSize
public void free();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.direct:Z
ifeq 3
1: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
invokestatic org.apache.tomcat.util.buf.ByteBufferUtils.cleanDirectBuffer:(Ljava/nio/ByteBuffer;)V
2: aload 0
getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
invokestatic org.apache.tomcat.util.buf.ByteBufferUtils.cleanDirectBuffer:(Ljava/nio/ByteBuffer;)V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/net/SocketBufferHandler;
}
SourceFile: "SocketBufferHandler.java"
NestMembers:
org.apache.tomcat.util.net.SocketBufferHandler$1
InnerClasses:
org.apache.tomcat.util.net.SocketBufferHandler$1