public class org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper extends org.apache.tomcat.util.net.SocketWrapperBase<org.apache.tomcat.util.net.NioChannel>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper
super_class: org.apache.tomcat.util.net.SocketWrapperBase
{
private final org.apache.tomcat.util.collections.SynchronizedStack<org.apache.tomcat.util.net.NioChannel> nioChannels;
descriptor: Lorg/apache/tomcat/util/collections/SynchronizedStack;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/apache/tomcat/util/collections/SynchronizedStack<Lorg/apache/tomcat/util/net/NioChannel;>;
private final org.apache.tomcat.util.net.NioEndpoint$Poller poller;
descriptor: Lorg/apache/tomcat/util/net/NioEndpoint$Poller;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int interestOps;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private volatile org.apache.tomcat.util.net.NioEndpoint$SendfileData sendfileData;
descriptor: Lorg/apache/tomcat/util/net/NioEndpoint$SendfileData;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile long lastRead;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile long lastWrite;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final java.lang.Object readLock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile boolean readBlocking;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final java.lang.Object writeLock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile boolean writeBlocking;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
public void <init>(org.apache.tomcat.util.net.NioChannel, org.apache.tomcat.util.net.NioEndpoint);
descriptor: (Lorg/apache/tomcat/util/net/NioChannel;Lorg/apache/tomcat/util/net/NioEndpoint;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.apache.tomcat.util.net.SocketWrapperBase.<init>:(Ljava/lang/Object;Lorg/apache/tomcat/util/net/AbstractEndpoint;)V
1: aload 0
iconst_0
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.interestOps:I
2: aload 0
aconst_null
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.sendfileData:Lorg/apache/tomcat/util/net/NioEndpoint$SendfileData;
3: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.lastRead:J
4: aload 0
aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.lastRead:J
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.lastWrite:J
5: aload 0
iconst_0
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.readBlocking:Z
6: aload 0
iconst_0
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.writeBlocking:Z
7: aload 0
aload 2
invokevirtual org.apache.tomcat.util.net.NioEndpoint.getNioChannels:()Lorg/apache/tomcat/util/collections/SynchronizedStack;
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.nioChannels:Lorg/apache/tomcat/util/collections/SynchronizedStack;
8: aload 0
aload 2
invokevirtual org.apache.tomcat.util.net.NioEndpoint.getPoller:()Lorg/apache/tomcat/util/net/NioEndpoint$Poller;
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.poller:Lorg/apache/tomcat/util/net/NioEndpoint$Poller;
9: aload 0
aload 1
invokevirtual org.apache.tomcat.util.net.NioChannel.getBufHandler:()Lorg/apache/tomcat/util/net/SocketBufferHandler;
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.socketBufferHandler:Lorg/apache/tomcat/util/net/SocketBufferHandler;
10: aload 0
aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.readPending:Ljava/util/concurrent/Semaphore;
ifnonnull 11
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
goto 12
StackMap locals: org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper org.apache.tomcat.util.net.NioChannel org.apache.tomcat.util.net.NioEndpoint
StackMap stack: org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper
11: aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.readPending:Ljava/util/concurrent/Semaphore;
StackMap locals: org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper org.apache.tomcat.util.net.NioChannel org.apache.tomcat.util.net.NioEndpoint
StackMap stack: org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper java.lang.Object
12: putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.readLock:Ljava/lang/Object;
13: aload 0
aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.writePending:Ljava/util/concurrent/Semaphore;
ifnonnull 14
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
goto 15
StackMap locals:
StackMap stack: org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper
14: aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.writePending:Ljava/util/concurrent/Semaphore;
StackMap locals: org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper org.apache.tomcat.util.net.NioChannel org.apache.tomcat.util.net.NioEndpoint
StackMap stack: org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper java.lang.Object
15: putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.writeLock:Ljava/lang/Object;
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
0 17 1 channel Lorg/apache/tomcat/util/net/NioChannel;
0 17 2 endpoint Lorg/apache/tomcat/util/net/NioEndpoint;
MethodParameters:
Name Flags
channel
endpoint
public org.apache.tomcat.util.net.NioEndpoint$Poller getPoller();
descriptor: ()Lorg/apache/tomcat/util/net/NioEndpoint$Poller;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.poller:Lorg/apache/tomcat/util/net/NioEndpoint$Poller;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
public int interestOps();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.interestOps:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
public int interestOps(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.interestOps:I
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
0 1 1 ops I
MethodParameters:
Name Flags
ops
public void setSendfileData(org.apache.tomcat.util.net.NioEndpoint$SendfileData);
descriptor: (Lorg/apache/tomcat/util/net/NioEndpoint$SendfileData;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.sendfileData:Lorg/apache/tomcat/util/net/NioEndpoint$SendfileData;
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
0 1 1 sf Lorg/apache/tomcat/util/net/NioEndpoint$SendfileData;
MethodParameters:
Name Flags
sf
public org.apache.tomcat.util.net.NioEndpoint$SendfileData getSendfileData();
descriptor: ()Lorg/apache/tomcat/util/net/NioEndpoint$SendfileData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.sendfileData:Lorg/apache/tomcat/util/net/NioEndpoint$SendfileData;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
public void updateLastWrite();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.lastWrite:J
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
public long getLastWrite();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.lastWrite:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
public void updateLastRead();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.lastRead:J
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
public long getLastRead();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.lastRead:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
public boolean isReadyForRead();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.socketBufferHandler:Lorg/apache/tomcat/util/net/SocketBufferHandler;
invokevirtual org.apache.tomcat.util.net.SocketBufferHandler.configureReadBufferForRead:()V
1: aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.socketBufferHandler:Lorg/apache/tomcat/util/net/SocketBufferHandler;
invokevirtual org.apache.tomcat.util.net.SocketBufferHandler.getReadBuffer:()Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
ifle 3
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer:(Z)I
pop
4: aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.socketBufferHandler:Lorg/apache/tomcat/util/net/SocketBufferHandler;
invokevirtual org.apache.tomcat.util.net.SocketBufferHandler.getReadBuffer:()Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
ifle 5
iconst_1
goto 6
StackMap locals:
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: istore 1
start local 1 7: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
7 8 1 isReady Z
Exceptions:
throws java.io.IOException
public int read(boolean, byte[], int, int);
descriptor: (Z[BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 2
iload 3
iload 4
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.populateReadBuffer:([BII)I
istore 5
start local 5 1: iload 5
ifle 3
2: iload 5
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer:(Z)I
istore 5
4: aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.updateLastRead:()V
5: iload 5
ifle 9
6: aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.socketBufferHandler:Lorg/apache/tomcat/util/net/SocketBufferHandler;
invokevirtual org.apache.tomcat.util.net.SocketBufferHandler.configureReadBufferForRead:()V
7: iload 5
iload 4
invokestatic java.lang.Math.min:(II)I
istore 5
8: aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.socketBufferHandler:Lorg/apache/tomcat/util/net/SocketBufferHandler;
invokevirtual org.apache.tomcat.util.net.SocketBufferHandler.getReadBuffer:()Ljava/nio/ByteBuffer;
aload 2
iload 3
iload 5
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
9: StackMap locals:
StackMap stack:
iload 5
ireturn
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 10 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
0 10 1 block Z
0 10 2 b [B
0 10 3 off I
0 10 4 len I
1 10 5 nRead I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
block
b
off
len
public int read(boolean, java.nio.ByteBuffer);
descriptor: (ZLjava/nio/ByteBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.populateReadBuffer:(Ljava/nio/ByteBuffer;)I
istore 3
start local 3 1: iload 3
ifle 3
2: iload 3
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.socketBufferHandler:Lorg/apache/tomcat/util/net/SocketBufferHandler;
invokevirtual org.apache.tomcat.util.net.SocketBufferHandler.getReadBuffer:()Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
istore 4
start local 4 4: aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 4
if_icmplt 11
5: aload 2
aload 2
invokevirtual java.nio.ByteBuffer.position:()I
iload 4
iadd
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
6: aload 0
iload 1
aload 2
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer:(ZLjava/nio/ByteBuffer;)I
istore 3
7: getstatic org.apache.tomcat.util.net.NioEndpoint.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 9
8: getstatic org.apache.tomcat.util.net.NioEndpoint.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc "Socket: ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "], Read direct from socket: ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
9: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.updateLastRead:()V
10: goto 17
11: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer:(Z)I
istore 3
12: getstatic org.apache.tomcat.util.net.NioEndpoint.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 14
13: getstatic org.apache.tomcat.util.net.NioEndpoint.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc "Socket: ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "], Read into buffer: ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
14: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.updateLastRead:()V
15: iload 3
ifle 17
16: aload 0
aload 2
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.populateReadBuffer:(Ljava/nio/ByteBuffer;)I
istore 3
17: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
0 18 1 block Z
0 18 2 to Ljava/nio/ByteBuffer;
1 18 3 nRead I
4 18 4 limit I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
block
to
protected void doClose();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=1
start local 0 0: getstatic org.apache.tomcat.util.net.NioEndpoint.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 2
1: getstatic org.apache.tomcat.util.net.NioEndpoint.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc "Calling ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getEndpoint:()Lorg/apache/tomcat/util/net/AbstractEndpoint;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "].closeSocket(["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "])"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getEndpoint:()Lorg/apache/tomcat/util/net/AbstractEndpoint;
getfield org.apache.tomcat.util.net.AbstractEndpoint.connections:Ljava/util/Map;
aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSocket:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.NioChannel
invokevirtual org.apache.tomcat.util.net.NioChannel.getIOChannel:()Ljava/nio/channels/SocketChannel;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSocket:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.NioChannel
invokevirtual org.apache.tomcat.util.net.NioChannel.isOpen:()Z
ifeq 5
4: aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSocket:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.NioChannel
iconst_1
invokevirtual org.apache.tomcat.util.net.NioChannel.close:(Z)V
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getEndpoint:()Lorg/apache/tomcat/util/net/AbstractEndpoint;
getfield org.apache.tomcat.util.net.AbstractEndpoint.running:Z
ifeq 21
aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getEndpoint:()Lorg/apache/tomcat/util/net/AbstractEndpoint;
getfield org.apache.tomcat.util.net.AbstractEndpoint.paused:Z
ifne 21
6: aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.nioChannels:Lorg/apache/tomcat/util/collections/SynchronizedStack;
ifnull 7
aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.nioChannels:Lorg/apache/tomcat/util/collections/SynchronizedStack;
aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSocket:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.NioChannel
invokevirtual org.apache.tomcat.util.collections.SynchronizedStack.push:(Ljava/lang/Object;)Z
ifne 21
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSocket:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.NioChannel
invokevirtual org.apache.tomcat.util.net.NioChannel.free:()V
8: goto 21
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 1
start local 1 10: aload 1
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
11: getstatic org.apache.tomcat.util.net.NioEndpoint.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 13
12: getstatic org.apache.tomcat.util.net.NioEndpoint.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.debug.channelCloseFail"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 1
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 1 13: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.tomcat.util.net.SocketBufferHandler.EMPTY:Lorg/apache/tomcat/util/net/SocketBufferHandler;
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.socketBufferHandler:Lorg/apache/tomcat/util/net/SocketBufferHandler;
14: aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.nonBlockingWriteBuffer:Lorg/apache/tomcat/util/net/WriteBuffer;
invokevirtual org.apache.tomcat.util.net.WriteBuffer.clear:()V
15: aload 0
getstatic org.apache.tomcat.util.net.NioChannel.CLOSED_NIO_CHANNEL:Lorg/apache/tomcat/util/net/NioChannel;
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.reset:(Ljava/lang/Object;)V
goto 24
16: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
17: aload 0
getstatic org.apache.tomcat.util.net.SocketBufferHandler.EMPTY:Lorg/apache/tomcat/util/net/SocketBufferHandler;
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.socketBufferHandler:Lorg/apache/tomcat/util/net/SocketBufferHandler;
18: aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.nonBlockingWriteBuffer:Lorg/apache/tomcat/util/net/WriteBuffer;
invokevirtual org.apache.tomcat.util.net.WriteBuffer.clear:()V
19: aload 0
getstatic org.apache.tomcat.util.net.NioChannel.CLOSED_NIO_CHANNEL:Lorg/apache/tomcat/util/net/NioChannel;
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.reset:(Ljava/lang/Object;)V
20: aload 2
athrow
21: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.tomcat.util.net.SocketBufferHandler.EMPTY:Lorg/apache/tomcat/util/net/SocketBufferHandler;
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.socketBufferHandler:Lorg/apache/tomcat/util/net/SocketBufferHandler;
22: aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.nonBlockingWriteBuffer:Lorg/apache/tomcat/util/net/WriteBuffer;
invokevirtual org.apache.tomcat.util.net.WriteBuffer.clear:()V
23: aload 0
getstatic org.apache.tomcat.util.net.NioChannel.CLOSED_NIO_CHANNEL:Lorg/apache/tomcat/util/net/NioChannel;
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.reset:(Ljava/lang/Object;)V
24: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSendfileData:()Lorg/apache/tomcat/util/net/NioEndpoint$SendfileData;
astore 1
start local 1 25: aload 1
ifnull 32
aload 1
getfield org.apache.tomcat.util.net.NioEndpoint$SendfileData.fchannel:Ljava/nio/channels/FileChannel;
ifnull 32
aload 1
getfield org.apache.tomcat.util.net.NioEndpoint$SendfileData.fchannel:Ljava/nio/channels/FileChannel;
invokevirtual java.nio.channels.FileChannel.isOpen:()Z
ifeq 32
26: aload 1
getfield org.apache.tomcat.util.net.NioEndpoint$SendfileData.fchannel:Ljava/nio/channels/FileChannel;
invokevirtual java.nio.channels.FileChannel.close:()V
end local 1 27: goto 32
StackMap locals:
StackMap stack: java.lang.Throwable
28: astore 1
start local 1 29: aload 1
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
30: getstatic org.apache.tomcat.util.net.NioEndpoint.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 32
31: getstatic org.apache.tomcat.util.net.NioEndpoint.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.sendfile.closeError"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 1
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 1 32: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
10 13 1 e Ljava/lang/Throwable;
25 27 1 data Lorg/apache/tomcat/util/net/NioEndpoint$SendfileData;
29 32 1 e Ljava/lang/Throwable;
Exception table:
from to target type
2 8 9 Class java.lang.Throwable
2 13 16 any
24 27 28 Class java.lang.Throwable
private int fillReadBuffer(boolean);
descriptor: (Z)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.socketBufferHandler:Lorg/apache/tomcat/util/net/SocketBufferHandler;
invokevirtual org.apache.tomcat.util.net.SocketBufferHandler.configureReadBufferForWrite:()V
1: aload 0
iload 1
aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.socketBufferHandler:Lorg/apache/tomcat/util/net/SocketBufferHandler;
invokevirtual org.apache.tomcat.util.net.SocketBufferHandler.getReadBuffer:()Ljava/nio/ByteBuffer;
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer:(ZLjava/nio/ByteBuffer;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
0 2 1 block Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
block
private int fillReadBuffer(boolean, java.nio.ByteBuffer);
descriptor: (ZLjava/nio/ByteBuffer;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSocket:()Ljava/lang/Object;
getstatic org.apache.tomcat.util.net.NioChannel.CLOSED_NIO_CHANNEL:Lorg/apache/tomcat/util/net/NioChannel;
if_acmpne 3
2: new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
athrow
3: StackMap locals: int
StackMap stack:
iload 1
ifeq 35
4: aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getReadTimeout:()J
lstore 4
start local 4 5: lconst_0
lstore 6
start local 6 6: StackMap locals: long long
StackMap stack:
lload 6
lconst_0
lcmp
ifle 13
7: getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokestatic java.lang.System.nanoTime:()J
lload 6
lsub
invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
lstore 8
start local 8 8: lload 8
lconst_0
lcmp
ifne 10
9: lconst_1
lstore 8
10: StackMap locals: long
StackMap stack:
lload 4
lload 8
lsub
lstore 4
11: lload 4
lconst_0
lcmp
ifgt 13
12: new java.net.SocketTimeoutException
dup
invokespecial java.net.SocketTimeoutException.<init>:()V
athrow
end local 8 13: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSocket:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.NioChannel
aload 2
invokevirtual org.apache.tomcat.util.net.NioChannel.read:(Ljava/nio/ByteBuffer;)I
istore 3
14: iload 3
iconst_m1
if_icmpne 16
15: new java.io.EOFException
dup
invokespecial java.io.EOFException.<init>:()V
athrow
16: StackMap locals:
StackMap stack:
iload 3
ifne 33
17: aload 0
iconst_1
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.readBlocking:Z
18: aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.registerReadInterest:()V
19: aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.readLock:Ljava/lang/Object;
dup
astore 8
monitorenter
20: aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.readBlocking:Z
ifeq 29
21: lload 4
lconst_0
lcmp
ifle 25
22: invokestatic java.lang.System.nanoTime:()J
lstore 6
23: aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.readLock:Ljava/lang/Object;
lload 4
invokevirtual java.lang.Object.wait:(J)V
24: goto 28
25: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.readLock:Ljava/lang/Object;
invokevirtual java.lang.Object.wait:()V
26: goto 28
StackMap locals:
StackMap stack: java.lang.InterruptedException
27: pop
28: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.readBlocking:Z
29: StackMap locals:
StackMap stack:
aload 8
monitorexit
30: goto 33
StackMap locals:
StackMap stack: java.lang.Throwable
31: aload 8
monitorexit
32: athrow
33: StackMap locals:
StackMap stack:
iload 3
ifeq 6
end local 6 end local 4 34: goto 38
35: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSocket:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.NioChannel
aload 2
invokevirtual org.apache.tomcat.util.net.NioChannel.read:(Ljava/nio/ByteBuffer;)I
istore 3
36: iload 3
iconst_m1
if_icmpne 38
37: new java.io.EOFException
dup
invokespecial java.io.EOFException.<init>:()V
athrow
38: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
0 39 1 block Z
0 39 2 buffer Ljava/nio/ByteBuffer;
1 39 3 n I
5 34 4 timeout J
6 34 6 startNanos J
8 13 8 elapsedMillis J
Exception table:
from to target type
21 26 27 Class java.lang.InterruptedException
20 30 31 any
31 32 31 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
block
buffer
protected void doWrite(boolean, java.nio.ByteBuffer);
descriptor: (ZLjava/nio/ByteBuffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSocket:()Ljava/lang/Object;
getstatic org.apache.tomcat.util.net.NioChannel.CLOSED_NIO_CHANNEL:Lorg/apache/tomcat/util/net/NioChannel;
if_acmpne 3
2: new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
athrow
3: StackMap locals: int
StackMap stack:
iload 1
ifeq 38
4: aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getWriteTimeout:()J
lstore 4
start local 4 5: lconst_0
lstore 6
start local 6 6: StackMap locals: long long
StackMap stack:
lload 6
lconst_0
lcmp
ifle 13
7: getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokestatic java.lang.System.nanoTime:()J
lload 6
lsub
invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
lstore 8
start local 8 8: lload 8
lconst_0
lcmp
ifne 10
9: lconst_1
lstore 8
10: StackMap locals: long
StackMap stack:
lload 4
lload 8
lsub
lstore 4
11: lload 4
lconst_0
lcmp
ifgt 13
12: new java.net.SocketTimeoutException
dup
invokespecial java.net.SocketTimeoutException.<init>:()V
athrow
end local 8 13: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSocket:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.NioChannel
aload 2
invokevirtual org.apache.tomcat.util.net.NioChannel.write:(Ljava/nio/ByteBuffer;)I
istore 3
14: iload 3
iconst_m1
if_icmpne 16
15: new java.io.EOFException
dup
invokespecial java.io.EOFException.<init>:()V
athrow
16: StackMap locals:
StackMap stack:
iload 3
ifne 33
17: aload 0
iconst_1
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.writeBlocking:Z
18: aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.registerWriteInterest:()V
19: aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.writeLock:Ljava/lang/Object;
dup
astore 8
monitorenter
20: aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.writeBlocking:Z
ifeq 29
21: lload 4
lconst_0
lcmp
ifle 25
22: invokestatic java.lang.System.nanoTime:()J
lstore 6
23: aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.writeLock:Ljava/lang/Object;
lload 4
invokevirtual java.lang.Object.wait:(J)V
24: goto 28
25: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.writeLock:Ljava/lang/Object;
invokevirtual java.lang.Object.wait:()V
26: goto 28
StackMap locals:
StackMap stack: java.lang.InterruptedException
27: pop
28: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.writeBlocking:Z
29: StackMap locals:
StackMap stack:
aload 8
monitorexit
30: goto 36
StackMap locals:
StackMap stack: java.lang.Throwable
31: aload 8
monitorexit
32: athrow
33: StackMap locals:
StackMap stack:
lload 6
lconst_0
lcmp
ifle 36
34: aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getWriteTimeout:()J
lstore 4
35: lconst_0
lstore 6
36: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 6
end local 6 end local 4 37: goto 42
38: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSocket:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.NioChannel
aload 2
invokevirtual org.apache.tomcat.util.net.NioChannel.write:(Ljava/nio/ByteBuffer;)I
istore 3
39: iload 3
iconst_m1
if_icmpne 41
40: new java.io.EOFException
dup
invokespecial java.io.EOFException.<init>:()V
athrow
41: StackMap locals:
StackMap stack:
iload 3
ifle 42
aload 2
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 38
42: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.updateLastWrite:()V
43: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
0 44 1 block Z
0 44 2 buffer Ljava/nio/ByteBuffer;
1 44 3 n I
5 37 4 timeout J
6 37 6 startNanos J
8 13 8 elapsedMillis J
Exception table:
from to target type
21 26 27 Class java.lang.InterruptedException
20 30 31 any
31 32 31 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
block
buffer
public void registerReadInterest();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: getstatic org.apache.tomcat.util.net.NioEndpoint.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 2
1: getstatic org.apache.tomcat.util.net.NioEndpoint.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.debug.registerRead"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getPoller:()Lorg/apache/tomcat/util/net/NioEndpoint$Poller;
aload 0
iconst_1
invokevirtual org.apache.tomcat.util.net.NioEndpoint$Poller.add:(Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;I)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
public void registerWriteInterest();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: getstatic org.apache.tomcat.util.net.NioEndpoint.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 2
1: getstatic org.apache.tomcat.util.net.NioEndpoint.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.debug.registerWrite"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getPoller:()Lorg/apache/tomcat/util/net/NioEndpoint$Poller;
aload 0
iconst_4
invokevirtual org.apache.tomcat.util.net.NioEndpoint$Poller.add:(Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;I)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
public org.apache.tomcat.util.net.SendfileDataBase createSendfileData(java.lang.String, long, long);
descriptor: (Ljava/lang/String;JJ)Lorg/apache/tomcat/util/net/SendfileDataBase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 4 0: new org.apache.tomcat.util.net.NioEndpoint$SendfileData
dup
aload 1
lload 2
lload 4
invokespecial org.apache.tomcat.util.net.NioEndpoint$SendfileData.<init>:(Ljava/lang/String;JJ)V
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
0 1 1 filename Ljava/lang/String;
0 1 2 pos J
0 1 4 length J
MethodParameters:
Name Flags
filename
pos
length
public org.apache.tomcat.util.net.SendfileState processSendfile(org.apache.tomcat.util.net.SendfileDataBase);
descriptor: (Lorg/apache/tomcat/util/net/SendfileDataBase;)Lorg/apache/tomcat/util/net/SendfileState;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
checkcast org.apache.tomcat.util.net.NioEndpoint$SendfileData
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.setSendfileData:(Lorg/apache/tomcat/util/net/NioEndpoint$SendfileData;)V
1: aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSocket:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.NioChannel
invokevirtual org.apache.tomcat.util.net.NioChannel.getIOChannel:()Ljava/nio/channels/SocketChannel;
aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getPoller:()Lorg/apache/tomcat/util/net/NioEndpoint$Poller;
invokevirtual org.apache.tomcat.util.net.NioEndpoint$Poller.getSelector:()Ljava/nio/channels/Selector;
invokevirtual java.nio.channels.SocketChannel.keyFor:(Ljava/nio/channels/Selector;)Ljava/nio/channels/SelectionKey;
astore 2
start local 2 2: aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getPoller:()Lorg/apache/tomcat/util/net/NioEndpoint$Poller;
aload 2
aload 0
iconst_1
invokevirtual org.apache.tomcat.util.net.NioEndpoint$Poller.processSendfile:(Ljava/nio/channels/SelectionKey;Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;Z)Lorg/apache/tomcat/util/net/SendfileState;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
0 3 1 sendfileData Lorg/apache/tomcat/util/net/SendfileDataBase;
2 3 2 key Ljava/nio/channels/SelectionKey;
MethodParameters:
Name Flags
sendfileData
protected void populateRemoteAddr();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSocket:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.NioChannel
invokevirtual org.apache.tomcat.util.net.NioChannel.getIOChannel:()Ljava/nio/channels/SocketChannel;
astore 1
start local 1 1: aload 1
ifnull 5
2: aload 1
invokevirtual java.nio.channels.SocketChannel.socket:()Ljava/net/Socket;
invokevirtual java.net.Socket.getInetAddress:()Ljava/net/InetAddress;
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 0
aload 2
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.remoteAddr:Ljava/lang/String;
end local 2 5: StackMap locals: java.nio.channels.SocketChannel
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
1 6 1 sc Ljava/nio/channels/SocketChannel;
3 5 2 inetAddr Ljava/net/InetAddress;
protected void populateRemoteHost();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSocket:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.NioChannel
invokevirtual org.apache.tomcat.util.net.NioChannel.getIOChannel:()Ljava/nio/channels/SocketChannel;
astore 1
start local 1 1: aload 1
ifnull 7
2: aload 1
invokevirtual java.nio.channels.SocketChannel.socket:()Ljava/net/Socket;
invokevirtual java.net.Socket.getInetAddress:()Ljava/net/InetAddress;
astore 2
start local 2 3: aload 2
ifnull 7
4: aload 0
aload 2
invokevirtual java.net.InetAddress.getHostName:()Ljava/lang/String;
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.remoteHost:Ljava/lang/String;
5: aload 0
getfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.remoteAddr:Ljava/lang/String;
ifnonnull 7
6: aload 0
aload 2
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.remoteAddr:Ljava/lang/String;
end local 2 7: StackMap locals: java.nio.channels.SocketChannel
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
1 8 1 sc Ljava/nio/channels/SocketChannel;
3 7 2 inetAddr Ljava/net/InetAddress;
protected void populateRemotePort();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSocket:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.NioChannel
invokevirtual org.apache.tomcat.util.net.NioChannel.getIOChannel:()Ljava/nio/channels/SocketChannel;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 0
aload 1
invokevirtual java.nio.channels.SocketChannel.socket:()Ljava/net/Socket;
invokevirtual java.net.Socket.getPort:()I
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.remotePort:I
3: StackMap locals: java.nio.channels.SocketChannel
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
1 4 1 sc Ljava/nio/channels/SocketChannel;
protected void populateLocalName();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSocket:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.NioChannel
invokevirtual org.apache.tomcat.util.net.NioChannel.getIOChannel:()Ljava/nio/channels/SocketChannel;
astore 1
start local 1 1: aload 1
ifnull 5
2: aload 1
invokevirtual java.nio.channels.SocketChannel.socket:()Ljava/net/Socket;
invokevirtual java.net.Socket.getLocalAddress:()Ljava/net/InetAddress;
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 0
aload 2
invokevirtual java.net.InetAddress.getHostName:()Ljava/lang/String;
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.localName:Ljava/lang/String;
end local 2 5: StackMap locals: java.nio.channels.SocketChannel
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
1 6 1 sc Ljava/nio/channels/SocketChannel;
3 5 2 inetAddr Ljava/net/InetAddress;
protected void populateLocalAddr();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSocket:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.NioChannel
invokevirtual org.apache.tomcat.util.net.NioChannel.getIOChannel:()Ljava/nio/channels/SocketChannel;
astore 1
start local 1 1: aload 1
ifnull 5
2: aload 1
invokevirtual java.nio.channels.SocketChannel.socket:()Ljava/net/Socket;
invokevirtual java.net.Socket.getLocalAddress:()Ljava/net/InetAddress;
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 0
aload 2
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.localAddr:Ljava/lang/String;
end local 2 5: StackMap locals: java.nio.channels.SocketChannel
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
1 6 1 sc Ljava/nio/channels/SocketChannel;
3 5 2 inetAddr Ljava/net/InetAddress;
protected void populateLocalPort();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSocket:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.NioChannel
invokevirtual org.apache.tomcat.util.net.NioChannel.getIOChannel:()Ljava/nio/channels/SocketChannel;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 0
aload 1
invokevirtual java.nio.channels.SocketChannel.socket:()Ljava/net/Socket;
invokevirtual java.net.Socket.getLocalPort:()I
putfield org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.localPort:I
3: StackMap locals: java.nio.channels.SocketChannel
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
1 4 1 sc Ljava/nio/channels/SocketChannel;
public org.apache.tomcat.util.net.SSLSupport getSslSupport(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/tomcat/util/net/SSLSupport;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSocket:()Ljava/lang/Object;
instanceof org.apache.tomcat.util.net.SecureNioChannel
ifeq 6
1: aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSocket:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.SecureNioChannel
astore 2
start local 2 2: aload 2
invokevirtual org.apache.tomcat.util.net.SecureNioChannel.getSslEngine:()Ljavax/net/ssl/SSLEngine;
astore 3
start local 3 3: aload 3
ifnull 6
4: aload 3
invokevirtual javax.net.ssl.SSLEngine.getSession:()Ljavax/net/ssl/SSLSession;
astore 4
start local 4 5: aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getEndpoint:()Lorg/apache/tomcat/util/net/AbstractEndpoint;
checkcast org.apache.tomcat.util.net.NioEndpoint
invokevirtual org.apache.tomcat.util.net.NioEndpoint.getSslImplementation:()Lorg/apache/tomcat/util/net/SSLImplementation;
aload 4
invokevirtual org.apache.tomcat.util.net.SSLImplementation.getSSLSupport:(Ljavax/net/ssl/SSLSession;)Lorg/apache/tomcat/util/net/SSLSupport;
areturn
end local 4 end local 3 end local 2 6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
0 7 1 clientCertProvider Ljava/lang/String;
2 6 2 ch Lorg/apache/tomcat/util/net/SecureNioChannel;
3 6 3 sslEngine Ljavax/net/ssl/SSLEngine;
5 6 4 session Ljavax/net/ssl/SSLSession;
MethodParameters:
Name Flags
clientCertProvider
public void doClientAuth(org.apache.tomcat.util.net.SSLSupport);
descriptor: (Lorg/apache/tomcat/util/net/SSLSupport;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSocket:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.SecureNioChannel
astore 2
start local 2 1: aload 2
invokevirtual org.apache.tomcat.util.net.SecureNioChannel.getSslEngine:()Ljavax/net/ssl/SSLEngine;
astore 3
start local 3 2: aload 3
invokevirtual javax.net.ssl.SSLEngine.getNeedClientAuth:()Z
ifne 6
3: aload 3
iconst_1
invokevirtual javax.net.ssl.SSLEngine.setNeedClientAuth:(Z)V
4: aload 2
aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getEndpoint:()Lorg/apache/tomcat/util/net/AbstractEndpoint;
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getConnectionTimeout:()I
i2l
invokevirtual org.apache.tomcat.util.net.SecureNioChannel.rehandshake:(J)V
5: aload 1
checkcast org.apache.tomcat.util.net.jsse.JSSESupport
aload 3
invokevirtual javax.net.ssl.SSLEngine.getSession:()Ljavax/net/ssl/SSLSession;
invokevirtual org.apache.tomcat.util.net.jsse.JSSESupport.setSession:(Ljavax/net/ssl/SSLSession;)V
6: StackMap locals: org.apache.tomcat.util.net.SecureNioChannel javax.net.ssl.SSLEngine
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
0 7 1 sslSupport Lorg/apache/tomcat/util/net/SSLSupport;
1 7 2 sslChannel Lorg/apache/tomcat/util/net/SecureNioChannel;
2 7 3 engine Ljavax/net/ssl/SSLEngine;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
sslSupport
public void setAppReadBufHandler(org.apache.tomcat.util.net.ApplicationBufferHandler);
descriptor: (Lorg/apache/tomcat/util/net/ApplicationBufferHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSocket:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.NioChannel
aload 1
invokevirtual org.apache.tomcat.util.net.NioChannel.setAppReadBufHandler:(Lorg/apache/tomcat/util/net/ApplicationBufferHandler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
0 2 1 handler Lorg/apache/tomcat/util/net/ApplicationBufferHandler;
MethodParameters:
Name Flags
handler
protected <A> org.apache.tomcat.util.net.SocketWrapperBase<org.apache.tomcat.util.net.NioChannel>.OperationState<A> newOperationState(boolean, java.nio.ByteBuffer[], int, int, org.apache.tomcat.util.net.SocketWrapperBase$BlockingMode, long, java.util.concurrent.TimeUnit, A, org.apache.tomcat.util.net.SocketWrapperBase$CompletionCheck, java.nio.channels.CompletionHandler<java.lang.Long, ? super A>, java.util.concurrent.Semaphore, org.apache.tomcat.util.net.SocketWrapperBase<org.apache.tomcat.util.net.NioChannel>.VectoredIOCompletionHandler<A>);
descriptor: (Z[Ljava/nio/ByteBuffer;IILorg/apache/tomcat/util/net/SocketWrapperBase$BlockingMode;JLjava/util/concurrent/TimeUnit;Ljava/lang/Object;Lorg/apache/tomcat/util/net/SocketWrapperBase$CompletionCheck;Ljava/nio/channels/CompletionHandler;Ljava/util/concurrent/Semaphore;Lorg/apache/tomcat/util/net/SocketWrapperBase$VectoredIOCompletionHandler;)Lorg/apache/tomcat/util/net/SocketWrapperBase$OperationState;
flags: (0x0004) ACC_PROTECTED
Code:
stack=16, locals=14, args_size=13
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 8 start local 9 start local 10 start local 11 start local 12 start local 13 0: new org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper$NioOperationState
dup
aload 0
iload 1
aload 2
iload 3
iload 4
aload 5
1: lload 6
aload 8
aload 9
aload 10
aload 11
aload 12
aload 13
2: invokespecial org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper$NioOperationState.<init>:(Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;Z[Ljava/nio/ByteBuffer;IILorg/apache/tomcat/util/net/SocketWrapperBase$BlockingMode;JLjava/util/concurrent/TimeUnit;Ljava/lang/Object;Lorg/apache/tomcat/util/net/SocketWrapperBase$CompletionCheck;Ljava/nio/channels/CompletionHandler;Ljava/util/concurrent/Semaphore;Lorg/apache/tomcat/util/net/SocketWrapperBase$VectoredIOCompletionHandler;)V
areturn
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 6 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 3 0 this Lorg/apache/tomcat/util/net/NioEndpoint$NioSocketWrapper;
0 3 1 read Z
0 3 2 buffers [Ljava/nio/ByteBuffer;
0 3 3 offset I
0 3 4 length I
0 3 5 block Lorg/apache/tomcat/util/net/SocketWrapperBase$BlockingMode;
0 3 6 timeout J
0 3 8 unit Ljava/util/concurrent/TimeUnit;
0 3 9 attachment TA;
0 3 10 check Lorg/apache/tomcat/util/net/SocketWrapperBase$CompletionCheck;
0 3 11 handler Ljava/nio/channels/CompletionHandler<Ljava/lang/Long;-TA;>;
0 3 12 semaphore Ljava/util/concurrent/Semaphore;
0 3 13 completion Lorg/apache/tomcat/util/net/SocketWrapperBase<Lorg/apache/tomcat/util/net/NioChannel;>.VectoredIOCompletionHandler<TA;>;
Signature: <A:Ljava/lang/Object;>(Z[Ljava/nio/ByteBuffer;IILorg/apache/tomcat/util/net/SocketWrapperBase$BlockingMode;JLjava/util/concurrent/TimeUnit;TA;Lorg/apache/tomcat/util/net/SocketWrapperBase$CompletionCheck;Ljava/nio/channels/CompletionHandler<Ljava/lang/Long;-TA;>;Ljava/util/concurrent/Semaphore;Lorg/apache/tomcat/util/net/SocketWrapperBase<Lorg/apache/tomcat/util/net/NioChannel;>.VectoredIOCompletionHandler<TA;>;)Lorg/apache/tomcat/util/net/SocketWrapperBase<Lorg/apache/tomcat/util/net/NioChannel;>.OperationState<TA;>;
MethodParameters:
Name Flags
read
buffers
offset
length
block
timeout
unit
attachment
check
handler
semaphore
completion
}
Signature: Lorg/apache/tomcat/util/net/SocketWrapperBase<Lorg/apache/tomcat/util/net/NioChannel;>;
SourceFile: "NioEndpoint.java"
NestHost: org.apache.tomcat.util.net.NioEndpoint
InnerClasses:
public NioSocketWrapper = org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper of org.apache.tomcat.util.net.NioEndpoint
private NioOperationState = org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper$NioOperationState of org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper
public Poller = org.apache.tomcat.util.net.NioEndpoint$Poller of org.apache.tomcat.util.net.NioEndpoint
public SendfileData = org.apache.tomcat.util.net.NioEndpoint$SendfileData of org.apache.tomcat.util.net.NioEndpoint
public final BlockingMode = org.apache.tomcat.util.net.SocketWrapperBase$BlockingMode of org.apache.tomcat.util.net.SocketWrapperBase
public abstract CompletionCheck = org.apache.tomcat.util.net.SocketWrapperBase$CompletionCheck of org.apache.tomcat.util.net.SocketWrapperBase
protected abstract OperationState = org.apache.tomcat.util.net.SocketWrapperBase$OperationState of org.apache.tomcat.util.net.SocketWrapperBase
protected VectoredIOCompletionHandler = org.apache.tomcat.util.net.SocketWrapperBase$VectoredIOCompletionHandler of org.apache.tomcat.util.net.SocketWrapperBase