public abstract class org.apache.tomcat.util.net.AbstractEndpoint<S, U>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.tomcat.util.net.AbstractEndpoint
super_class: java.lang.Object
{
protected static final org.apache.tomcat.util.res.StringManager sm;
descriptor: Lorg/apache/tomcat/util/res/StringManager;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected volatile boolean running;
descriptor: Z
flags: (0x0044) ACC_PROTECTED, ACC_VOLATILE
protected volatile boolean paused;
descriptor: Z
flags: (0x0044) ACC_PROTECTED, ACC_VOLATILE
protected volatile boolean internalExecutor;
descriptor: Z
flags: (0x0044) ACC_PROTECTED, ACC_VOLATILE
private volatile org.apache.tomcat.util.threads.LimitLatch connectionLimitLatch;
descriptor: Lorg/apache/tomcat/util/threads/LimitLatch;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
protected final org.apache.tomcat.util.net.SocketProperties socketProperties;
descriptor: Lorg/apache/tomcat/util/net/SocketProperties;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected org.apache.tomcat.util.net.Acceptor<U> acceptor;
descriptor: Lorg/apache/tomcat/util/net/Acceptor;
flags: (0x0004) ACC_PROTECTED
Signature: Lorg/apache/tomcat/util/net/Acceptor<TU;>;
protected org.apache.tomcat.util.collections.SynchronizedStack<org.apache.tomcat.util.net.SocketProcessorBase<S>> processorCache;
descriptor: Lorg/apache/tomcat/util/collections/SynchronizedStack;
flags: (0x0004) ACC_PROTECTED
Signature: Lorg/apache/tomcat/util/collections/SynchronizedStack<Lorg/apache/tomcat/util/net/SocketProcessorBase<TS;>;>;
private javax.management.ObjectName oname;
descriptor: Ljavax/management/ObjectName;
flags: (0x0002) ACC_PRIVATE
protected java.util.Map<U, org.apache.tomcat.util.net.SocketWrapperBase<S>> connections;
descriptor: Ljava/util/Map;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/Map<TU;Lorg/apache/tomcat/util/net/SocketWrapperBase<TS;>;>;
private java.lang.String defaultSSLHostConfigName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
protected java.util.concurrent.ConcurrentMap<java.lang.String, org.apache.tomcat.util.net.SSLHostConfig> sslHostConfigs;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/String;Lorg/apache/tomcat/util/net/SSLHostConfig;>;
private boolean useSendfile;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private long executorTerminationTimeoutMillis;
descriptor: J
flags: (0x0002) ACC_PRIVATE
protected int acceptorThreadCount;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int acceptorThreadPriority;
descriptor: I
flags: (0x0004) ACC_PROTECTED
private int maxConnections;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.util.concurrent.Executor executor;
descriptor: Ljava/util/concurrent/Executor;
flags: (0x0002) ACC_PRIVATE
private java.util.concurrent.ScheduledExecutorService utilityExecutor;
descriptor: Ljava/util/concurrent/ScheduledExecutorService;
flags: (0x0002) ACC_PRIVATE
private int port;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int portOffset;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.net.InetAddress address;
descriptor: Ljava/net/InetAddress;
flags: (0x0002) ACC_PRIVATE
private int acceptCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean bindOnInit;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private volatile org.apache.tomcat.util.net.AbstractEndpoint$BindState bindState;
descriptor: Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
Signature: Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
private java.lang.Integer keepAliveTimeout;
descriptor: Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
private boolean SSLEnabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int minSpareThreads;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int maxThreads;
descriptor: I
flags: (0x0002) ACC_PRIVATE
protected int threadPriority;
descriptor: I
flags: (0x0004) ACC_PROTECTED
private int maxKeepAliveRequests;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String domain;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean daemon;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean useAsyncIO;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
protected final java.util.List<java.lang.String> negotiableProtocols;
descriptor: Ljava/util/List;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
private org.apache.tomcat.util.net.AbstractEndpoint$Handler<S> handler;
descriptor: Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler<TS;>;
protected java.util.HashMap<java.lang.String, java.lang.Object> attributes;
descriptor: Ljava/util/HashMap;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/tomcat/util/net/AbstractEndpoint;
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
putstatic org.apache.tomcat.util.net.AbstractEndpoint.sm:Lorg/apache/tomcat/util/res/StringManager;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.apache.tomcat.util.net.AbstractEndpoint.running:Z
2: aload 0
iconst_0
putfield org.apache.tomcat.util.net.AbstractEndpoint.paused:Z
3: aload 0
iconst_1
putfield org.apache.tomcat.util.net.AbstractEndpoint.internalExecutor:Z
4: aload 0
aconst_null
putfield org.apache.tomcat.util.net.AbstractEndpoint.connectionLimitLatch:Lorg/apache/tomcat/util/threads/LimitLatch;
5: aload 0
new org.apache.tomcat.util.net.SocketProperties
dup
invokespecial org.apache.tomcat.util.net.SocketProperties.<init>:()V
putfield org.apache.tomcat.util.net.AbstractEndpoint.socketProperties:Lorg/apache/tomcat/util/net/SocketProperties;
6: aload 0
aconst_null
putfield org.apache.tomcat.util.net.AbstractEndpoint.oname:Ljavax/management/ObjectName;
7: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.apache.tomcat.util.net.AbstractEndpoint.connections:Ljava/util/Map;
8: aload 0
ldc "_default_"
putfield org.apache.tomcat.util.net.AbstractEndpoint.defaultSSLHostConfigName:Ljava/lang/String;
9: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.apache.tomcat.util.net.AbstractEndpoint.sslHostConfigs:Ljava/util/concurrent/ConcurrentMap;
10: aload 0
iconst_1
putfield org.apache.tomcat.util.net.AbstractEndpoint.useSendfile:Z
11: aload 0
ldc 5000
putfield org.apache.tomcat.util.net.AbstractEndpoint.executorTerminationTimeoutMillis:J
12: aload 0
iconst_1
putfield org.apache.tomcat.util.net.AbstractEndpoint.acceptorThreadCount:I
13: aload 0
iconst_5
putfield org.apache.tomcat.util.net.AbstractEndpoint.acceptorThreadPriority:I
14: aload 0
sipush 8192
putfield org.apache.tomcat.util.net.AbstractEndpoint.maxConnections:I
15: aload 0
aconst_null
putfield org.apache.tomcat.util.net.AbstractEndpoint.executor:Ljava/util/concurrent/Executor;
16: aload 0
aconst_null
putfield org.apache.tomcat.util.net.AbstractEndpoint.utilityExecutor:Ljava/util/concurrent/ScheduledExecutorService;
17: aload 0
iconst_m1
putfield org.apache.tomcat.util.net.AbstractEndpoint.port:I
18: aload 0
iconst_0
putfield org.apache.tomcat.util.net.AbstractEndpoint.portOffset:I
19: aload 0
bipush 100
putfield org.apache.tomcat.util.net.AbstractEndpoint.acceptCount:I
20: aload 0
iconst_1
putfield org.apache.tomcat.util.net.AbstractEndpoint.bindOnInit:Z
21: aload 0
getstatic org.apache.tomcat.util.net.AbstractEndpoint$BindState.UNBOUND:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
putfield org.apache.tomcat.util.net.AbstractEndpoint.bindState:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
22: aload 0
aconst_null
putfield org.apache.tomcat.util.net.AbstractEndpoint.keepAliveTimeout:Ljava/lang/Integer;
23: aload 0
iconst_0
putfield org.apache.tomcat.util.net.AbstractEndpoint.SSLEnabled:Z
24: aload 0
bipush 10
putfield org.apache.tomcat.util.net.AbstractEndpoint.minSpareThreads:I
25: aload 0
sipush 200
putfield org.apache.tomcat.util.net.AbstractEndpoint.maxThreads:I
26: aload 0
iconst_5
putfield org.apache.tomcat.util.net.AbstractEndpoint.threadPriority:I
27: aload 0
bipush 100
putfield org.apache.tomcat.util.net.AbstractEndpoint.maxKeepAliveRequests:I
28: aload 0
ldc "TP"
putfield org.apache.tomcat.util.net.AbstractEndpoint.name:Ljava/lang/String;
29: aload 0
iconst_1
putfield org.apache.tomcat.util.net.AbstractEndpoint.daemon:Z
30: aload 0
iconst_1
putfield org.apache.tomcat.util.net.AbstractEndpoint.useAsyncIO:Z
31: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.tomcat.util.net.AbstractEndpoint.negotiableProtocols:Ljava/util/List;
32: aload 0
aconst_null
putfield org.apache.tomcat.util.net.AbstractEndpoint.handler:Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler;
33: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.tomcat.util.net.AbstractEndpoint.attributes:Ljava/util/HashMap;
34: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public static long toTimeout(long);
descriptor: (J)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
lconst_0
lcmp
ifle 1
lload 0
goto 2
StackMap locals:
StackMap stack:
1: ldc 9223372036854775807
StackMap locals:
StackMap stack: long
2: lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 timeout J
MethodParameters:
Name Flags
timeout
public org.apache.tomcat.util.net.SocketProperties getSocketProperties();
descriptor: ()Lorg/apache/tomcat/util/net/SocketProperties;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.socketProperties:Lorg/apache/tomcat/util/net/SocketProperties;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public java.util.Set<org.apache.tomcat.util.net.SocketWrapperBase<S>> getConnections();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.util.HashSet
dup
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.connections:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
Signature: ()Ljava/util/Set<Lorg/apache/tomcat/util/net/SocketWrapperBase<TS;>;>;
public java.lang.String getDefaultSSLHostConfigName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.defaultSSLHostConfigName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public void setDefaultSSLHostConfigName(java.lang.String);
descriptor: (Ljava/lang/String;)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.AbstractEndpoint.defaultSSLHostConfigName:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 2 1 defaultSSLHostConfigName Ljava/lang/String;
MethodParameters:
Name Flags
defaultSSLHostConfigName
public void addSslHostConfig(org.apache.tomcat.util.net.SSLHostConfig);
descriptor: (Lorg/apache/tomcat/util/net/SSLHostConfig;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.addSslHostConfig:(Lorg/apache/tomcat/util/net/SSLHostConfig;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 2 1 sslHostConfig Lorg/apache/tomcat/util/net/SSLHostConfig;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
sslHostConfig
public void addSslHostConfig(org.apache.tomcat.util.net.SSLHostConfig, boolean);
descriptor: (Lorg/apache/tomcat/util/net/SSLHostConfig;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.apache.tomcat.util.net.SSLHostConfig.getHostName:()Ljava/lang/String;
astore 3
start local 3 1: aload 3
ifnull 2
aload 3
invokevirtual java.lang.String.length:()I
ifne 3
2: StackMap locals: java.lang.String
StackMap stack:
new java.lang.IllegalArgumentException
dup
getstatic org.apache.tomcat.util.net.AbstractEndpoint.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.noSslHostName"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.bindState:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
getstatic org.apache.tomcat.util.net.AbstractEndpoint$BindState.UNBOUND:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
if_acmpeq 9
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.bindState:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
getstatic org.apache.tomcat.util.net.AbstractEndpoint$BindState.SOCKET_CLOSED_ON_STOP:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
if_acmpeq 9
4: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.isSSLEnabled:()Z
ifeq 9
5: aload 0
aload 1
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.createSSLContext:(Lorg/apache/tomcat/util/net/SSLHostConfig;)V
6: goto 9
StackMap locals:
StackMap stack: java.lang.Exception
7: astore 4
start local 4 8: new java.lang.IllegalArgumentException
dup
aload 4
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 9: StackMap locals:
StackMap stack:
iload 2
ifeq 15
10: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.sslHostConfigs:Ljava/util/concurrent/ConcurrentMap;
aload 3
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.SSLHostConfig
astore 4
start local 4 11: aload 4
ifnull 13
12: aload 0
aload 1
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.unregisterJmx:(Lorg/apache/tomcat/util/net/SSLHostConfig;)V
13: StackMap locals: org.apache.tomcat.util.net.SSLHostConfig
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.registerJmx:(Lorg/apache/tomcat/util/net/SSLHostConfig;)V
end local 4 14: goto 20
15: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.sslHostConfigs:Ljava/util/concurrent/ConcurrentMap;
aload 3
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.SSLHostConfig
astore 4
start local 4 16: aload 4
ifnull 19
17: aload 0
aload 1
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.releaseSSLContext:(Lorg/apache/tomcat/util/net/SSLHostConfig;)V
18: new java.lang.IllegalArgumentException
dup
getstatic org.apache.tomcat.util.net.AbstractEndpoint.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.duplicateSslHostName"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals: org.apache.tomcat.util.net.SSLHostConfig
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.registerJmx:(Lorg/apache/tomcat/util/net/SSLHostConfig;)V
end local 4 20: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 21 1 sslHostConfig Lorg/apache/tomcat/util/net/SSLHostConfig;
0 21 2 replace Z
1 21 3 key Ljava/lang/String;
8 9 4 e Ljava/lang/Exception;
11 14 4 previous Lorg/apache/tomcat/util/net/SSLHostConfig;
16 20 4 duplicate Lorg/apache/tomcat/util/net/SSLHostConfig;
Exception table:
from to target type
5 6 7 Class java.lang.Exception
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
sslHostConfig
replace
public org.apache.tomcat.util.net.SSLHostConfig removeSslHostConfig(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/tomcat/util/net/SSLHostConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getDefaultSSLHostConfigName:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
3: new java.lang.IllegalArgumentException
dup
4: getstatic org.apache.tomcat.util.net.AbstractEndpoint.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.removeDefaultSslHostConfig"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.sslHostConfigs:Ljava/util/concurrent/ConcurrentMap;
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.SSLHostConfig
astore 2
start local 2 7: aload 0
aload 2
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.unregisterJmx:(Lorg/apache/tomcat/util/net/SSLHostConfig;)V
8: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 9 1 hostName Ljava/lang/String;
7 9 2 sslHostConfig Lorg/apache/tomcat/util/net/SSLHostConfig;
MethodParameters:
Name Flags
hostName
public void reloadSslHostConfig(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.sslHostConfigs:Ljava/util/concurrent/ConcurrentMap;
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.SSLHostConfig
astore 2
start local 2 1: aload 2
ifnonnull 5
2: new java.lang.IllegalArgumentException
dup
3: getstatic org.apache.tomcat.util.net.AbstractEndpoint.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.unknownSslHostName"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: org.apache.tomcat.util.net.SSLHostConfig
StackMap stack:
aload 0
aload 2
iconst_1
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.addSslHostConfig:(Lorg/apache/tomcat/util/net/SSLHostConfig;Z)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 7 1 hostName Ljava/lang/String;
1 7 2 sslHostConfig Lorg/apache/tomcat/util/net/SSLHostConfig;
MethodParameters:
Name Flags
hostName
public void reloadSslHostConfigs();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.sslHostConfigs:Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: org.apache.tomcat.util.net.AbstractEndpoint top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 2: aload 0
aload 1
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.reloadSslHostConfig:(Ljava/lang/String;)V
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
2 3 1 hostName Ljava/lang/String;
public org.apache.tomcat.util.net.SSLHostConfig[] findSslHostConfigs();
descriptor: ()[Lorg/apache/tomcat/util/net/SSLHostConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.sslHostConfigs:Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.values:()Ljava/util/Collection;
iconst_0
anewarray org.apache.tomcat.util.net.SSLHostConfig
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.SSLHostConfig[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
protected abstract void createSSLContext(org.apache.tomcat.util.net.SSLHostConfig);
descriptor: (Lorg/apache/tomcat/util/net/SSLHostConfig;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
sslHostConfig
protected void destroySsl();
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.AbstractEndpoint.isSSLEnabled:()Z
ifeq 5
1: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.sslHostConfigs:Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: org.apache.tomcat.util.net.AbstractEndpoint top java.util.Iterator
StackMap stack:
2: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.SSLHostConfig
astore 1
start local 1 3: aload 0
aload 1
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.releaseSSLContext:(Lorg/apache/tomcat/util/net/SSLHostConfig;)V
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: StackMap locals: org.apache.tomcat.util.net.AbstractEndpoint
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
3 4 1 sslHostConfig Lorg/apache/tomcat/util/net/SSLHostConfig;
Exceptions:
throws java.lang.Exception
protected void releaseSSLContext(org.apache.tomcat.util.net.SSLHostConfig);
descriptor: (Lorg/apache/tomcat/util/net/SSLHostConfig;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.tomcat.util.net.SSLHostConfig.getCertificates:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: org.apache.tomcat.util.net.AbstractEndpoint org.apache.tomcat.util.net.SSLHostConfig top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.SSLHostConfigCertificate
astore 2
start local 2 2: aload 2
invokevirtual org.apache.tomcat.util.net.SSLHostConfigCertificate.getSslContext:()Lorg/apache/tomcat/util/net/SSLContext;
ifnull 6
3: aload 2
invokevirtual org.apache.tomcat.util.net.SSLHostConfigCertificate.getSslContext:()Lorg/apache/tomcat/util/net/SSLContext;
astore 4
start local 4 4: aload 4
ifnull 6
5: aload 4
invokeinterface org.apache.tomcat.util.net.SSLContext.destroy:()V
end local 4 end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 8 1 sslHostConfig Lorg/apache/tomcat/util/net/SSLHostConfig;
2 6 2 certificate Lorg/apache/tomcat/util/net/SSLHostConfigCertificate;
4 6 4 sslContext Lorg/apache/tomcat/util/net/SSLContext;
MethodParameters:
Name Flags
sslHostConfig
protected org.apache.tomcat.util.net.SSLHostConfig getSSLHostConfig(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/tomcat/util/net/SSLHostConfig;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
ifnull 8
2: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.sslHostConfigs:Ljava/util/concurrent/ConcurrentMap;
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.SSLHostConfig
astore 2
3: aload 2
ifnull 5
4: aload 2
areturn
5: StackMap locals: org.apache.tomcat.util.net.SSLHostConfig
StackMap stack:
aload 1
bipush 46
invokevirtual java.lang.String.indexOf:(I)I
istore 3
start local 3 6: iload 3
iconst_m1
if_icmple 8
7: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.sslHostConfigs:Ljava/util/concurrent/ConcurrentMap;
new java.lang.StringBuilder
dup
ldc "*"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
iload 3
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.SSLHostConfig
astore 2
end local 3 8: StackMap locals:
StackMap stack:
aload 2
ifnonnull 10
9: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.sslHostConfigs:Ljava/util/concurrent/ConcurrentMap;
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getDefaultSSLHostConfigName:()Ljava/lang/String;
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.SSLHostConfig
astore 2
10: StackMap locals:
StackMap stack:
aload 2
ifnonnull 12
11: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
12: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 13 1 sniHostName Ljava/lang/String;
1 13 2 result Lorg/apache/tomcat/util/net/SSLHostConfig;
6 8 3 indexOfDot I
MethodParameters:
Name Flags
sniHostName
public boolean getUseSendfile();
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.AbstractEndpoint.useSendfile:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public void setUseSendfile(boolean);
descriptor: (Z)V
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.AbstractEndpoint.useSendfile:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 2 1 useSendfile Z
MethodParameters:
Name Flags
useSendfile
public long getExecutorTerminationTimeoutMillis();
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.AbstractEndpoint.executorTerminationTimeoutMillis:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public void setExecutorTerminationTimeoutMillis(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield org.apache.tomcat.util.net.AbstractEndpoint.executorTerminationTimeoutMillis:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 2 1 executorTerminationTimeoutMillis J
MethodParameters:
Name Flags
executorTerminationTimeoutMillis
public void setAcceptorThreadPriority(int);
descriptor: (I)V
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.AbstractEndpoint.acceptorThreadPriority:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 2 1 acceptorThreadPriority I
MethodParameters:
Name Flags
acceptorThreadPriority
public int getAcceptorThreadPriority();
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.AbstractEndpoint.acceptorThreadPriority:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public void setMaxConnections(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.tomcat.util.net.AbstractEndpoint.maxConnections:I
1: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.connectionLimitLatch:Lorg/apache/tomcat/util/threads/LimitLatch;
astore 2
start local 2 2: aload 2
ifnull 8
3: iload 1
iconst_m1
if_icmpne 6
4: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.releaseConnectionLatch:()V
5: goto 10
6: StackMap locals: org.apache.tomcat.util.threads.LimitLatch
StackMap stack:
aload 2
iload 1
i2l
invokevirtual org.apache.tomcat.util.threads.LimitLatch.setLimit:(J)V
7: goto 10
StackMap locals:
StackMap stack:
8: iload 1
ifle 10
9: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.initializeConnectionLatch:()Lorg/apache/tomcat/util/threads/LimitLatch;
pop
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 11 1 maxCon I
2 11 2 latch Lorg/apache/tomcat/util/threads/LimitLatch;
MethodParameters:
Name Flags
maxCon
public int getMaxConnections();
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.AbstractEndpoint.maxConnections:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public long getConnectionCount();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.connectionLimitLatch:Lorg/apache/tomcat/util/threads/LimitLatch;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual org.apache.tomcat.util.threads.LimitLatch.getCount:()J
lreturn
3: StackMap locals: org.apache.tomcat.util.threads.LimitLatch
StackMap stack:
ldc -1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
1 4 1 latch Lorg/apache/tomcat/util/threads/LimitLatch;
public void setExecutor(java.util.concurrent.Executor);
descriptor: (Ljava/util/concurrent/Executor;)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.AbstractEndpoint.executor:Ljava/util/concurrent/Executor;
1: aload 0
aload 1
ifnonnull 2
iconst_1
goto 3
StackMap locals:
StackMap stack: org.apache.tomcat.util.net.AbstractEndpoint
2: iconst_0
StackMap locals: org.apache.tomcat.util.net.AbstractEndpoint java.util.concurrent.Executor
StackMap stack: org.apache.tomcat.util.net.AbstractEndpoint int
3: putfield org.apache.tomcat.util.net.AbstractEndpoint.internalExecutor:Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 5 1 executor Ljava/util/concurrent/Executor;
MethodParameters:
Name Flags
executor
public java.util.concurrent.Executor getExecutor();
descriptor: ()Ljava/util/concurrent/Executor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.executor:Ljava/util/concurrent/Executor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public void setUtilityExecutor(java.util.concurrent.ScheduledExecutorService);
descriptor: (Ljava/util/concurrent/ScheduledExecutorService;)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.AbstractEndpoint.utilityExecutor:Ljava/util/concurrent/ScheduledExecutorService;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 2 1 utilityExecutor Ljava/util/concurrent/ScheduledExecutorService;
MethodParameters:
Name Flags
utilityExecutor
public java.util.concurrent.ScheduledExecutorService getUtilityExecutor();
descriptor: ()Ljava/util/concurrent/ScheduledExecutorService;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.utilityExecutor:Ljava/util/concurrent/ScheduledExecutorService;
ifnonnull 3
1: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLog:()Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.net.AbstractEndpoint.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.warn.noUtilityExecutor"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
2: aload 0
new java.util.concurrent.ScheduledThreadPoolExecutor
dup
iconst_1
invokespecial java.util.concurrent.ScheduledThreadPoolExecutor.<init>:(I)V
putfield org.apache.tomcat.util.net.AbstractEndpoint.utilityExecutor:Ljava/util/concurrent/ScheduledExecutorService;
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.utilityExecutor:Ljava/util/concurrent/ScheduledExecutorService;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public int getPort();
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.AbstractEndpoint.port:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public void setPort(int);
descriptor: (I)V
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.AbstractEndpoint.port:I
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 1 1 port I
MethodParameters:
Name Flags
port
public int getPortOffset();
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.AbstractEndpoint.portOffset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public void setPortOffset(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifge 4
1: new java.lang.IllegalArgumentException
dup
2: getstatic org.apache.tomcat.util.net.AbstractEndpoint.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.portOffset.invalid"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.apache.tomcat.util.net.AbstractEndpoint.portOffset:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 6 1 portOffset I
MethodParameters:
Name Flags
portOffset
public int getPortWithOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getPort:()I
istore 1
start local 1 1: iload 1
ifle 3
2: iload 1
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getPortOffset:()I
iadd
ireturn
3: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
1 4 1 port I
public final int getLocalPort();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLocalAddress:()Ljava/net/InetSocketAddress;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: iconst_m1
ireturn
3: StackMap locals: java.net.InetSocketAddress
StackMap stack:
aload 1
invokevirtual java.net.InetSocketAddress.getPort:()I
4: ireturn
end local 1 5: StackMap locals: org.apache.tomcat.util.net.AbstractEndpoint
StackMap stack: java.io.IOException
pop
6: iconst_m1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
1 5 1 localAddress Ljava/net/InetSocketAddress;
Exception table:
from to target type
0 2 5 Class java.io.IOException
3 4 5 Class java.io.IOException
public java.net.InetAddress getAddress();
descriptor: ()Ljava/net/InetAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.address:Ljava/net/InetAddress;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public void setAddress(java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;)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.AbstractEndpoint.address:Ljava/net/InetAddress;
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 1 1 address Ljava/net/InetAddress;
MethodParameters:
Name Flags
address
protected abstract java.net.InetSocketAddress getLocalAddress();
descriptor: ()Ljava/net/InetSocketAddress;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public void setAcceptCount(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifle 1
aload 0
iload 1
putfield org.apache.tomcat.util.net.AbstractEndpoint.acceptCount:I
StackMap locals:
StackMap stack:
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 2 1 acceptCount I
MethodParameters:
Name Flags
acceptCount
public int getAcceptCount();
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.AbstractEndpoint.acceptCount:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public boolean getBindOnInit();
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.AbstractEndpoint.bindOnInit:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public void setBindOnInit(boolean);
descriptor: (Z)V
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.AbstractEndpoint.bindOnInit:Z
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 1 1 b Z
MethodParameters:
Name Flags
b
public int getKeepAliveTimeout();
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.AbstractEndpoint.keepAliveTimeout:Ljava/lang/Integer;
ifnonnull 2
1: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getConnectionTimeout:()I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.keepAliveTimeout:Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public void setKeepAliveTimeout(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield org.apache.tomcat.util.net.AbstractEndpoint.keepAliveTimeout:Ljava/lang/Integer;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 2 1 keepAliveTimeout I
MethodParameters:
Name Flags
keepAliveTimeout
public boolean getTcpNoDelay();
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.AbstractEndpoint.socketProperties:Lorg/apache/tomcat/util/net/SocketProperties;
invokevirtual org.apache.tomcat.util.net.SocketProperties.getTcpNoDelay:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public void setTcpNoDelay(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.socketProperties:Lorg/apache/tomcat/util/net/SocketProperties;
iload 1
invokevirtual org.apache.tomcat.util.net.SocketProperties.setTcpNoDelay:(Z)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 1 1 tcpNoDelay Z
MethodParameters:
Name Flags
tcpNoDelay
public int getConnectionLinger();
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.AbstractEndpoint.socketProperties:Lorg/apache/tomcat/util/net/SocketProperties;
invokevirtual org.apache.tomcat.util.net.SocketProperties.getSoLingerTime:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public void setConnectionLinger(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.socketProperties:Lorg/apache/tomcat/util/net/SocketProperties;
iload 1
invokevirtual org.apache.tomcat.util.net.SocketProperties.setSoLingerTime:(I)V
1: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.socketProperties:Lorg/apache/tomcat/util/net/SocketProperties;
iload 1
iflt 2
iconst_1
goto 3
StackMap locals:
StackMap stack: org.apache.tomcat.util.net.SocketProperties
2: iconst_0
StackMap locals: org.apache.tomcat.util.net.AbstractEndpoint int
StackMap stack: org.apache.tomcat.util.net.SocketProperties int
3: invokevirtual org.apache.tomcat.util.net.SocketProperties.setSoLingerOn:(Z)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 5 1 connectionLinger I
MethodParameters:
Name Flags
connectionLinger
public int getConnectionTimeout();
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.AbstractEndpoint.socketProperties:Lorg/apache/tomcat/util/net/SocketProperties;
invokevirtual org.apache.tomcat.util.net.SocketProperties.getSoTimeout:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public void setConnectionTimeout(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.socketProperties:Lorg/apache/tomcat/util/net/SocketProperties;
iload 1
invokevirtual org.apache.tomcat.util.net.SocketProperties.setSoTimeout:(I)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 1 1 soTimeout I
MethodParameters:
Name Flags
soTimeout
public boolean isSSLEnabled();
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.AbstractEndpoint.SSLEnabled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public void setSSLEnabled(boolean);
descriptor: (Z)V
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.AbstractEndpoint.SSLEnabled:Z
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 1 1 SSLEnabled Z
MethodParameters:
Name Flags
SSLEnabled
public abstract boolean isAlpnSupported();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public void setMinSpareThreads(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.tomcat.util.net.AbstractEndpoint.minSpareThreads:I
1: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.executor:Ljava/util/concurrent/Executor;
astore 2
start local 2 2: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.internalExecutor:Z
ifeq 4
aload 2
instanceof java.util.concurrent.ThreadPoolExecutor
ifeq 4
3: aload 2
checkcast java.util.concurrent.ThreadPoolExecutor
iload 1
invokevirtual java.util.concurrent.ThreadPoolExecutor.setCorePoolSize:(I)V
4: StackMap locals: java.util.concurrent.Executor
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 5 1 minSpareThreads I
2 5 2 executor Ljava/util/concurrent/Executor;
MethodParameters:
Name Flags
minSpareThreads
public int getMinSpareThreads();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getMinSpareThreadsInternal:()I
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getMaxThreads:()I
invokestatic java.lang.Math.min:(II)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
private int getMinSpareThreadsInternal();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.internalExecutor:Z
ifeq 2
1: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.minSpareThreads:I
ireturn
2: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public void setMaxThreads(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.tomcat.util.net.AbstractEndpoint.maxThreads:I
1: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.executor:Ljava/util/concurrent/Executor;
astore 2
start local 2 2: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.internalExecutor:Z
ifeq 4
aload 2
instanceof java.util.concurrent.ThreadPoolExecutor
ifeq 4
3: aload 2
checkcast java.util.concurrent.ThreadPoolExecutor
iload 1
invokevirtual java.util.concurrent.ThreadPoolExecutor.setMaximumPoolSize:(I)V
4: StackMap locals: java.util.concurrent.Executor
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 5 1 maxThreads I
2 5 2 executor Ljava/util/concurrent/Executor;
MethodParameters:
Name Flags
maxThreads
public int getMaxThreads();
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.AbstractEndpoint.internalExecutor:Z
ifeq 2
1: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.maxThreads:I
ireturn
2: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public void setThreadPriority(int);
descriptor: (I)V
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.AbstractEndpoint.threadPriority:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 2 1 threadPriority I
MethodParameters:
Name Flags
threadPriority
public int getThreadPriority();
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.AbstractEndpoint.internalExecutor:Z
ifeq 2
1: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.threadPriority:I
ireturn
2: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public int getMaxKeepAliveRequests();
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.AbstractEndpoint.bindState:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint$BindState.isBound:()Z
ifeq 2
1: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.maxKeepAliveRequests:I
ireturn
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public void setMaxKeepAliveRequests(int);
descriptor: (I)V
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.AbstractEndpoint.maxKeepAliveRequests:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 2 1 maxKeepAliveRequests I
MethodParameters:
Name Flags
maxKeepAliveRequests
public void setName(java.lang.String);
descriptor: (Ljava/lang/String;)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.AbstractEndpoint.name:Ljava/lang/String;
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public void setDomain(java.lang.String);
descriptor: (Ljava/lang/String;)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.AbstractEndpoint.domain:Ljava/lang/String;
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 1 1 domain Ljava/lang/String;
MethodParameters:
Name Flags
domain
public java.lang.String getDomain();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.domain:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public void setDaemon(boolean);
descriptor: (Z)V
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.AbstractEndpoint.daemon:Z
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 1 1 b Z
MethodParameters:
Name Flags
b
public boolean getDaemon();
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.AbstractEndpoint.daemon:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public void setUseAsyncIO(boolean);
descriptor: (Z)V
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.AbstractEndpoint.useAsyncIO:Z
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 1 1 useAsyncIO Z
MethodParameters:
Name Flags
useAsyncIO
public boolean getUseAsyncIO();
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.AbstractEndpoint.useAsyncIO:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
protected boolean getDeferAccept();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public void addNegotiatedProtocol(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.negotiableProtocols:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 2 1 negotiableProtocol Ljava/lang/String;
MethodParameters:
Name Flags
negotiableProtocol
public boolean hasNegotiableProtocols();
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.AbstractEndpoint.negotiableProtocols:Ljava/util/List;
invokeinterface java.util.List.size:()I
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public void setHandler(org.apache.tomcat.util.net.AbstractEndpoint$Handler<S>);
descriptor: (Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler;)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.AbstractEndpoint.handler:Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler;
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 1 1 handler Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler<TS;>;
Signature: (Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler<TS;>;)V
MethodParameters:
Name Flags
handler
public org.apache.tomcat.util.net.AbstractEndpoint$Handler<S> getHandler();
descriptor: ()Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.handler:Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
Signature: ()Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler<TS;>;
public void setAttribute(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLog:()Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isTraceEnabled:()Z
ifeq 2
1: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLog:()Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.net.AbstractEndpoint.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.setAttribute"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.trace:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.attributes:Ljava/util/HashMap;
aload 1
aload 2
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 4 1 name Ljava/lang/String;
0 4 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
name
value
public java.lang.Object getAttribute(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.attributes:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLog:()Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isTraceEnabled:()Z
ifeq 3
2: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLog:()Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.net.AbstractEndpoint.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.getAttribute"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.trace:(Ljava/lang/Object;)V
3: StackMap locals: java.lang.Object
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 4 1 key Ljava/lang/String;
1 4 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
key
public boolean setProperty(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
1: aload 1
ldc "socket."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
2: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.socketProperties:Lorg/apache/tomcat/util/net/SocketProperties;
aload 1
ldc "socket."
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
aload 2
invokestatic org.apache.tomcat.util.IntrospectionUtils.setProperty:(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)Z
3: ireturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iconst_0
invokestatic org.apache.tomcat.util.IntrospectionUtils.setProperty:(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Z)Z
5: ireturn
6: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 7: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLog:()Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.net.AbstractEndpoint.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.setAttributeError"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 3
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
8: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 9 1 name Ljava/lang/String;
0 9 2 value Ljava/lang/String;
7 9 3 x Ljava/lang/Exception;
Exception table:
from to target type
1 3 6 Class java.lang.Exception
4 5 6 Class java.lang.Exception
MethodParameters:
Name Flags
name
value
public java.lang.String getProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 1: aload 2
ifnonnull 5
aload 1
ldc "socket."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 5
2: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.socketProperties:Lorg/apache/tomcat/util/net/SocketProperties;
aload 1
ldc "socket."
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic org.apache.tomcat.util.IntrospectionUtils.getProperty:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
astore 3
start local 3 3: aload 3
ifnull 5
4: aload 3
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 2
end local 3 5: StackMap locals: java.lang.String
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 6 1 name Ljava/lang/String;
1 6 2 value Ljava/lang/String;
3 5 3 result Ljava/lang/Object;
MethodParameters:
Name Flags
name
public int getCurrentThreadCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.executor:Ljava/util/concurrent/Executor;
astore 1
start local 1 1: aload 1
ifnull 7
2: aload 1
instanceof org.apache.tomcat.util.threads.ThreadPoolExecutor
ifeq 4
3: aload 1
checkcast org.apache.tomcat.util.threads.ThreadPoolExecutor
invokevirtual org.apache.tomcat.util.threads.ThreadPoolExecutor.getPoolSize:()I
ireturn
4: StackMap locals: java.util.concurrent.Executor
StackMap stack:
aload 1
instanceof org.apache.tomcat.util.threads.ResizableExecutor
ifeq 6
5: aload 1
checkcast org.apache.tomcat.util.threads.ResizableExecutor
invokeinterface org.apache.tomcat.util.threads.ResizableExecutor.getPoolSize:()I
ireturn
6: StackMap locals:
StackMap stack:
iconst_m1
ireturn
7: StackMap locals:
StackMap stack:
bipush -2
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
1 8 1 executor Ljava/util/concurrent/Executor;
public int getCurrentThreadsBusy();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.executor:Ljava/util/concurrent/Executor;
astore 1
start local 1 1: aload 1
ifnull 7
2: aload 1
instanceof org.apache.tomcat.util.threads.ThreadPoolExecutor
ifeq 4
3: aload 1
checkcast org.apache.tomcat.util.threads.ThreadPoolExecutor
invokevirtual org.apache.tomcat.util.threads.ThreadPoolExecutor.getActiveCount:()I
ireturn
4: StackMap locals: java.util.concurrent.Executor
StackMap stack:
aload 1
instanceof org.apache.tomcat.util.threads.ResizableExecutor
ifeq 6
5: aload 1
checkcast org.apache.tomcat.util.threads.ResizableExecutor
invokeinterface org.apache.tomcat.util.threads.ResizableExecutor.getActiveCount:()I
ireturn
6: StackMap locals:
StackMap stack:
iconst_m1
ireturn
7: StackMap locals:
StackMap stack:
bipush -2
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
1 8 1 executor Ljava/util/concurrent/Executor;
public boolean isRunning();
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.AbstractEndpoint.running:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public boolean isPaused();
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.AbstractEndpoint.paused:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public void createExecutor();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=3, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.apache.tomcat.util.net.AbstractEndpoint.internalExecutor:Z
1: new org.apache.tomcat.util.threads.TaskQueue
dup
invokespecial org.apache.tomcat.util.threads.TaskQueue.<init>:()V
astore 1
start local 1 2: new org.apache.tomcat.util.threads.TaskThreadFactory
dup
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-exec-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.daemon:Z
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getThreadPriority:()I
invokespecial org.apache.tomcat.util.threads.TaskThreadFactory.<init>:(Ljava/lang/String;ZI)V
astore 2
start local 2 3: aload 0
new org.apache.tomcat.util.threads.ThreadPoolExecutor
dup
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getMinSpareThreads:()I
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getMaxThreads:()I
ldc 60
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
aload 1
aload 2
invokespecial org.apache.tomcat.util.threads.ThreadPoolExecutor.<init>:(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;)V
putfield org.apache.tomcat.util.net.AbstractEndpoint.executor:Ljava/util/concurrent/Executor;
4: aload 1
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.executor:Ljava/util/concurrent/Executor;
checkcast org.apache.tomcat.util.threads.ThreadPoolExecutor
invokevirtual org.apache.tomcat.util.threads.TaskQueue.setParent:(Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
2 6 1 taskqueue Lorg/apache/tomcat/util/threads/TaskQueue;
3 6 2 tf Lorg/apache/tomcat/util/threads/TaskThreadFactory;
public void shutdownExecutor();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.executor:Ljava/util/concurrent/Executor;
astore 1
start local 1 1: aload 1
ifnull 15
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.internalExecutor:Z
ifeq 15
2: aload 0
aconst_null
putfield org.apache.tomcat.util.net.AbstractEndpoint.executor:Ljava/util/concurrent/Executor;
3: aload 1
instanceof org.apache.tomcat.util.threads.ThreadPoolExecutor
ifeq 15
4: aload 1
checkcast org.apache.tomcat.util.threads.ThreadPoolExecutor
astore 2
start local 2 5: aload 2
invokevirtual org.apache.tomcat.util.threads.ThreadPoolExecutor.shutdownNow:()Ljava/util/List;
pop
6: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getExecutorTerminationTimeoutMillis:()J
lstore 3
start local 3 7: lload 3
lconst_0
lcmp
ifle 13
8: aload 2
lload 3
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual org.apache.tomcat.util.threads.ThreadPoolExecutor.awaitTermination:(JLjava/util/concurrent/TimeUnit;)Z
pop
9: goto 11
StackMap locals: org.apache.tomcat.util.net.AbstractEndpoint java.util.concurrent.Executor org.apache.tomcat.util.threads.ThreadPoolExecutor long
StackMap stack: java.lang.InterruptedException
10: pop
11: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.apache.tomcat.util.threads.ThreadPoolExecutor.isTerminating:()Z
ifeq 13
12: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLog:()Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.net.AbstractEndpoint.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.warn.executorShutdown"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getName:()Ljava/lang/String;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
13: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.apache.tomcat.util.threads.ThreadPoolExecutor.getQueue:()Ljava/util/concurrent/BlockingQueue;
checkcast org.apache.tomcat.util.threads.TaskQueue
astore 5
start local 5 14: aload 5
aconst_null
invokevirtual org.apache.tomcat.util.threads.TaskQueue.setParent:(Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;)V
end local 5 end local 3 end local 2 15: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
1 16 1 executor Ljava/util/concurrent/Executor;
5 15 2 tpe Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;
7 15 3 timeout J
14 15 5 queue Lorg/apache/tomcat/util/threads/TaskQueue;
Exception table:
from to target type
8 9 10 Class java.lang.InterruptedException
private void unlockAccept();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=9, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.acceptor:Lorg/apache/tomcat/util/net/Acceptor;
ifnull 1
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.acceptor:Lorg/apache/tomcat/util/net/Acceptor;
invokevirtual org.apache.tomcat.util.net.Acceptor.getState:()Lorg/apache/tomcat/util/net/Acceptor$AcceptorState;
getstatic org.apache.tomcat.util.net.Acceptor$AcceptorState.RUNNING:Lorg/apache/tomcat/util/net/Acceptor$AcceptorState;
if_acmpeq 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aconst_null
astore 1
start local 1 3: aconst_null
astore 2
start local 2 4: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLocalAddress:()Ljava/net/InetSocketAddress;
astore 2
5: goto 8
StackMap locals: org.apache.tomcat.util.net.AbstractEndpoint java.net.InetSocketAddress java.net.InetSocketAddress
StackMap stack: java.io.IOException
6: astore 3
start local 3 7: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLog:()Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.net.AbstractEndpoint.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.debug.unlock.localFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getName:()Ljava/lang/String;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 3
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 3 8: StackMap locals:
StackMap stack:
aload 2
ifnonnull 11
9: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLog:()Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.net.AbstractEndpoint.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.debug.unlock.localNone"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getName:()Ljava/lang/String;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
10: return
11: StackMap locals:
StackMap stack:
aload 2
invokestatic org.apache.tomcat.util.net.AbstractEndpoint.getUnlockAddress:(Ljava/net/InetSocketAddress;)Ljava/net/InetSocketAddress;
astore 1
12: aconst_null
astore 3
aconst_null
astore 4
13: new java.net.Socket
dup
invokespecial java.net.Socket.<init>:()V
astore 5
start local 5 14: sipush 2000
istore 6
start local 6 15: sipush 2000
istore 7
start local 7 16: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getSocketProperties:()Lorg/apache/tomcat/util/net/SocketProperties;
invokevirtual org.apache.tomcat.util.net.SocketProperties.getSoTimeout:()I
iload 6
if_icmple 18
17: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getSocketProperties:()Lorg/apache/tomcat/util/net/SocketProperties;
invokevirtual org.apache.tomcat.util.net.SocketProperties.getSoTimeout:()I
istore 6
18: StackMap locals: org.apache.tomcat.util.net.AbstractEndpoint java.net.InetSocketAddress java.net.InetSocketAddress java.lang.Throwable java.lang.Throwable java.net.Socket int int
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getSocketProperties:()Lorg/apache/tomcat/util/net/SocketProperties;
invokevirtual org.apache.tomcat.util.net.SocketProperties.getUnlockTimeout:()I
iload 7
if_icmple 20
19: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getSocketProperties:()Lorg/apache/tomcat/util/net/SocketProperties;
invokevirtual org.apache.tomcat.util.net.SocketProperties.getUnlockTimeout:()I
istore 7
20: StackMap locals:
StackMap stack:
aload 5
iload 6
invokevirtual java.net.Socket.setSoTimeout:(I)V
21: aload 5
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getSocketProperties:()Lorg/apache/tomcat/util/net/SocketProperties;
invokevirtual org.apache.tomcat.util.net.SocketProperties.getSoLingerOn:()Z
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getSocketProperties:()Lorg/apache/tomcat/util/net/SocketProperties;
invokevirtual org.apache.tomcat.util.net.SocketProperties.getSoLingerTime:()I
invokevirtual java.net.Socket.setSoLinger:(ZI)V
22: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLog:()Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 24
23: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLog:()Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc "About to unlock socket for:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
24: StackMap locals:
StackMap stack:
aload 5
aload 1
iload 7
invokevirtual java.net.Socket.connect:(Ljava/net/SocketAddress;I)V
25: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getDeferAccept:()Z
ifeq 29
26: new java.io.OutputStreamWriter
dup
aload 5
invokevirtual java.net.Socket.getOutputStream:()Ljava/io/OutputStream;
ldc "ISO-8859-1"
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;Ljava/lang/String;)V
astore 8
start local 8 27: aload 8
ldc "OPTIONS * HTTP/1.0\r\nUser-Agent: Tomcat wakeup connection\r\n\r\n"
invokevirtual java.io.OutputStreamWriter.write:(Ljava/lang/String;)V
28: aload 8
invokevirtual java.io.OutputStreamWriter.flush:()V
end local 8 29: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLog:()Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 31
30: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLog:()Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc "Socket unlock completed for:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
end local 7 end local 6 31: StackMap locals:
StackMap stack:
aload 5
ifnull 37
aload 5
invokevirtual java.net.Socket.close:()V
goto 37
StackMap locals:
StackMap stack: java.lang.Throwable
32: astore 3
aload 5
ifnull 33
aload 5
invokevirtual java.net.Socket.close:()V
end local 5 StackMap locals:
StackMap stack:
33: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
34: astore 4
aload 3
ifnonnull 35
aload 4
astore 3
goto 36
StackMap locals:
StackMap stack:
35: aload 3
aload 4
if_acmpeq 36
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
36: aload 3
athrow
37: StackMap locals:
StackMap stack:
ldc 1000
lstore 3
start local 3 38: goto 41
39: StackMap locals: long
StackMap stack:
ldc 5
invokestatic java.lang.Thread.sleep:(J)V
40: lload 3
ldc 5
lsub
lstore 3
41: StackMap locals:
StackMap stack:
lload 3
lconst_0
lcmp
ifle 52
42: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.acceptor:Lorg/apache/tomcat/util/net/Acceptor;
invokevirtual org.apache.tomcat.util.net.Acceptor.getState:()Lorg/apache/tomcat/util/net/Acceptor$AcceptorState;
getstatic org.apache.tomcat.util.net.Acceptor$AcceptorState.RUNNING:Lorg/apache/tomcat/util/net/Acceptor$AcceptorState;
if_acmpeq 39
end local 3 43: goto 52
StackMap locals: org.apache.tomcat.util.net.AbstractEndpoint java.net.InetSocketAddress java.net.InetSocketAddress
StackMap stack: java.lang.Throwable
44: astore 3
start local 3 45: aload 3
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
46: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLog:()Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 52
47: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLog:()Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.net.AbstractEndpoint.sm:Lorg/apache/tomcat/util/res/StringManager;
48: ldc "endpoint.debug.unlock.fail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getPortWithOffset:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
aastore
49: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
50: aload 3
51: invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 3 52: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 53 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
3 53 1 unlockAddress Ljava/net/InetSocketAddress;
4 53 2 localAddress Ljava/net/InetSocketAddress;
7 8 3 ioe Ljava/io/IOException;
14 33 5 s Ljava/net/Socket;
15 31 6 stmo I
16 31 7 utmo I
27 29 8 sw Ljava/io/OutputStreamWriter;
38 43 3 waitLeft J
45 52 3 t Ljava/lang/Throwable;
Exception table:
from to target type
4 5 6 Class java.io.IOException
14 31 32 any
13 34 34 any
11 43 44 Class java.lang.Throwable
private static java.net.InetSocketAddress getUnlockAddress(java.net.InetSocketAddress);
descriptor: (Ljava/net/InetSocketAddress;)Ljava/net/InetSocketAddress;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.isAnyLocalAddress:()Z
ifeq 26
1: aconst_null
astore 1
start local 1 2: aconst_null
astore 2
start local 2 3: invokestatic java.net.NetworkInterface.getNetworkInterfaces:()Ljava/util/Enumeration;
astore 3
start local 3 4: goto 20
5: StackMap locals: java.net.InetAddress java.net.InetAddress java.util.Enumeration
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.net.NetworkInterface
astore 4
start local 4 6: aload 4
invokevirtual java.net.NetworkInterface.getInetAddresses:()Ljava/util/Enumeration;
astore 5
start local 5 7: goto 19
8: StackMap locals: java.net.NetworkInterface java.util.Enumeration
StackMap stack:
aload 5
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.net.InetAddress
astore 6
start local 6 9: aload 0
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 6
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 19
10: aload 6
invokevirtual java.net.InetAddress.isLoopbackAddress:()Z
ifeq 14
11: aload 1
ifnonnull 19
12: aload 6
astore 1
13: goto 19
StackMap locals: java.net.InetAddress
StackMap stack:
14: aload 6
invokevirtual java.net.InetAddress.isLinkLocalAddress:()Z
ifeq 18
15: aload 2
ifnonnull 19
16: aload 6
astore 2
17: goto 19
18: StackMap locals:
StackMap stack:
new java.net.InetSocketAddress
dup
aload 6
aload 0
invokevirtual java.net.InetSocketAddress.getPort:()I
invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
areturn
end local 6 19: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 8
end local 5 end local 4 20: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 5
21: aload 1
ifnull 23
22: new java.net.InetSocketAddress
dup
aload 1
aload 0
invokevirtual java.net.InetSocketAddress.getPort:()I
invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
areturn
23: StackMap locals:
StackMap stack:
aload 2
ifnull 25
24: new java.net.InetSocketAddress
dup
aload 2
aload 0
invokevirtual java.net.InetSocketAddress.getPort:()I
invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
areturn
25: StackMap locals:
StackMap stack:
new java.net.InetSocketAddress
dup
ldc "localhost"
aload 0
invokevirtual java.net.InetSocketAddress.getPort:()I
invokespecial java.net.InetSocketAddress.<init>:(Ljava/lang/String;I)V
areturn
end local 3 end local 2 end local 1 26: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 localAddress Ljava/net/InetSocketAddress;
2 26 1 loopbackUnlockAddress Ljava/net/InetAddress;
3 26 2 linkLocalUnlockAddress Ljava/net/InetAddress;
4 26 3 networkInterfaces Ljava/util/Enumeration<Ljava/net/NetworkInterface;>;
6 20 4 networkInterface Ljava/net/NetworkInterface;
7 20 5 inetAddresses Ljava/util/Enumeration<Ljava/net/InetAddress;>;
9 19 6 inetAddress Ljava/net/InetAddress;
Exceptions:
throws java.net.SocketException
MethodParameters:
Name Flags
localAddress
public boolean processSocket(org.apache.tomcat.util.net.SocketWrapperBase<S>, org.apache.tomcat.util.net.SocketEvent, );
descriptor: (Lorg/apache/tomcat/util/net/SocketWrapperBase;Lorg/apache/tomcat/util/net/SocketEvent;Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aconst_null
astore 4
start local 4 3: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.processorCache:Lorg/apache/tomcat/util/collections/SynchronizedStack;
ifnull 5
4: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.processorCache:Lorg/apache/tomcat/util/collections/SynchronizedStack;
invokevirtual org.apache.tomcat.util.collections.SynchronizedStack.pop:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.SocketProcessorBase
astore 4
5: StackMap locals: org.apache.tomcat.util.net.SocketProcessorBase
StackMap stack:
aload 4
ifnonnull 8
6: aload 0
aload 1
aload 2
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.createSocketProcessor:(Lorg/apache/tomcat/util/net/SocketWrapperBase;Lorg/apache/tomcat/util/net/SocketEvent;)Lorg/apache/tomcat/util/net/SocketProcessorBase;
astore 4
7: goto 9
8: StackMap locals:
StackMap stack:
aload 4
aload 1
aload 2
invokevirtual org.apache.tomcat.util.net.SocketProcessorBase.reset:(Lorg/apache/tomcat/util/net/SocketWrapperBase;Lorg/apache/tomcat/util/net/SocketEvent;)V
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getExecutor:()Ljava/util/concurrent/Executor;
astore 5
start local 5 10: iload 3
ifeq 13
aload 5
ifnull 13
11: aload 5
aload 4
invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
12: goto 22
13: StackMap locals: java.util.concurrent.Executor
StackMap stack:
aload 4
invokevirtual org.apache.tomcat.util.net.SocketProcessorBase.run:()V
end local 5 end local 4 14: goto 22
StackMap locals: org.apache.tomcat.util.net.AbstractEndpoint org.apache.tomcat.util.net.SocketWrapperBase org.apache.tomcat.util.net.SocketEvent int
StackMap stack: java.util.concurrent.RejectedExecutionException
15: astore 4
start local 4 16: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLog:()Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.net.AbstractEndpoint.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.executor.fail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 4
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
17: iconst_0
ireturn
end local 4 18: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
start local 4 19: aload 4
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
20: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLog:()Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.net.AbstractEndpoint.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.process.fail"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 4
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
21: iconst_0
ireturn
end local 4 22: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 23 1 socketWrapper Lorg/apache/tomcat/util/net/SocketWrapperBase<TS;>;
0 23 2 event Lorg/apache/tomcat/util/net/SocketEvent;
0 23 3 dispatch Z
3 14 4 sc Lorg/apache/tomcat/util/net/SocketProcessorBase<TS;>;
10 14 5 executor Ljava/util/concurrent/Executor;
16 18 4 ree Ljava/util/concurrent/RejectedExecutionException;
19 22 4 t Ljava/lang/Throwable;
Exception table:
from to target type
0 1 15 Class java.util.concurrent.RejectedExecutionException
2 14 15 Class java.util.concurrent.RejectedExecutionException
0 1 18 Class java.lang.Throwable
2 14 18 Class java.lang.Throwable
Signature: (Lorg/apache/tomcat/util/net/SocketWrapperBase<TS;>;Lorg/apache/tomcat/util/net/SocketEvent;Z)Z
MethodParameters:
Name Flags
socketWrapper
event
dispatch
protected abstract org.apache.tomcat.util.net.SocketProcessorBase<S> createSocketProcessor(org.apache.tomcat.util.net.SocketWrapperBase<S>, org.apache.tomcat.util.net.SocketEvent);
descriptor: (Lorg/apache/tomcat/util/net/SocketWrapperBase;Lorg/apache/tomcat/util/net/SocketEvent;)Lorg/apache/tomcat/util/net/SocketProcessorBase;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Lorg/apache/tomcat/util/net/SocketWrapperBase<TS;>;Lorg/apache/tomcat/util/net/SocketEvent;)Lorg/apache/tomcat/util/net/SocketProcessorBase<TS;>;
MethodParameters:
Name Flags
socketWrapper
event
public abstract void bind();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.lang.Exception
public abstract void unbind();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.lang.Exception
public abstract void startInternal();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.lang.Exception
public abstract void stopInternal();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.lang.Exception
private void bindWithCleanup();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.bind:()V
1: goto 6
StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 1
start local 1 3: aload 1
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
4: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.unbind:()V
5: aload 1
athrow
end local 1 6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
3 6 1 t Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
Exceptions:
throws java.lang.Exception
public final void init();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=6, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.bindOnInit:Z
ifeq 3
1: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.bindWithCleanup:()V
2: aload 0
getstatic org.apache.tomcat.util.net.AbstractEndpoint$BindState.BOUND_ON_INIT:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
putfield org.apache.tomcat.util.net.AbstractEndpoint.bindState:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.domain:Ljava/lang/String;
ifnull 16
4: aload 0
new javax.management.ObjectName
dup
new java.lang.StringBuilder
dup
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.domain:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":type=ThreadPool,name=\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
putfield org.apache.tomcat.util.net.AbstractEndpoint.oname:Ljavax/management/ObjectName;
5: aconst_null
aconst_null
invokestatic org.apache.tomcat.util.modeler.Registry.getRegistry:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/tomcat/util/modeler/Registry;
aload 0
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.oname:Ljavax/management/ObjectName;
aconst_null
invokevirtual org.apache.tomcat.util.modeler.Registry.registerComponent:(Ljava/lang/Object;Ljavax/management/ObjectName;Ljava/lang/String;)V
6: new javax.management.ObjectName
dup
new java.lang.StringBuilder
dup
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.domain:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
7: ldc ":type=SocketProperties,name=\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 1
start local 1 9: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.socketProperties:Lorg/apache/tomcat/util/net/SocketProperties;
aload 1
invokevirtual org.apache.tomcat.util.net.SocketProperties.setObjectName:(Ljavax/management/ObjectName;)V
10: aconst_null
aconst_null
invokestatic org.apache.tomcat.util.modeler.Registry.getRegistry:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/tomcat/util/modeler/Registry;
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.socketProperties:Lorg/apache/tomcat/util/net/SocketProperties;
aload 1
aconst_null
invokevirtual org.apache.tomcat.util.modeler.Registry.registerComponent:(Ljava/lang/Object;Ljavax/management/ObjectName;Ljava/lang/String;)V
11: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.findSslHostConfigs:()[Lorg/apache/tomcat/util/net/SSLHostConfig;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 15
StackMap locals: org.apache.tomcat.util.net.AbstractEndpoint javax.management.ObjectName top int int org.apache.tomcat.util.net.SSLHostConfig[]
StackMap stack:
12: aload 5
iload 3
aaload
astore 2
start local 2 13: aload 0
aload 2
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.registerJmx:(Lorg/apache/tomcat/util/net/SSLHostConfig;)V
end local 2 14: iinc 3 1
StackMap locals:
StackMap stack:
15: iload 3
iload 4
if_icmplt 12
end local 1 16: StackMap locals: org.apache.tomcat.util.net.AbstractEndpoint
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
9 16 1 socketPropertiesOname Ljavax/management/ObjectName;
13 14 2 sslHostConfig Lorg/apache/tomcat/util/net/SSLHostConfig;
Exceptions:
throws java.lang.Exception
private void registerJmx(org.apache.tomcat.util.net.SSLHostConfig);
descriptor: (Lorg/apache/tomcat/util/net/SSLHostConfig;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.domain:Ljava/lang/String;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 3: new javax.management.ObjectName
dup
new java.lang.StringBuilder
dup
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.domain:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":type=SSLHostConfig,ThreadPool=\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\",name="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual org.apache.tomcat.util.net.SSLHostConfig.getHostName:()Ljava/lang/String;
invokestatic javax.management.ObjectName.quote:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 2
6: aload 1
aload 2
invokevirtual org.apache.tomcat.util.net.SSLHostConfig.setObjectName:(Ljavax/management/ObjectName;)V
7: aconst_null
aconst_null
invokestatic org.apache.tomcat.util.modeler.Registry.getRegistry:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/tomcat/util/modeler/Registry;
aload 1
aload 2
aconst_null
invokevirtual org.apache.tomcat.util.modeler.Registry.registerComponent:(Ljava/lang/Object;Ljavax/management/ObjectName;Ljava/lang/String;)V
8: goto 18
StackMap locals: org.apache.tomcat.util.net.AbstractEndpoint org.apache.tomcat.util.net.SSLHostConfig javax.management.ObjectName
StackMap stack: java.lang.Exception
9: astore 3
start local 3 10: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLog:()Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.net.AbstractEndpoint.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.jmxRegistrationFailed"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 3
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 3 11: goto 18
StackMap locals:
StackMap stack: javax.management.MalformedObjectNameException
12: astore 3
start local 3 13: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLog:()Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.net.AbstractEndpoint.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.invalidJmxNameSslHost"
iconst_1
anewarray java.lang.Object
dup
iconst_0
14: aload 1
invokevirtual org.apache.tomcat.util.net.SSLHostConfig.getHostName:()Ljava/lang/String;
aastore
15: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
16: aload 3
17: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 3 18: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.tomcat.util.net.SSLHostConfig.getCertificates:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 40
StackMap locals: org.apache.tomcat.util.net.AbstractEndpoint org.apache.tomcat.util.net.SSLHostConfig javax.management.ObjectName top java.util.Iterator
StackMap stack:
19: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.SSLHostConfigCertificate
astore 3
start local 3 20: aconst_null
astore 5
start local 5 21: new javax.management.ObjectName
dup
new java.lang.StringBuilder
dup
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.domain:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
22: ldc ":type=SSLHostConfigCertificate,ThreadPool=\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
23: ldc "\",Host="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual org.apache.tomcat.util.net.SSLHostConfig.getHostName:()Ljava/lang/String;
invokestatic javax.management.ObjectName.quote:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
24: ldc ",name="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual org.apache.tomcat.util.net.SSLHostConfigCertificate.getType:()Lorg/apache/tomcat/util/net/SSLHostConfigCertificate$Type;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
25: invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 5
26: aload 3
aload 5
invokevirtual org.apache.tomcat.util.net.SSLHostConfigCertificate.setObjectName:(Ljavax/management/ObjectName;)V
27: aconst_null
aconst_null
invokestatic org.apache.tomcat.util.modeler.Registry.getRegistry:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/tomcat/util/modeler/Registry;
28: aload 3
aload 5
aconst_null
29: invokevirtual org.apache.tomcat.util.modeler.Registry.registerComponent:(Ljava/lang/Object;Ljavax/management/ObjectName;Ljava/lang/String;)V
30: goto 40
StackMap locals: org.apache.tomcat.util.net.AbstractEndpoint org.apache.tomcat.util.net.SSLHostConfig javax.management.ObjectName org.apache.tomcat.util.net.SSLHostConfigCertificate java.util.Iterator javax.management.ObjectName
StackMap stack: java.lang.Exception
31: astore 6
start local 6 32: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLog:()Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.net.AbstractEndpoint.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.jmxRegistrationFailed"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 6
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 6 33: goto 40
StackMap locals:
StackMap stack: javax.management.MalformedObjectNameException
34: astore 6
start local 6 35: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLog:()Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.net.AbstractEndpoint.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.invalidJmxNameSslHostCert"
iconst_2
anewarray java.lang.Object
dup
iconst_0
36: aload 1
invokevirtual org.apache.tomcat.util.net.SSLHostConfig.getHostName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 3
invokevirtual org.apache.tomcat.util.net.SSLHostConfigCertificate.getType:()Lorg/apache/tomcat/util/net/SSLHostConfigCertificate$Type;
aastore
37: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
38: aload 6
39: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 6 end local 5 end local 3 40: StackMap locals: org.apache.tomcat.util.net.AbstractEndpoint org.apache.tomcat.util.net.SSLHostConfig javax.management.ObjectName top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 19
41: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 42 1 sslHostConfig Lorg/apache/tomcat/util/net/SSLHostConfig;
3 42 2 sslOname Ljavax/management/ObjectName;
10 11 3 e Ljava/lang/Exception;
13 18 3 e Ljavax/management/MalformedObjectNameException;
20 40 3 sslHostConfigCert Lorg/apache/tomcat/util/net/SSLHostConfigCertificate;
21 40 5 sslCertOname Ljavax/management/ObjectName;
32 33 6 e Ljava/lang/Exception;
35 40 6 e Ljavax/management/MalformedObjectNameException;
Exception table:
from to target type
7 8 9 Class java.lang.Exception
3 11 12 Class javax.management.MalformedObjectNameException
27 30 31 Class java.lang.Exception
21 33 34 Class javax.management.MalformedObjectNameException
MethodParameters:
Name Flags
sslHostConfig
private void unregisterJmx(org.apache.tomcat.util.net.SSLHostConfig);
descriptor: (Lorg/apache/tomcat/util/net/SSLHostConfig;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
aconst_null
invokestatic org.apache.tomcat.util.modeler.Registry.getRegistry:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/tomcat/util/modeler/Registry;
astore 2
start local 2 1: aload 2
aload 1
invokevirtual org.apache.tomcat.util.net.SSLHostConfig.getObjectName:()Ljavax/management/ObjectName;
invokevirtual org.apache.tomcat.util.modeler.Registry.unregisterComponent:(Ljavax/management/ObjectName;)V
2: aload 1
invokevirtual org.apache.tomcat.util.net.SSLHostConfig.getCertificates:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: org.apache.tomcat.util.net.AbstractEndpoint org.apache.tomcat.util.net.SSLHostConfig org.apache.tomcat.util.modeler.Registry top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.SSLHostConfigCertificate
astore 3
start local 3 4: aload 2
aload 3
invokevirtual org.apache.tomcat.util.net.SSLHostConfigCertificate.getObjectName:()Ljavax/management/ObjectName;
invokevirtual org.apache.tomcat.util.modeler.Registry.unregisterComponent:(Ljavax/management/ObjectName;)V
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 7 1 sslHostConfig Lorg/apache/tomcat/util/net/SSLHostConfig;
1 7 2 registry Lorg/apache/tomcat/util/modeler/Registry;
4 5 3 sslHostConfigCert Lorg/apache/tomcat/util/net/SSLHostConfigCertificate;
MethodParameters:
Name Flags
sslHostConfig
public final void start();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.bindState:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
getstatic org.apache.tomcat.util.net.AbstractEndpoint$BindState.UNBOUND:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
if_acmpne 3
1: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.bindWithCleanup:()V
2: aload 0
getstatic org.apache.tomcat.util.net.AbstractEndpoint$BindState.BOUND_ON_START:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
putfield org.apache.tomcat.util.net.AbstractEndpoint.bindState:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.startInternal:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
Exceptions:
throws java.lang.Exception
protected void startAcceptorThread();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
new org.apache.tomcat.util.net.Acceptor
dup
aload 0
invokespecial org.apache.tomcat.util.net.Acceptor.<init>:(Lorg/apache/tomcat/util/net/AbstractEndpoint;)V
putfield org.apache.tomcat.util.net.AbstractEndpoint.acceptor:Lorg/apache/tomcat/util/net/Acceptor;
1: new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-Acceptor"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 2: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.acceptor:Lorg/apache/tomcat/util/net/Acceptor;
aload 1
invokevirtual org.apache.tomcat.util.net.Acceptor.setThreadName:(Ljava/lang/String;)V
3: new java.lang.Thread
dup
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.acceptor:Lorg/apache/tomcat/util/net/Acceptor;
aload 1
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;Ljava/lang/String;)V
astore 2
start local 2 4: aload 2
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getAcceptorThreadPriority:()I
invokevirtual java.lang.Thread.setPriority:(I)V
5: aload 2
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getDaemon:()Z
invokevirtual java.lang.Thread.setDaemon:(Z)V
6: aload 2
invokevirtual java.lang.Thread.start:()V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
2 8 1 threadName Ljava/lang/String;
4 8 2 t Ljava/lang/Thread;
public void pause();
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.AbstractEndpoint.running:Z
ifeq 5
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.paused:Z
ifne 5
1: aload 0
iconst_1
putfield org.apache.tomcat.util.net.AbstractEndpoint.paused:Z
2: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.releaseConnectionLatch:()V
3: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.unlockAccept:()V
4: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getHandler:()Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler;
invokeinterface org.apache.tomcat.util.net.AbstractEndpoint$Handler.pause:()V
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public void resume();
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.AbstractEndpoint.running:Z
ifeq 2
1: aload 0
iconst_0
putfield org.apache.tomcat.util.net.AbstractEndpoint.paused:Z
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
public final void stop();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.stopInternal:()V
1: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.bindState:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
getstatic org.apache.tomcat.util.net.AbstractEndpoint$BindState.BOUND_ON_START:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
if_acmpeq 2
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.bindState:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
getstatic org.apache.tomcat.util.net.AbstractEndpoint$BindState.SOCKET_CLOSED_ON_STOP:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
if_acmpne 4
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.unbind:()V
3: aload 0
getstatic org.apache.tomcat.util.net.AbstractEndpoint$BindState.UNBOUND:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
putfield org.apache.tomcat.util.net.AbstractEndpoint.bindState:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
Exceptions:
throws java.lang.Exception
public final void destroy();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.bindState:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
getstatic org.apache.tomcat.util.net.AbstractEndpoint$BindState.BOUND_ON_INIT:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
if_acmpne 3
1: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.unbind:()V
2: aload 0
getstatic org.apache.tomcat.util.net.AbstractEndpoint$BindState.UNBOUND:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
putfield org.apache.tomcat.util.net.AbstractEndpoint.bindState:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
3: StackMap locals:
StackMap stack:
aconst_null
aconst_null
invokestatic org.apache.tomcat.util.modeler.Registry.getRegistry:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/tomcat/util/modeler/Registry;
astore 1
start local 1 4: aload 1
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.oname:Ljavax/management/ObjectName;
invokevirtual org.apache.tomcat.util.modeler.Registry.unregisterComponent:(Ljavax/management/ObjectName;)V
5: aload 1
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.socketProperties:Lorg/apache/tomcat/util/net/SocketProperties;
invokevirtual org.apache.tomcat.util.net.SocketProperties.getObjectName:()Ljavax/management/ObjectName;
invokevirtual org.apache.tomcat.util.modeler.Registry.unregisterComponent:(Ljavax/management/ObjectName;)V
6: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.findSslHostConfigs:()[Lorg/apache/tomcat/util/net/SSLHostConfig;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 10
StackMap locals: org.apache.tomcat.util.net.AbstractEndpoint org.apache.tomcat.util.modeler.Registry top int int org.apache.tomcat.util.net.SSLHostConfig[]
StackMap stack:
7: aload 5
iload 3
aaload
astore 2
start local 2 8: aload 0
aload 2
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.unregisterJmx:(Lorg/apache/tomcat/util/net/SSLHostConfig;)V
end local 2 9: iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 4
if_icmplt 7
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
4 12 1 registry Lorg/apache/tomcat/util/modeler/Registry;
8 9 2 sslHostConfig Lorg/apache/tomcat/util/net/SSLHostConfig;
Exceptions:
throws java.lang.Exception
protected abstract org.apache.juli.logging.Log getLog();
descriptor: ()Lorg/apache/juli/logging/Log;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected org.apache.tomcat.util.threads.LimitLatch initializeConnectionLatch();
descriptor: ()Lorg/apache/tomcat/util/threads/LimitLatch;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.maxConnections:I
iconst_m1
if_icmpne 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.connectionLimitLatch:Lorg/apache/tomcat/util/threads/LimitLatch;
ifnonnull 3
2: aload 0
new org.apache.tomcat.util.threads.LimitLatch
dup
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getMaxConnections:()I
i2l
invokespecial org.apache.tomcat.util.threads.LimitLatch.<init>:(J)V
putfield org.apache.tomcat.util.net.AbstractEndpoint.connectionLimitLatch:Lorg/apache/tomcat/util/threads/LimitLatch;
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.connectionLimitLatch:Lorg/apache/tomcat/util/threads/LimitLatch;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
private void releaseConnectionLatch();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.connectionLimitLatch:Lorg/apache/tomcat/util/threads/LimitLatch;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokevirtual org.apache.tomcat.util.threads.LimitLatch.releaseAll:()Z
pop
2: StackMap locals: org.apache.tomcat.util.threads.LimitLatch
StackMap stack:
aload 0
aconst_null
putfield org.apache.tomcat.util.net.AbstractEndpoint.connectionLimitLatch:Lorg/apache/tomcat/util/threads/LimitLatch;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
1 4 1 latch Lorg/apache/tomcat/util/threads/LimitLatch;
protected void countUpOrAwaitConnection();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.maxConnections:I
iconst_m1
if_icmpne 1
return
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.connectionLimitLatch:Lorg/apache/tomcat/util/threads/LimitLatch;
astore 1
start local 1 2: aload 1
ifnull 3
aload 1
invokevirtual org.apache.tomcat.util.threads.LimitLatch.countUpOrAwait:()V
3: StackMap locals: org.apache.tomcat.util.threads.LimitLatch
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
2 4 1 latch Lorg/apache/tomcat/util/threads/LimitLatch;
Exceptions:
throws java.lang.InterruptedException
protected long countDownConnection();
descriptor: ()J
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.maxConnections:I
iconst_m1
if_icmpne 1
ldc -1
lreturn
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.connectionLimitLatch:Lorg/apache/tomcat/util/threads/LimitLatch;
astore 1
start local 1 2: aload 1
ifnull 7
3: aload 1
invokevirtual org.apache.tomcat.util.threads.LimitLatch.countDown:()J
lstore 2
start local 2 4: lload 2
lconst_0
lcmp
ifge 6
5: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLog:()Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.net.AbstractEndpoint.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.warn.incorrectConnectionCount"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
6: StackMap locals: org.apache.tomcat.util.threads.LimitLatch long
StackMap stack:
lload 2
lreturn
end local 2 7: StackMap locals:
StackMap stack:
ldc -1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
2 8 1 latch Lorg/apache/tomcat/util/threads/LimitLatch;
4 7 2 result J
public final void closeServerSocketGraceful();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=7, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.bindState:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
getstatic org.apache.tomcat.util.net.AbstractEndpoint$BindState.BOUND_ON_START:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
if_acmpne 10
1: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.acceptor:Lorg/apache/tomcat/util/net/Acceptor;
iconst_m1
invokevirtual org.apache.tomcat.util.net.Acceptor.stop:(I)V
2: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.releaseConnectionLatch:()V
3: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.unlockAccept:()V
4: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getHandler:()Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler;
invokeinterface org.apache.tomcat.util.net.AbstractEndpoint$Handler.pause:()V
5: aload 0
getstatic org.apache.tomcat.util.net.AbstractEndpoint$BindState.SOCKET_CLOSED_ON_STOP:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
putfield org.apache.tomcat.util.net.AbstractEndpoint.bindState:Lorg/apache/tomcat/util/net/AbstractEndpoint$BindState;
6: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.doCloseServerSocket:()V
7: goto 10
StackMap locals:
StackMap stack: java.io.IOException
8: astore 1
start local 1 9: aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getLog:()Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.net.AbstractEndpoint.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "endpoint.serverSocket.closeFailed"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.apache.tomcat.util.net.AbstractEndpoint.getName:()Ljava/lang/String;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 1
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 1 10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
9 10 1 ioe Ljava/io/IOException;
Exception table:
from to target type
6 7 8 Class java.io.IOException
public final long awaitConnectionsClose(long);
descriptor: (J)J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: goto 7
1: StackMap locals:
StackMap stack:
ldc 50
invokestatic java.lang.Thread.sleep:(J)V
2: lload 1
ldc 50
lsub
lstore 1
3: goto 7
StackMap locals:
StackMap stack: java.lang.InterruptedException
4: pop
5: invokestatic java.lang.Thread.interrupted:()Z
pop
6: lconst_0
lstore 1
7: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifle 8
aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.connections:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifeq 1
8: StackMap locals:
StackMap stack:
lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 9 1 waitMillis J
Exception table:
from to target type
1 3 4 Class java.lang.InterruptedException
MethodParameters:
Name Flags
waitMillis
protected abstract void doCloseServerSocket();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
protected abstract U serverSocketAccept();
descriptor: ()Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.lang.Exception
Signature: ()TU;
protected abstract boolean setSocketOptions();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TU;)Z
MethodParameters:
Name Flags
socket
protected void closeSocket();
descriptor: (Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.net.AbstractEndpoint.connections:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.SocketWrapperBase
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
invokevirtual org.apache.tomcat.util.net.SocketWrapperBase.close:()V
3: StackMap locals: org.apache.tomcat.util.net.SocketWrapperBase
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/net/AbstractEndpoint<TS;TU;>;
0 4 1 socket TU;
1 4 2 socketWrapper Lorg/apache/tomcat/util/net/SocketWrapperBase<TS;>;
Signature: (TU;)V
MethodParameters:
Name Flags
socket
protected abstract void destroySocket();
descriptor: (Ljava/lang/Object;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TU;)V
MethodParameters:
Name Flags
socket
}
Signature: <S:Ljava/lang/Object;U:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "AbstractEndpoint.java"
NestMembers:
org.apache.tomcat.util.net.AbstractEndpoint$BindState org.apache.tomcat.util.net.AbstractEndpoint$Handler org.apache.tomcat.util.net.AbstractEndpoint$Handler$SocketState
InnerClasses:
protected final BindState = org.apache.tomcat.util.net.AbstractEndpoint$BindState of org.apache.tomcat.util.net.AbstractEndpoint
public abstract Handler = org.apache.tomcat.util.net.AbstractEndpoint$Handler of org.apache.tomcat.util.net.AbstractEndpoint
public final AcceptorState = org.apache.tomcat.util.net.Acceptor$AcceptorState of org.apache.tomcat.util.net.Acceptor
public final Type = org.apache.tomcat.util.net.SSLHostConfigCertificate$Type of org.apache.tomcat.util.net.SSLHostConfigCertificate