public class org.apache.tomcat.util.net.NioEndpoint$SocketProcessor extends org.apache.tomcat.util.net.SocketProcessorBase<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$SocketProcessor
super_class: org.apache.tomcat.util.net.SocketProcessorBase
{
final org.apache.tomcat.util.net.NioEndpoint this$0;
descriptor: Lorg/apache/tomcat/util/net/NioEndpoint;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(org.apache.tomcat.util.net.SocketWrapperBase<org.apache.tomcat.util.net.NioChannel>, org.apache.tomcat.util.net.SocketEvent);
descriptor: (Lorg/apache/tomcat/util/net/NioEndpoint;Lorg/apache/tomcat/util/net/SocketWrapperBase;Lorg/apache/tomcat/util/net/SocketEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 // org.apache.tomcat.util.net.NioEndpoint$SocketProcessor this
start local 2 // org.apache.tomcat.util.net.SocketWrapperBase socketWrapper
start local 3 // org.apache.tomcat.util.net.SocketEvent event
0: .line 1513
aload 0 /* this */
aload 1
putfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
1: .line 1514
aload 0 /* this */
aload 2 /* socketWrapper */
aload 3 /* event */
invokespecial org.apache.tomcat.util.net.SocketProcessorBase.<init>:(Lorg/apache/tomcat/util/net/SocketWrapperBase;Lorg/apache/tomcat/util/net/SocketEvent;)V
2: .line 1515
return
end local 3 // org.apache.tomcat.util.net.SocketEvent event
end local 2 // org.apache.tomcat.util.net.SocketWrapperBase socketWrapper
end local 0 // org.apache.tomcat.util.net.NioEndpoint$SocketProcessor this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/net/NioEndpoint$SocketProcessor;
0 3 2 socketWrapper Lorg/apache/tomcat/util/net/SocketWrapperBase<Lorg/apache/tomcat/util/net/NioChannel;>;
0 3 3 event Lorg/apache/tomcat/util/net/SocketEvent;
Signature: (Lorg/apache/tomcat/util/net/SocketWrapperBase<Lorg/apache/tomcat/util/net/NioChannel;>;Lorg/apache/tomcat/util/net/SocketEvent;)V
MethodParameters:
Name Flags
this$0 final
socketWrapper
event
protected void doRun();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=1
start local 0 // org.apache.tomcat.util.net.NioEndpoint$SocketProcessor this
0: .line 1527
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
getfield org.apache.tomcat.util.net.NioEndpoint.poller:Lorg/apache/tomcat/util/net/NioEndpoint$Poller;
astore 1 /* poller */
start local 1 // org.apache.tomcat.util.net.NioEndpoint$Poller poller
1: .line 1528
aload 1 /* poller */
ifnonnull 4
2: .line 1529
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
invokevirtual org.apache.tomcat.util.net.SocketWrapperBase.close:()V
3: .line 1530
return
4: .line 1534
StackMap locals: org.apache.tomcat.util.net.NioEndpoint$Poller
StackMap stack:
iconst_m1
istore 2 /* handshake */
start local 2 // int handshake
5: .line 1536
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
invokevirtual org.apache.tomcat.util.net.SocketWrapperBase.getSocket:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.NioChannel
invokevirtual org.apache.tomcat.util.net.NioChannel.isHandshakeComplete:()Z
ifeq 8
6: .line 1539
iconst_0
istore 2 /* handshake */
7: .line 1540
goto 25
StackMap locals: int
StackMap stack:
8: aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.event:Lorg/apache/tomcat/util/net/SocketEvent;
getstatic org.apache.tomcat.util.net.SocketEvent.STOP:Lorg/apache/tomcat/util/net/SocketEvent;
if_acmpeq 10
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.event:Lorg/apache/tomcat/util/net/SocketEvent;
getstatic org.apache.tomcat.util.net.SocketEvent.DISCONNECT:Lorg/apache/tomcat/util/net/SocketEvent;
if_acmpeq 10
9: .line 1541
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.event:Lorg/apache/tomcat/util/net/SocketEvent;
getstatic org.apache.tomcat.util.net.SocketEvent.ERROR:Lorg/apache/tomcat/util/net/SocketEvent;
if_acmpne 12
10: .line 1544
StackMap locals:
StackMap stack:
iconst_m1
istore 2 /* handshake */
11: .line 1545
goto 25
12: .line 1546
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
invokevirtual org.apache.tomcat.util.net.SocketWrapperBase.getSocket:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.NioChannel
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.event:Lorg/apache/tomcat/util/net/SocketEvent;
getstatic org.apache.tomcat.util.net.SocketEvent.OPEN_READ:Lorg/apache/tomcat/util/net/SocketEvent;
if_acmpne 13
iconst_1
goto 14
StackMap locals:
StackMap stack: org.apache.tomcat.util.net.NioChannel
13: iconst_0
StackMap locals: org.apache.tomcat.util.net.NioEndpoint$SocketProcessor org.apache.tomcat.util.net.NioEndpoint$Poller int
StackMap stack: org.apache.tomcat.util.net.NioChannel int
14: aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.event:Lorg/apache/tomcat/util/net/SocketEvent;
getstatic org.apache.tomcat.util.net.SocketEvent.OPEN_WRITE:Lorg/apache/tomcat/util/net/SocketEvent;
if_acmpne 15
iconst_1
goto 16
StackMap locals: org.apache.tomcat.util.net.NioEndpoint$SocketProcessor org.apache.tomcat.util.net.NioEndpoint$Poller int
StackMap stack: org.apache.tomcat.util.net.NioChannel int
15: iconst_0
StackMap locals: org.apache.tomcat.util.net.NioEndpoint$SocketProcessor org.apache.tomcat.util.net.NioEndpoint$Poller int
StackMap stack: org.apache.tomcat.util.net.NioChannel int int
16: invokevirtual org.apache.tomcat.util.net.NioChannel.handshake:(ZZ)I
istore 2 /* handshake */
17: .line 1554
aload 0 /* this */
getstatic org.apache.tomcat.util.net.SocketEvent.OPEN_READ:Lorg/apache/tomcat/util/net/SocketEvent;
putfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.event:Lorg/apache/tomcat/util/net/SocketEvent;
18: .line 1556
goto 25
StackMap locals:
StackMap stack: java.io.IOException
19: astore 3 /* x */
start local 3 // java.io.IOException x
20: .line 1557
iconst_m1
istore 2 /* handshake */
21: .line 1558
getstatic org.apache.tomcat.util.net.NioEndpoint.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 25
getstatic org.apache.tomcat.util.net.NioEndpoint.log:Lorg/apache/juli/logging/Log;
ldc "Error during SSL handshake"
aload 3 /* x */
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 3 // java.io.IOException x
22: goto 25
23: .line 1559
StackMap locals:
StackMap stack: java.nio.channels.CancelledKeyException
pop
24: .line 1560
iconst_m1
istore 2 /* handshake */
25: .line 1562
StackMap locals:
StackMap stack:
iload 2 /* handshake */
ifne 34
26: .line 1563
getstatic org.apache.tomcat.util.net.AbstractEndpoint$Handler$SocketState.OPEN:Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler$SocketState;
astore 3 /* state */
start local 3 // org.apache.tomcat.util.net.AbstractEndpoint$Handler$SocketState state
27: .line 1565
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.event:Lorg/apache/tomcat/util/net/SocketEvent;
ifnonnull 30
28: .line 1566
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
invokevirtual org.apache.tomcat.util.net.NioEndpoint.getHandler:()Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler;
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
getstatic org.apache.tomcat.util.net.SocketEvent.OPEN_READ:Lorg/apache/tomcat/util/net/SocketEvent;
invokeinterface org.apache.tomcat.util.net.AbstractEndpoint$Handler.process:(Lorg/apache/tomcat/util/net/SocketWrapperBase;Lorg/apache/tomcat/util/net/SocketEvent;)Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler$SocketState;
astore 3 /* state */
29: .line 1567
goto 31
30: .line 1568
StackMap locals: org.apache.tomcat.util.net.AbstractEndpoint$Handler$SocketState
StackMap stack:
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
invokevirtual org.apache.tomcat.util.net.NioEndpoint.getHandler:()Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler;
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.event:Lorg/apache/tomcat/util/net/SocketEvent;
invokeinterface org.apache.tomcat.util.net.AbstractEndpoint$Handler.process:(Lorg/apache/tomcat/util/net/SocketWrapperBase;Lorg/apache/tomcat/util/net/SocketEvent;)Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler$SocketState;
astore 3 /* state */
31: .line 1570
StackMap locals:
StackMap stack:
aload 3 /* state */
getstatic org.apache.tomcat.util.net.AbstractEndpoint$Handler$SocketState.CLOSED:Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler$SocketState;
if_acmpne 69
32: .line 1571
aload 1 /* poller */
aload 0 /* this */
invokevirtual org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.getSelectionKey:()Ljava/nio/channels/SelectionKey;
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
invokevirtual org.apache.tomcat.util.net.NioEndpoint$Poller.cancelledKey:(Ljava/nio/channels/SelectionKey;Lorg/apache/tomcat/util/net/SocketWrapperBase;)V
end local 3 // org.apache.tomcat.util.net.AbstractEndpoint$Handler$SocketState state
33: .line 1573
goto 69
StackMap locals:
StackMap stack:
34: iload 2 /* handshake */
iconst_m1
if_icmpne 38
35: .line 1574
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
invokevirtual org.apache.tomcat.util.net.NioEndpoint.getHandler:()Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler;
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
getstatic org.apache.tomcat.util.net.SocketEvent.CONNECT_FAIL:Lorg/apache/tomcat/util/net/SocketEvent;
invokeinterface org.apache.tomcat.util.net.AbstractEndpoint$Handler.process:(Lorg/apache/tomcat/util/net/SocketWrapperBase;Lorg/apache/tomcat/util/net/SocketEvent;)Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler$SocketState;
pop
36: .line 1575
aload 1 /* poller */
aload 0 /* this */
invokevirtual org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.getSelectionKey:()Ljava/nio/channels/SelectionKey;
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
invokevirtual org.apache.tomcat.util.net.NioEndpoint$Poller.cancelledKey:(Ljava/nio/channels/SelectionKey;Lorg/apache/tomcat/util/net/SocketWrapperBase;)V
37: .line 1576
goto 69
StackMap locals:
StackMap stack:
38: iload 2 /* handshake */
iconst_1
if_icmpne 41
39: .line 1577
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
invokevirtual org.apache.tomcat.util.net.SocketWrapperBase.registerReadInterest:()V
40: .line 1578
goto 69
StackMap locals:
StackMap stack:
41: iload 2 /* handshake */
iconst_4
if_icmpne 69
42: .line 1579
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
invokevirtual org.apache.tomcat.util.net.SocketWrapperBase.registerWriteInterest:()V
end local 2 // int handshake
43: .line 1581
goto 69
StackMap locals: org.apache.tomcat.util.net.NioEndpoint$SocketProcessor org.apache.tomcat.util.net.NioEndpoint$Poller
StackMap stack: java.nio.channels.CancelledKeyException
44: pop
45: .line 1582
aload 1 /* poller */
aload 0 /* this */
invokevirtual org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.getSelectionKey:()Ljava/nio/channels/SelectionKey;
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
invokevirtual org.apache.tomcat.util.net.NioEndpoint$Poller.cancelledKey:(Ljava/nio/channels/SelectionKey;Lorg/apache/tomcat/util/net/SocketWrapperBase;)V
46: .line 1589
aload 0 /* this */
aconst_null
putfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
47: .line 1590
aload 0 /* this */
aconst_null
putfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.event:Lorg/apache/tomcat/util/net/SocketEvent;
48: .line 1592
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
getfield org.apache.tomcat.util.net.NioEndpoint.running:Z
ifeq 73
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
getfield org.apache.tomcat.util.net.NioEndpoint.paused:Z
ifne 73
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
getfield org.apache.tomcat.util.net.NioEndpoint.processorCache:Lorg/apache/tomcat/util/collections/SynchronizedStack;
ifnull 73
49: .line 1593
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
getfield org.apache.tomcat.util.net.NioEndpoint.processorCache:Lorg/apache/tomcat/util/collections/SynchronizedStack;
aload 0 /* this */
invokevirtual org.apache.tomcat.util.collections.SynchronizedStack.push:(Ljava/lang/Object;)Z
pop
goto 73
50: .line 1583
StackMap locals:
StackMap stack: java.lang.VirtualMachineError
astore 2 /* vme */
start local 2 // java.lang.VirtualMachineError vme
51: .line 1584
aload 2 /* vme */
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
end local 2 // java.lang.VirtualMachineError vme
52: .line 1589
aload 0 /* this */
aconst_null
putfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
53: .line 1590
aload 0 /* this */
aconst_null
putfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.event:Lorg/apache/tomcat/util/net/SocketEvent;
54: .line 1592
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
getfield org.apache.tomcat.util.net.NioEndpoint.running:Z
ifeq 73
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
getfield org.apache.tomcat.util.net.NioEndpoint.paused:Z
ifne 73
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
getfield org.apache.tomcat.util.net.NioEndpoint.processorCache:Lorg/apache/tomcat/util/collections/SynchronizedStack;
ifnull 73
55: .line 1593
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
getfield org.apache.tomcat.util.net.NioEndpoint.processorCache:Lorg/apache/tomcat/util/collections/SynchronizedStack;
aload 0 /* this */
invokevirtual org.apache.tomcat.util.collections.SynchronizedStack.push:(Ljava/lang/Object;)Z
pop
goto 73
56: .line 1585
StackMap locals:
StackMap stack: java.lang.Throwable
astore 2 /* t */
start local 2 // java.lang.Throwable t
57: .line 1586
getstatic org.apache.tomcat.util.net.NioEndpoint.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.net.NioEndpoint.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.processing.fail"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 2 /* t */
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
58: .line 1587
aload 1 /* poller */
aload 0 /* this */
invokevirtual org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.getSelectionKey:()Ljava/nio/channels/SelectionKey;
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
invokevirtual org.apache.tomcat.util.net.NioEndpoint$Poller.cancelledKey:(Ljava/nio/channels/SelectionKey;Lorg/apache/tomcat/util/net/SocketWrapperBase;)V
end local 2 // java.lang.Throwable t
59: .line 1589
aload 0 /* this */
aconst_null
putfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
60: .line 1590
aload 0 /* this */
aconst_null
putfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.event:Lorg/apache/tomcat/util/net/SocketEvent;
61: .line 1592
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
getfield org.apache.tomcat.util.net.NioEndpoint.running:Z
ifeq 73
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
getfield org.apache.tomcat.util.net.NioEndpoint.paused:Z
ifne 73
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
getfield org.apache.tomcat.util.net.NioEndpoint.processorCache:Lorg/apache/tomcat/util/collections/SynchronizedStack;
ifnull 73
62: .line 1593
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
getfield org.apache.tomcat.util.net.NioEndpoint.processorCache:Lorg/apache/tomcat/util/collections/SynchronizedStack;
aload 0 /* this */
invokevirtual org.apache.tomcat.util.collections.SynchronizedStack.push:(Ljava/lang/Object;)Z
pop
goto 73
63: .line 1588
StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
64: .line 1589
aload 0 /* this */
aconst_null
putfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
65: .line 1590
aload 0 /* this */
aconst_null
putfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.event:Lorg/apache/tomcat/util/net/SocketEvent;
66: .line 1592
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
getfield org.apache.tomcat.util.net.NioEndpoint.running:Z
ifeq 68
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
getfield org.apache.tomcat.util.net.NioEndpoint.paused:Z
ifne 68
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
getfield org.apache.tomcat.util.net.NioEndpoint.processorCache:Lorg/apache/tomcat/util/collections/SynchronizedStack;
ifnull 68
67: .line 1593
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
getfield org.apache.tomcat.util.net.NioEndpoint.processorCache:Lorg/apache/tomcat/util/collections/SynchronizedStack;
aload 0 /* this */
invokevirtual org.apache.tomcat.util.collections.SynchronizedStack.push:(Ljava/lang/Object;)Z
pop
68: .line 1595
StackMap locals: org.apache.tomcat.util.net.NioEndpoint$SocketProcessor org.apache.tomcat.util.net.NioEndpoint$Poller top top java.lang.Throwable
StackMap stack:
aload 4
athrow
69: .line 1589
StackMap locals: org.apache.tomcat.util.net.NioEndpoint$SocketProcessor org.apache.tomcat.util.net.NioEndpoint$Poller
StackMap stack:
aload 0 /* this */
aconst_null
putfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
70: .line 1590
aload 0 /* this */
aconst_null
putfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.event:Lorg/apache/tomcat/util/net/SocketEvent;
71: .line 1592
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
getfield org.apache.tomcat.util.net.NioEndpoint.running:Z
ifeq 73
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
getfield org.apache.tomcat.util.net.NioEndpoint.paused:Z
ifne 73
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
getfield org.apache.tomcat.util.net.NioEndpoint.processorCache:Lorg/apache/tomcat/util/collections/SynchronizedStack;
ifnull 73
72: .line 1593
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
getfield org.apache.tomcat.util.net.NioEndpoint.processorCache:Lorg/apache/tomcat/util/collections/SynchronizedStack;
aload 0 /* this */
invokevirtual org.apache.tomcat.util.collections.SynchronizedStack.push:(Ljava/lang/Object;)Z
pop
73: .line 1596
StackMap locals:
StackMap stack:
return
end local 1 // org.apache.tomcat.util.net.NioEndpoint$Poller poller
end local 0 // org.apache.tomcat.util.net.NioEndpoint$SocketProcessor this
LocalVariableTable:
Start End Slot Name Signature
0 74 0 this Lorg/apache/tomcat/util/net/NioEndpoint$SocketProcessor;
1 74 1 poller Lorg/apache/tomcat/util/net/NioEndpoint$Poller;
5 43 2 handshake I
20 22 3 x Ljava/io/IOException;
27 33 3 state Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler$SocketState;
51 52 2 vme Ljava/lang/VirtualMachineError;
57 59 2 t Ljava/lang/Throwable;
Exception table:
from to target type
5 18 19 Class java.io.IOException
5 18 23 Class java.nio.channels.CancelledKeyException
4 43 44 Class java.nio.channels.CancelledKeyException
4 43 50 Class java.lang.VirtualMachineError
4 43 56 Class java.lang.Throwable
4 46 63 any
50 52 63 any
56 59 63 any
private java.nio.channels.SelectionKey getSelectionKey();
descriptor: ()Ljava/nio/channels/SelectionKey;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 // org.apache.tomcat.util.net.NioEndpoint$SocketProcessor this
0: .line 1600
invokestatic org.apache.tomcat.util.compat.JreCompat.isJre11Available:()Z
ifeq 2
1: .line 1601
aconst_null
areturn
2: .line 1604
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.socketWrapper:Lorg/apache/tomcat/util/net/SocketWrapperBase;
invokevirtual org.apache.tomcat.util.net.SocketWrapperBase.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 /* socketChannel */
start local 1 // java.nio.channels.SocketChannel socketChannel
3: .line 1605
aload 1 /* socketChannel */
ifnonnull 5
4: .line 1606
aconst_null
areturn
5: .line 1609
StackMap locals: java.nio.channels.SocketChannel
StackMap stack:
aload 1 /* socketChannel */
aload 0 /* this */
getfield org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.this$0:Lorg/apache/tomcat/util/net/NioEndpoint;
getfield org.apache.tomcat.util.net.NioEndpoint.poller: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;
areturn
end local 1 // java.nio.channels.SocketChannel socketChannel
end local 0 // org.apache.tomcat.util.net.NioEndpoint$SocketProcessor this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/net/NioEndpoint$SocketProcessor;
3 6 1 socketChannel Ljava/nio/channels/SocketChannel;
}
Signature: Lorg/apache/tomcat/util/net/SocketProcessorBase<Lorg/apache/tomcat/util/net/NioChannel;>;
SourceFile: "NioEndpoint.java"
NestHost: org.apache.tomcat.util.net.NioEndpoint
InnerClasses:
public abstract Handler = org.apache.tomcat.util.net.AbstractEndpoint$Handler of org.apache.tomcat.util.net.AbstractEndpoint
public final SocketState = org.apache.tomcat.util.net.AbstractEndpoint$Handler$SocketState of org.apache.tomcat.util.net.AbstractEndpoint$Handler
public Poller = org.apache.tomcat.util.net.NioEndpoint$Poller of org.apache.tomcat.util.net.NioEndpoint
protected SocketProcessor = org.apache.tomcat.util.net.NioEndpoint$SocketProcessor of org.apache.tomcat.util.net.NioEndpoint