public class org.glassfish.grizzly.http.server.HttpServer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.http.server.HttpServer
super_class: java.lang.Object
{
private static final java.util.logging.Logger LOGGER;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.glassfish.grizzly.http.server.ServerConfiguration serverConfig;
descriptor: Lorg/glassfish/grizzly/http/server/ServerConfiguration;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.glassfish.grizzly.http.server.State state;
descriptor: Lorg/glassfish/grizzly/http/server/State;
flags: (0x0002) ACC_PRIVATE
private org.glassfish.grizzly.impl.FutureImpl<org.glassfish.grizzly.http.server.HttpServer> shutdownFuture;
descriptor: Lorg/glassfish/grizzly/impl/FutureImpl;
flags: (0x0002) ACC_PRIVATE
Signature: Lorg/glassfish/grizzly/impl/FutureImpl<Lorg/glassfish/grizzly/http/server/HttpServer;>;
private final org.glassfish.grizzly.http.server.HttpHandlerChain httpHandlerChain;
descriptor: Lorg/glassfish/grizzly/http/server/HttpHandlerChain;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, org.glassfish.grizzly.http.server.NetworkListener> listeners;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/glassfish/grizzly/http/server/NetworkListener;>;
private volatile java.util.concurrent.ExecutorService auxExecutorService;
descriptor: Ljava/util/concurrent/ExecutorService;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
volatile org.glassfish.grizzly.utils.DelayedExecutor delayedExecutor;
descriptor: Lorg/glassfish/grizzly/utils/DelayedExecutor;
flags: (0x0040) ACC_VOLATILE
protected volatile org.glassfish.grizzly.jmxbase.GrizzlyJmxManager jmxManager;
descriptor: Lorg/glassfish/grizzly/jmxbase/GrizzlyJmxManager;
flags: (0x0044) ACC_PROTECTED, ACC_VOLATILE
protected volatile java.lang.Object managementObject;
descriptor: Ljava/lang/Object;
flags: (0x0044) ACC_PROTECTED, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/glassfish/grizzly/http/server/HttpServer;
invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
putstatic org.glassfish.grizzly.http.server.HttpServer.LOGGER:Ljava/util/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.glassfish.grizzly.http.server.ServerConfiguration
dup
aload 0
invokespecial org.glassfish.grizzly.http.server.ServerConfiguration.<init>:(Lorg/glassfish/grizzly/http/server/HttpServer;)V
putfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
2: aload 0
getstatic org.glassfish.grizzly.http.server.State.STOPPED:Lorg/glassfish/grizzly/http/server/State;
putfield org.glassfish.grizzly.http.server.HttpServer.state:Lorg/glassfish/grizzly/http/server/State;
3: aload 0
new org.glassfish.grizzly.http.server.HttpHandlerChain
dup
aload 0
invokespecial org.glassfish.grizzly.http.server.HttpHandlerChain.<init>:(Lorg/glassfish/grizzly/http/server/HttpServer;)V
putfield org.glassfish.grizzly.http.server.HttpServer.httpHandlerChain:Lorg/glassfish/grizzly/http/server/HttpHandlerChain;
4: aload 0
5: new java.util.HashMap
dup
iconst_2
invokespecial java.util.HashMap.<init>:(I)V
putfield org.glassfish.grizzly.http.server.HttpServer.listeners:Ljava/util/Map;
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/server/HttpServer;
public final org.glassfish.grizzly.http.server.ServerConfiguration getServerConfiguration();
descriptor: ()Lorg/glassfish/grizzly/http/server/ServerConfiguration;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/HttpServer;
public synchronized void addListener(org.glassfish.grizzly.http.server.NetworkListener);
descriptor: (Lorg/glassfish/grizzly/http/server/NetworkListener;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.state:Lorg/glassfish/grizzly/http/server/State;
getstatic org.glassfish.grizzly.http.server.State.RUNNING:Lorg/glassfish/grizzly/http/server/State;
if_acmpne 12
1: aload 0
aload 1
invokevirtual org.glassfish.grizzly.http.server.HttpServer.configureListener:(Lorg/glassfish/grizzly/http/server/NetworkListener;)V
2: aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.isStarted:()Z
ifne 12
3: aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.start:()V
4: goto 12
StackMap locals:
StackMap stack: java.io.IOException
5: astore 2
start local 2 6: getstatic org.glassfish.grizzly.http.server.HttpServer.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 12
7: getstatic org.glassfish.grizzly.http.server.HttpServer.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
8: ldc "Failed to start listener [{0}] : {1}"
9: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.toString:()Ljava/lang/String;
aastore
dup
iconst_1
aload 2
invokevirtual java.io.IOException.toString:()Ljava/lang/String;
aastore
10: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;[Ljava/lang/Object;)V
11: getstatic org.glassfish.grizzly.http.server.HttpServer.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
aload 2
invokevirtual java.io.IOException.toString:()Ljava/lang/String;
aload 2
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 12: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.listeners:Ljava/util/Map;
aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getName:()Ljava/lang/String;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/glassfish/grizzly/http/server/HttpServer;
0 14 1 listener Lorg/glassfish/grizzly/http/server/NetworkListener;
6 12 2 ioe Ljava/io/IOException;
Exception table:
from to target type
3 4 5 Class java.io.IOException
MethodParameters:
Name Flags
listener final
public synchronized org.glassfish.grizzly.http.server.NetworkListener getListener(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/glassfish/grizzly/http/server/NetworkListener;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.listeners:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.NetworkListener
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/HttpServer;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
public synchronized java.util.Collection<org.glassfish.grizzly.http.server.NetworkListener> getListeners();
descriptor: ()Ljava/util/Collection;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.listeners:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokestatic java.util.Collections.unmodifiableCollection:(Ljava/util/Collection;)Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/HttpServer;
Signature: ()Ljava/util/Collection<Lorg/glassfish/grizzly/http/server/NetworkListener;>;
public synchronized org.glassfish.grizzly.http.server.NetworkListener removeListener(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/glassfish/grizzly/http/server/NetworkListener;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.listeners:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.NetworkListener
astore 2
start local 2 1: aload 2
ifnull 12
2: aload 2
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.isStarted:()Z
ifeq 12
3: aload 2
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.shutdownNow:()V
4: goto 12
StackMap locals: org.glassfish.grizzly.http.server.HttpServer java.lang.String org.glassfish.grizzly.http.server.NetworkListener
StackMap stack: java.io.IOException
5: astore 3
start local 3 6: getstatic org.glassfish.grizzly.http.server.HttpServer.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 12
7: getstatic org.glassfish.grizzly.http.server.HttpServer.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
8: ldc "Failed to shutdown listener [{0}] : {1}"
9: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.toString:()Ljava/lang/String;
aastore
dup
iconst_1
aload 3
invokevirtual java.io.IOException.toString:()Ljava/lang/String;
aastore
10: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;[Ljava/lang/Object;)V
11: getstatic org.glassfish.grizzly.http.server.HttpServer.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
aload 3
invokevirtual java.io.IOException.toString:()Ljava/lang/String;
aload 3
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 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/glassfish/grizzly/http/server/HttpServer;
0 13 1 name Ljava/lang/String;
1 13 2 listener Lorg/glassfish/grizzly/http/server/NetworkListener;
6 12 3 ioe Ljava/io/IOException;
Exception table:
from to target type
3 4 5 Class java.io.IOException
MethodParameters:
Name Flags
name final
public synchronized void start();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=7, locals=4, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.state:Lorg/glassfish/grizzly/http/server/State;
getstatic org.glassfish.grizzly.http.server.State.RUNNING:Lorg/glassfish/grizzly/http/server/State;
if_acmpne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.state:Lorg/glassfish/grizzly/http/server/State;
getstatic org.glassfish.grizzly.http.server.State.STOPPING:Lorg/glassfish/grizzly/http/server/State;
if_acmpne 4
3: new java.lang.IllegalStateException
dup
ldc "The server is currently in pending shutdown state. Wait for the shutdown to complete or force it by calling shutdownNow()"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getstatic org.glassfish.grizzly.http.server.State.RUNNING:Lorg/glassfish/grizzly/http/server/State;
putfield org.glassfish.grizzly.http.server.HttpServer.state:Lorg/glassfish/grizzly/http/server/State;
5: aload 0
aconst_null
putfield org.glassfish.grizzly.http.server.HttpServer.shutdownFuture:Lorg/glassfish/grizzly/impl/FutureImpl;
6: aload 0
invokevirtual org.glassfish.grizzly.http.server.HttpServer.configureAuxThreadPool:()V
7: aload 0
new org.glassfish.grizzly.utils.DelayedExecutor
dup
aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.auxExecutorService:Ljava/util/concurrent/ExecutorService;
invokespecial org.glassfish.grizzly.utils.DelayedExecutor.<init>:(Ljava/util/concurrent/ExecutorService;)V
putfield org.glassfish.grizzly.http.server.HttpServer.delayedExecutor:Lorg/glassfish/grizzly/utils/DelayedExecutor;
8: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.delayedExecutor:Lorg/glassfish/grizzly/utils/DelayedExecutor;
invokevirtual org.glassfish.grizzly.utils.DelayedExecutor.start:()V
9: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.listeners:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 12
StackMap locals: org.glassfish.grizzly.http.server.HttpServer top java.util.Iterator
StackMap stack:
10: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.NetworkListener
astore 1
start local 1 11: aload 0
aload 1
invokevirtual org.glassfish.grizzly.http.server.HttpServer.configureListener:(Lorg/glassfish/grizzly/http/server/NetworkListener;)V
end local 1 12: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
13: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
invokevirtual org.glassfish.grizzly.http.server.ServerConfiguration.isJmxEnabled:()Z
ifeq 15
14: aload 0
invokevirtual org.glassfish.grizzly.http.server.HttpServer.enableJMX:()V
15: StackMap locals: org.glassfish.grizzly.http.server.HttpServer
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.listeners:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 27
StackMap locals: org.glassfish.grizzly.http.server.HttpServer top java.util.Iterator
StackMap stack:
16: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.NetworkListener
astore 1
start local 1 17: aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.start:()V
18: goto 27
StackMap locals: org.glassfish.grizzly.http.server.HttpServer org.glassfish.grizzly.http.server.NetworkListener java.util.Iterator
StackMap stack: java.io.IOException
19: astore 3
start local 3 20: getstatic org.glassfish.grizzly.http.server.HttpServer.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 26
21: getstatic org.glassfish.grizzly.http.server.HttpServer.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
22: ldc "Failed to start listener [{0}] : {1}"
23: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.toString:()Ljava/lang/String;
aastore
dup
iconst_1
aload 3
invokevirtual java.io.IOException.toString:()Ljava/lang/String;
aastore
24: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;[Ljava/lang/Object;)V
25: getstatic org.glassfish.grizzly.http.server.HttpServer.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
aload 3
invokevirtual java.io.IOException.toString:()Ljava/lang/String;
aload 3
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
26: StackMap locals: java.io.IOException
StackMap stack:
aload 3
athrow
end local 3 end local 1 27: StackMap locals: org.glassfish.grizzly.http.server.HttpServer top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
28: aload 0
invokevirtual org.glassfish.grizzly.http.server.HttpServer.setupHttpHandler:()V
29: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
invokevirtual org.glassfish.grizzly.http.server.ServerConfiguration.isJmxEnabled:()Z
ifeq 34
30: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
invokevirtual org.glassfish.grizzly.http.server.ServerConfiguration.getJmxEventListeners:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
goto 33
StackMap locals:
StackMap stack:
31: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.jmxbase.JmxEventListener
astore 1
start local 1 32: aload 1
invokeinterface org.glassfish.grizzly.http.server.jmxbase.JmxEventListener.jmxEnabled:()V
end local 1 33: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 31
34: StackMap locals: org.glassfish.grizzly.http.server.HttpServer
StackMap stack:
getstatic org.glassfish.grizzly.http.server.HttpServer.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.INFO:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 36
35: getstatic org.glassfish.grizzly.http.server.HttpServer.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.INFO:Ljava/util/logging/Level;
ldc "[{0}] Started."
aload 0
invokevirtual org.glassfish.grizzly.http.server.HttpServer.getServerConfiguration:()Lorg/glassfish/grizzly/http/server/ServerConfiguration;
invokevirtual org.glassfish.grizzly.http.server.ServerConfiguration.getName:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Object;)V
36: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Lorg/glassfish/grizzly/http/server/HttpServer;
11 12 1 listener Lorg/glassfish/grizzly/http/server/NetworkListener;
17 27 1 listener Lorg/glassfish/grizzly/http/server/NetworkListener;
20 27 3 ioe Ljava/io/IOException;
32 33 1 l Lorg/glassfish/grizzly/http/server/jmxbase/JmxEventListener;
Exception table:
from to target type
17 18 19 Class java.io.IOException
Exceptions:
throws java.io.IOException
private void setupHttpHandler();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.httpHandlerChain:Lorg/glassfish/grizzly/http/server/HttpHandlerChain;
invokevirtual org.glassfish.grizzly.http.server.ServerConfiguration.addJmxEventListener:(Lorg/glassfish/grizzly/http/server/jmxbase/JmxEventListener;)V
1: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
getfield org.glassfish.grizzly.http.server.ServerConfiguration.handlersSync:Ljava/lang/Object;
dup
astore 1
monitorenter
2: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
getfield org.glassfish.grizzly.http.server.ServerConfiguration.orderedHandlers:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: org.glassfish.grizzly.http.server.HttpServer java.lang.Object top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.HttpHandler
astore 2
start local 2 4: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.httpHandlerChain:Lorg/glassfish/grizzly/http/server/HttpHandlerChain;
aload 2
5: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
getfield org.glassfish.grizzly.http.server.ServerConfiguration.handlers:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.HttpHandlerRegistration[]
6: invokevirtual org.glassfish.grizzly.http.server.HttpHandlerChain.addHandler:(Lorg/glassfish/grizzly/http/server/HttpHandler;[Lorg/glassfish/grizzly/http/server/HttpHandlerRegistration;)V
end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: aload 1
monitorexit
9: goto 12
StackMap locals: org.glassfish.grizzly.http.server.HttpServer java.lang.Object
StackMap stack: java.lang.Throwable
10: aload 1
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.httpHandlerChain:Lorg/glassfish/grizzly/http/server/HttpHandlerChain;
invokevirtual org.glassfish.grizzly.http.server.HttpHandlerChain.start:()V
13: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/glassfish/grizzly/http/server/HttpServer;
4 7 2 httpHandler Lorg/glassfish/grizzly/http/server/HttpHandler;
Exception table:
from to target type
2 9 10 any
10 11 10 any
private void tearDownHttpHandler();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.httpHandlerChain:Lorg/glassfish/grizzly/http/server/HttpHandlerChain;
invokevirtual org.glassfish.grizzly.http.server.HttpHandlerChain.destroy:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/HttpServer;
public org.glassfish.grizzly.http.server.HttpHandler getHttpHandler();
descriptor: ()Lorg/glassfish/grizzly/http/server/HttpHandler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.httpHandlerChain:Lorg/glassfish/grizzly/http/server/HttpHandlerChain;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/HttpServer;
public boolean isStarted();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.state:Lorg/glassfish/grizzly/http/server/State;
getstatic org.glassfish.grizzly.http.server.State.STOPPED:Lorg/glassfish/grizzly/http/server/State;
if_acmpeq 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/glassfish/grizzly/http/server/HttpServer;
public java.lang.Object getManagementObject(boolean);
descriptor: (Z)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: iload 1
ifne 11
aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.managementObject:Ljava/lang/Object;
ifnonnull 11
1: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
dup
astore 2
monitorenter
2: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.managementObject:Ljava/lang/Object;
ifnonnull 7
3: aload 0
4: ldc "org.glassfish.grizzly.http.server.jmx.HttpServer"
5: aload 0
ldc Lorg/glassfish/grizzly/http/server/HttpServer;
6: invokestatic org.glassfish.grizzly.monitoring.MonitoringUtils.loadJmxObject:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
putfield org.glassfish.grizzly.http.server.HttpServer.managementObject:Ljava/lang/Object;
7: StackMap locals: org.glassfish.grizzly.http.server.ServerConfiguration
StackMap stack:
aload 2
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 2
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.managementObject:Ljava/lang/Object;
astore 3
12: iload 1
ifeq 14
13: aload 0
aconst_null
putfield org.glassfish.grizzly.http.server.HttpServer.managementObject:Ljava/lang/Object;
14: StackMap locals: org.glassfish.grizzly.http.server.HttpServer int top java.lang.Object
StackMap stack:
aload 3
areturn
15: StackMap locals: org.glassfish.grizzly.http.server.HttpServer int
StackMap stack: java.lang.Throwable
astore 2
16: iload 1
ifeq 18
17: aload 0
aconst_null
putfield org.glassfish.grizzly.http.server.HttpServer.managementObject:Ljava/lang/Object;
18: StackMap locals: java.lang.Throwable
StackMap stack:
aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/glassfish/grizzly/http/server/HttpServer;
0 19 1 clear Z
Exception table:
from to target type
2 8 9 any
9 10 9 any
11 12 15 any
MethodParameters:
Name Flags
clear
public synchronized org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.http.server.HttpServer> shutdown(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Lorg/glassfish/grizzly/GrizzlyFuture;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.state:Lorg/glassfish/grizzly/http/server/State;
getstatic org.glassfish.grizzly.http.server.State.RUNNING:Lorg/glassfish/grizzly/http/server/State;
if_acmpeq 4
1: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.shutdownFuture:Lorg/glassfish/grizzly/impl/FutureImpl;
ifnull 2
aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.shutdownFuture:Lorg/glassfish/grizzly/impl/FutureImpl;
goto 3
2: StackMap locals:
StackMap stack:
aload 0
invokestatic org.glassfish.grizzly.utils.Futures.createReadyFuture:(Ljava/lang/Object;)Lorg/glassfish/grizzly/GrizzlyFuture;
3: StackMap locals:
StackMap stack: org.glassfish.grizzly.GrizzlyFuture
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokestatic org.glassfish.grizzly.utils.Futures.createSafeFuture:()Lorg/glassfish/grizzly/impl/FutureImpl;
putfield org.glassfish.grizzly.http.server.HttpServer.shutdownFuture:Lorg/glassfish/grizzly/impl/FutureImpl;
5: aload 0
getstatic org.glassfish.grizzly.http.server.State.STOPPING:Lorg/glassfish/grizzly/http/server/State;
putfield org.glassfish.grizzly.http.server.HttpServer.state:Lorg/glassfish/grizzly/http/server/State;
6: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.listeners:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
istore 4
start local 4 7: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.shutdownFuture:Lorg/glassfish/grizzly/impl/FutureImpl;
astore 5
start local 5 8: new org.glassfish.grizzly.http.server.HttpServer$1
dup
aload 0
iload 4
aload 5
invokespecial org.glassfish.grizzly.http.server.HttpServer$1.<init>:(Lorg/glassfish/grizzly/http/server/HttpServer;ILorg/glassfish/grizzly/impl/FutureImpl;)V
9: astore 6
start local 6 10: iload 4
ifle 16
11: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.listeners:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 8
goto 14
StackMap locals: org.glassfish.grizzly.http.server.HttpServer long java.util.concurrent.TimeUnit int org.glassfish.grizzly.impl.FutureImpl org.glassfish.grizzly.CompletionHandler top java.util.Iterator
StackMap stack:
12: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.NetworkListener
astore 7
start local 7 13: aload 7
lload 1
aload 3
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.shutdown:(JLjava/util/concurrent/TimeUnit;)Lorg/glassfish/grizzly/GrizzlyFuture;
aload 6
invokeinterface org.glassfish.grizzly.GrizzlyFuture.addCompletionHandler:(Lorg/glassfish/grizzly/CompletionHandler;)V
end local 7 14: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
15: goto 18
16: StackMap locals: org.glassfish.grizzly.http.server.HttpServer long java.util.concurrent.TimeUnit int org.glassfish.grizzly.impl.FutureImpl org.glassfish.grizzly.CompletionHandler
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.server.HttpServer.shutdownNow:()V
17: aload 5
aload 0
invokeinterface org.glassfish.grizzly.impl.FutureImpl.result:(Ljava/lang/Object;)V
18: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.shutdownFuture:Lorg/glassfish/grizzly/impl/FutureImpl;
areturn
end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/glassfish/grizzly/http/server/HttpServer;
0 19 1 gracePeriod J
0 19 3 timeUnit Ljava/util/concurrent/TimeUnit;
7 19 4 listenersCount I
8 19 5 shutdownFutureLocal Lorg/glassfish/grizzly/impl/FutureImpl<Lorg/glassfish/grizzly/http/server/HttpServer;>;
10 19 6 shutdownCompletionHandler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/http/server/NetworkListener;>;
13 14 7 listener Lorg/glassfish/grizzly/http/server/NetworkListener;
Signature: (JLjava/util/concurrent/TimeUnit;)Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/http/server/HttpServer;>;
MethodParameters:
Name Flags
gracePeriod final
timeUnit final
public synchronized org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.http.server.HttpServer> shutdown();
descriptor: ()Lorg/glassfish/grizzly/GrizzlyFuture;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
ldc -1
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual org.glassfish.grizzly.http.server.HttpServer.shutdown:(JLjava/util/concurrent/TimeUnit;)Lorg/glassfish/grizzly/GrizzlyFuture;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/HttpServer;
Signature: ()Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/http/server/HttpServer;>;
public synchronized void shutdownNow();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=10, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.state:Lorg/glassfish/grizzly/http/server/State;
getstatic org.glassfish.grizzly.http.server.State.STOPPED:Lorg/glassfish/grizzly/http/server/State;
if_acmpne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getstatic org.glassfish.grizzly.http.server.State.STOPPED:Lorg/glassfish/grizzly/http/server/State;
putfield org.glassfish.grizzly.http.server.HttpServer.state:Lorg/glassfish/grizzly/http/server/State;
3: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
invokevirtual org.glassfish.grizzly.http.server.ServerConfiguration.isJmxEnabled:()Z
ifeq 8
4: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
invokevirtual org.glassfish.grizzly.http.server.ServerConfiguration.getJmxEventListeners:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
goto 7
StackMap locals: org.glassfish.grizzly.http.server.HttpServer top java.util.Iterator
StackMap stack:
5: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.jmxbase.JmxEventListener
astore 1
start local 1 6: aload 1
invokeinterface org.glassfish.grizzly.http.server.jmxbase.JmxEventListener.jmxDisabled:()V
end local 1 7: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: StackMap locals: org.glassfish.grizzly.http.server.HttpServer
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.server.HttpServer.tearDownHttpHandler:()V
9: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.listeners:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.listeners:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
anewarray java.lang.String
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
astore 1
start local 1 10: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 14
StackMap locals: org.glassfish.grizzly.http.server.HttpServer java.lang.String[] top int int java.lang.String[]
StackMap stack:
11: aload 5
iload 3
aaload
astore 2
start local 2 12: aload 0
aload 2
invokevirtual org.glassfish.grizzly.http.server.HttpServer.removeListener:(Ljava/lang/String;)Lorg/glassfish/grizzly/http/server/NetworkListener;
pop
end local 2 13: iinc 3 1
StackMap locals:
StackMap stack:
14: iload 3
iload 4
if_icmplt 11
15: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.delayedExecutor:Lorg/glassfish/grizzly/utils/DelayedExecutor;
invokevirtual org.glassfish.grizzly.utils.DelayedExecutor.stop:()V
16: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.delayedExecutor:Lorg/glassfish/grizzly/utils/DelayedExecutor;
invokevirtual org.glassfish.grizzly.utils.DelayedExecutor.destroy:()V
17: aload 0
aconst_null
putfield org.glassfish.grizzly.http.server.HttpServer.delayedExecutor:Lorg/glassfish/grizzly/utils/DelayedExecutor;
18: aload 0
invokevirtual org.glassfish.grizzly.http.server.HttpServer.stopAuxThreadPool:()V
19: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
invokevirtual org.glassfish.grizzly.http.server.ServerConfiguration.isJmxEnabled:()Z
ifeq 42
20: aload 0
invokevirtual org.glassfish.grizzly.http.server.HttpServer.disableJMX:()V
end local 1 21: goto 42
StackMap locals: org.glassfish.grizzly.http.server.HttpServer
StackMap stack: java.lang.Exception
22: astore 1
start local 1 23: getstatic org.glassfish.grizzly.http.server.HttpServer.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
aconst_null
aload 1
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 1 24: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.listeners:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 8
goto 29
StackMap locals: org.glassfish.grizzly.http.server.HttpServer top top top top top top top java.util.Iterator
StackMap stack:
25: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.NetworkListener
astore 7
start local 7 26: aload 7
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getTransport:()Lorg/glassfish/grizzly/nio/transport/TCPNIOTransport;
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOTransport.getProcessor:()Lorg/glassfish/grizzly/Processor;
astore 9
start local 9 27: aload 9
instanceof org.glassfish.grizzly.filterchain.FilterChain
ifeq 29
28: aload 9
checkcast org.glassfish.grizzly.filterchain.FilterChain
invokeinterface org.glassfish.grizzly.filterchain.FilterChain.clear:()V
end local 9 end local 7 29: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 25
30: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.shutdownFuture:Lorg/glassfish/grizzly/impl/FutureImpl;
ifnull 50
31: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.shutdownFuture:Lorg/glassfish/grizzly/impl/FutureImpl;
aload 0
invokeinterface org.glassfish.grizzly.impl.FutureImpl.result:(Ljava/lang/Object;)V
goto 50
32: StackMap locals: org.glassfish.grizzly.http.server.HttpServer
StackMap stack: java.lang.Throwable
astore 6
33: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.listeners:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 8
goto 38
StackMap locals: org.glassfish.grizzly.http.server.HttpServer top top top top top java.lang.Throwable top java.util.Iterator
StackMap stack:
34: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.NetworkListener
astore 7
start local 7 35: aload 7
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getTransport:()Lorg/glassfish/grizzly/nio/transport/TCPNIOTransport;
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOTransport.getProcessor:()Lorg/glassfish/grizzly/Processor;
astore 9
start local 9 36: aload 9
instanceof org.glassfish.grizzly.filterchain.FilterChain
ifeq 38
37: aload 9
checkcast org.glassfish.grizzly.filterchain.FilterChain
invokeinterface org.glassfish.grizzly.filterchain.FilterChain.clear:()V
end local 9 end local 7 38: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 34
39: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.shutdownFuture:Lorg/glassfish/grizzly/impl/FutureImpl;
ifnull 41
40: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.shutdownFuture:Lorg/glassfish/grizzly/impl/FutureImpl;
aload 0
invokeinterface org.glassfish.grizzly.impl.FutureImpl.result:(Ljava/lang/Object;)V
41: StackMap locals: org.glassfish.grizzly.http.server.HttpServer top top top top top java.lang.Throwable
StackMap stack:
aload 6
athrow
42: StackMap locals: org.glassfish.grizzly.http.server.HttpServer
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.listeners:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 8
goto 47
StackMap locals: org.glassfish.grizzly.http.server.HttpServer top top top top top top top java.util.Iterator
StackMap stack:
43: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.NetworkListener
astore 7
start local 7 44: aload 7
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getTransport:()Lorg/glassfish/grizzly/nio/transport/TCPNIOTransport;
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOTransport.getProcessor:()Lorg/glassfish/grizzly/Processor;
astore 9
start local 9 45: aload 9
instanceof org.glassfish.grizzly.filterchain.FilterChain
ifeq 47
46: aload 9
checkcast org.glassfish.grizzly.filterchain.FilterChain
invokeinterface org.glassfish.grizzly.filterchain.FilterChain.clear:()V
end local 9 end local 7 47: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 43
48: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.shutdownFuture:Lorg/glassfish/grizzly/impl/FutureImpl;
ifnull 50
49: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.shutdownFuture:Lorg/glassfish/grizzly/impl/FutureImpl;
aload 0
invokeinterface org.glassfish.grizzly.impl.FutureImpl.result:(Ljava/lang/Object;)V
50: StackMap locals: org.glassfish.grizzly.http.server.HttpServer
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 51 0 this Lorg/glassfish/grizzly/http/server/HttpServer;
6 7 1 l Lorg/glassfish/grizzly/http/server/jmxbase/JmxEventListener;
10 21 1 names [Ljava/lang/String;
12 13 2 name Ljava/lang/String;
23 24 1 e Ljava/lang/Exception;
26 29 7 listener Lorg/glassfish/grizzly/http/server/NetworkListener;
35 38 7 listener Lorg/glassfish/grizzly/http/server/NetworkListener;
44 47 7 listener Lorg/glassfish/grizzly/http/server/NetworkListener;
27 29 9 p Lorg/glassfish/grizzly/Processor;
36 38 9 p Lorg/glassfish/grizzly/Processor;
45 47 9 p Lorg/glassfish/grizzly/Processor;
Exception table:
from to target type
3 21 22 Class java.lang.Exception
3 24 32 any
public void stop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.HttpServer.shutdownNow:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/HttpServer;
public static org.glassfish.grizzly.http.server.HttpServer createSimpleServer();
descriptor: ()Lorg/glassfish/grizzly/http/server/HttpServer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "."
invokestatic org.glassfish.grizzly.http.server.HttpServer.createSimpleServer:(Ljava/lang/String;)Lorg/glassfish/grizzly/http/server/HttpServer;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.glassfish.grizzly.http.server.HttpServer createSimpleServer(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/glassfish/grizzly/http/server/HttpServer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
sipush 8080
invokestatic org.glassfish.grizzly.http.server.HttpServer.createSimpleServer:(Ljava/lang/String;I)Lorg/glassfish/grizzly/http/server/HttpServer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 docRoot Ljava/lang/String;
MethodParameters:
Name Flags
docRoot final
public static org.glassfish.grizzly.http.server.HttpServer createSimpleServer(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Lorg/glassfish/grizzly/http/server/HttpServer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "0.0.0.0"
iload 1
invokestatic org.glassfish.grizzly.http.server.HttpServer.createSimpleServer:(Ljava/lang/String;Ljava/lang/String;I)Lorg/glassfish/grizzly/http/server/HttpServer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 docRoot Ljava/lang/String;
0 1 1 port I
MethodParameters:
Name Flags
docRoot final
port final
public static org.glassfish.grizzly.http.server.HttpServer createSimpleServer(java.lang.String, org.glassfish.grizzly.PortRange);
descriptor: (Ljava/lang/String;Lorg/glassfish/grizzly/PortRange;)Lorg/glassfish/grizzly/http/server/HttpServer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
1: ldc "0.0.0.0"
2: aload 1
3: invokestatic org.glassfish.grizzly.http.server.HttpServer.createSimpleServer:(Ljava/lang/String;Ljava/lang/String;Lorg/glassfish/grizzly/PortRange;)Lorg/glassfish/grizzly/http/server/HttpServer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 docRoot Ljava/lang/String;
0 4 1 range Lorg/glassfish/grizzly/PortRange;
MethodParameters:
Name Flags
docRoot final
range final
public static org.glassfish.grizzly.http.server.HttpServer createSimpleServer(java.lang.String, java.net.SocketAddress);
descriptor: (Ljava/lang/String;Ljava/net/SocketAddress;)Lorg/glassfish/grizzly/http/server/HttpServer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast java.net.InetSocketAddress
astore 2
start local 2 1: aload 0
aload 2
invokevirtual java.net.InetSocketAddress.getHostName:()Ljava/lang/String;
aload 2
invokevirtual java.net.InetSocketAddress.getPort:()I
invokestatic org.glassfish.grizzly.http.server.HttpServer.createSimpleServer:(Ljava/lang/String;Ljava/lang/String;I)Lorg/glassfish/grizzly/http/server/HttpServer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 docRoot Ljava/lang/String;
0 2 1 socketAddress Ljava/net/SocketAddress;
1 2 2 inetAddr Ljava/net/InetSocketAddress;
MethodParameters:
Name Flags
docRoot final
socketAddress final
public static org.glassfish.grizzly.http.server.HttpServer createSimpleServer(java.lang.String, java.lang.String, int);
descriptor: (Ljava/lang/String;Ljava/lang/String;I)Lorg/glassfish/grizzly/http/server/HttpServer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
new org.glassfish.grizzly.PortRange
dup
iload 2
invokespecial org.glassfish.grizzly.PortRange.<init>:(I)V
invokestatic org.glassfish.grizzly.http.server.HttpServer.createSimpleServer:(Ljava/lang/String;Ljava/lang/String;Lorg/glassfish/grizzly/PortRange;)Lorg/glassfish/grizzly/http/server/HttpServer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 docRoot Ljava/lang/String;
0 1 1 host Ljava/lang/String;
0 1 2 port I
MethodParameters:
Name Flags
docRoot final
host final
port final
public static org.glassfish.grizzly.http.server.HttpServer createSimpleServer(java.lang.String, java.lang.String, org.glassfish.grizzly.PortRange);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/glassfish/grizzly/PortRange;)Lorg/glassfish/grizzly/http/server/HttpServer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new org.glassfish.grizzly.http.server.HttpServer
dup
invokespecial org.glassfish.grizzly.http.server.HttpServer.<init>:()V
astore 3
start local 3 1: aload 3
invokevirtual org.glassfish.grizzly.http.server.HttpServer.getServerConfiguration:()Lorg/glassfish/grizzly/http/server/ServerConfiguration;
astore 4
start local 4 2: aload 0
ifnull 4
3: aload 4
new org.glassfish.grizzly.http.server.StaticHttpHandler
dup
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
aastore
invokespecial org.glassfish.grizzly.http.server.StaticHttpHandler.<init>:([Ljava/lang/String;)V
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "/"
aastore
invokevirtual org.glassfish.grizzly.http.server.ServerConfiguration.addHttpHandler:(Lorg/glassfish/grizzly/http/server/HttpHandler;[Ljava/lang/String;)V
4: StackMap locals: org.glassfish.grizzly.http.server.HttpServer org.glassfish.grizzly.http.server.ServerConfiguration
StackMap stack:
new org.glassfish.grizzly.http.server.NetworkListener
dup
ldc "grizzly"
5: aload 1
6: aload 2
7: invokespecial org.glassfish.grizzly.http.server.NetworkListener.<init>:(Ljava/lang/String;Ljava/lang/String;Lorg/glassfish/grizzly/PortRange;)V
8: astore 5
start local 5 9: aload 3
aload 5
invokevirtual org.glassfish.grizzly.http.server.HttpServer.addListener:(Lorg/glassfish/grizzly/http/server/NetworkListener;)V
10: aload 3
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 docRoot Ljava/lang/String;
0 11 1 host Ljava/lang/String;
0 11 2 range Lorg/glassfish/grizzly/PortRange;
1 11 3 server Lorg/glassfish/grizzly/http/server/HttpServer;
2 11 4 config Lorg/glassfish/grizzly/http/server/ServerConfiguration;
9 11 5 listener Lorg/glassfish/grizzly/http/server/NetworkListener;
MethodParameters:
Name Flags
docRoot final
host final
range final
protected void enableJMX();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.jmxManager:Lorg/glassfish/grizzly/jmxbase/GrizzlyJmxManager;
ifnonnull 8
1: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
dup
astore 1
monitorenter
2: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.jmxManager:Lorg/glassfish/grizzly/jmxbase/GrizzlyJmxManager;
ifnonnull 4
3: aload 0
invokestatic org.glassfish.grizzly.jmxbase.GrizzlyJmxManager.instance:()Lorg/glassfish/grizzly/jmxbase/GrizzlyJmxManager;
putfield org.glassfish.grizzly.http.server.HttpServer.jmxManager:Lorg/glassfish/grizzly/jmxbase/GrizzlyJmxManager;
4: StackMap locals: org.glassfish.grizzly.http.server.ServerConfiguration
StackMap stack:
aload 1
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.jmxManager:Lorg/glassfish/grizzly/jmxbase/GrizzlyJmxManager;
aload 0
iconst_0
invokevirtual org.glassfish.grizzly.http.server.HttpServer.getManagementObject:(Z)Ljava/lang/Object;
9: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
invokevirtual org.glassfish.grizzly.http.server.ServerConfiguration.getName:()Ljava/lang/String;
10: invokevirtual org.glassfish.grizzly.jmxbase.GrizzlyJmxManager.registerAtRoot:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
11: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/glassfish/grizzly/http/server/HttpServer;
Exception table:
from to target type
2 5 6 any
6 7 6 any
protected void disableJMX();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.jmxManager:Lorg/glassfish/grizzly/jmxbase/GrizzlyJmxManager;
ifnull 2
1: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.jmxManager:Lorg/glassfish/grizzly/jmxbase/GrizzlyJmxManager;
aload 0
iconst_1
invokevirtual org.glassfish.grizzly.http.server.HttpServer.getManagementObject:(Z)Ljava/lang/Object;
invokevirtual org.glassfish.grizzly.jmxbase.GrizzlyJmxManager.deregister:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/server/HttpServer;
private void configureListener(org.glassfish.grizzly.http.server.NetworkListener);
descriptor: (Lorg/glassfish/grizzly/http/server/NetworkListener;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=17, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getFilterChain:()Lorg/glassfish/grizzly/filterchain/FilterChain;
astore 2
start local 2 1: aload 2
ifnonnull 99
2: invokestatic org.glassfish.grizzly.filterchain.FilterChainBuilder.stateless:()Lorg/glassfish/grizzly/filterchain/FilterChainBuilder;
astore 3
start local 3 3: aload 3
new org.glassfish.grizzly.filterchain.TransportFilter
dup
invokespecial org.glassfish.grizzly.filterchain.TransportFilter.<init>:()V
invokevirtual org.glassfish.grizzly.filterchain.FilterChainBuilder.add:(Lorg/glassfish/grizzly/filterchain/Filter;)Lorg/glassfish/grizzly/filterchain/FilterChainBuilder;
pop
4: aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.isSecure:()Z
ifeq 16
5: aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getSslEngineConfig:()Lorg/glassfish/grizzly/ssl/SSLEngineConfigurator;
astore 4
start local 4 6: aload 4
ifnonnull 14
7: new org.glassfish.grizzly.ssl.SSLEngineConfigurator
dup
8: getstatic org.glassfish.grizzly.ssl.SSLContextConfigurator.DEFAULT_CONFIG:Lorg/glassfish/grizzly/ssl/SSLContextConfigurator;
9: iconst_0
10: iconst_0
11: iconst_0
12: invokespecial org.glassfish.grizzly.ssl.SSLEngineConfigurator.<init>:(Lorg/glassfish/grizzly/ssl/SSLContextConfigurator;ZZZ)V
astore 4
13: aload 1
aload 4
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.setSSLEngineConfig:(Lorg/glassfish/grizzly/ssl/SSLEngineConfigurator;)V
14: StackMap locals: org.glassfish.grizzly.filterchain.FilterChain org.glassfish.grizzly.filterchain.FilterChainBuilder org.glassfish.grizzly.ssl.SSLEngineConfigurator
StackMap stack:
new org.glassfish.grizzly.ssl.SSLBaseFilter
dup
aload 4
invokespecial org.glassfish.grizzly.ssl.SSLBaseFilter.<init>:(Lorg/glassfish/grizzly/ssl/SSLEngineConfigurator;)V
astore 5
start local 5 15: aload 3
aload 5
invokevirtual org.glassfish.grizzly.filterchain.FilterChainBuilder.add:(Lorg/glassfish/grizzly/filterchain/Filter;)Lorg/glassfish/grizzly/filterchain/FilterChainBuilder;
pop
end local 5 end local 4 16: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getMaxHttpHeaderSize:()I
iconst_m1
if_icmpne 18
17: sipush 8192
goto 19
18: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getMaxHttpHeaderSize:()I
19: StackMap locals:
StackMap stack: int
istore 4
start local 4 20: new org.glassfish.grizzly.http.HttpServerFilter
dup
aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.isChunkingEnabled:()Z
21: iload 4
22: aconst_null
23: aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getKeepAlive:()Lorg/glassfish/grizzly/http/KeepAlive;
24: aconst_null
25: aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getMaxRequestHeaders:()I
26: aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getMaxResponseHeaders:()I
27: invokespecial org.glassfish.grizzly.http.HttpServerFilter.<init>:(ZILjava/lang/String;Lorg/glassfish/grizzly/http/KeepAlive;Lorg/glassfish/grizzly/utils/DelayedExecutor;II)V
28: astore 5
start local 5 29: aload 0
aload 1
invokevirtual org.glassfish.grizzly.http.server.HttpServer.configureCompressionEncodings:(Lorg/glassfish/grizzly/http/server/NetworkListener;)Ljava/util/Set;
30: astore 6
start local 6 31: aload 6
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 34
StackMap locals: org.glassfish.grizzly.http.server.HttpServer org.glassfish.grizzly.http.server.NetworkListener org.glassfish.grizzly.filterchain.FilterChain org.glassfish.grizzly.filterchain.FilterChainBuilder int org.glassfish.grizzly.http.HttpServerFilter java.util.Set top java.util.Iterator
StackMap stack:
32: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.ContentEncoding
astore 7
start local 7 33: aload 5
aload 7
invokevirtual org.glassfish.grizzly.http.HttpServerFilter.addContentEncoding:(Lorg/glassfish/grizzly/http/ContentEncoding;)V
end local 7 34: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 32
35: aload 5
36: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
invokevirtual org.glassfish.grizzly.http.server.ServerConfiguration.isAllowPayloadForUndefinedHttpMethods:()Z
37: invokevirtual org.glassfish.grizzly.http.HttpServerFilter.setAllowPayloadForUndefinedHttpMethods:(Z)V
38: aload 5
39: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
invokevirtual org.glassfish.grizzly.http.server.ServerConfiguration.getMaxPayloadRemainderToSkip:()J
40: invokevirtual org.glassfish.grizzly.http.HttpServerFilter.setMaxPayloadRemainderToSkip:(J)V
41: aload 5
invokevirtual org.glassfish.grizzly.http.HttpServerFilter.getMonitoringConfig:()Lorg/glassfish/grizzly/monitoring/MonitoringConfig;
42: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
invokevirtual org.glassfish.grizzly.http.server.ServerConfiguration.getMonitoringConfig:()Lorg/glassfish/grizzly/http/server/HttpServerMonitoringConfig;
invokevirtual org.glassfish.grizzly.http.server.HttpServerMonitoringConfig.getHttpConfig:()Lorg/glassfish/grizzly/monitoring/MonitoringConfig;
invokeinterface org.glassfish.grizzly.monitoring.MonitoringConfig.getProbes:()[Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.HttpProbe[]
43: invokeinterface org.glassfish.grizzly.monitoring.MonitoringConfig.addProbes:([Ljava/lang/Object;)V
44: aload 3
aload 5
invokevirtual org.glassfish.grizzly.filterchain.FilterChainBuilder.add:(Lorg/glassfish/grizzly/filterchain/Filter;)Lorg/glassfish/grizzly/filterchain/FilterChainBuilder;
pop
45: aload 3
new org.glassfish.grizzly.utils.IdleTimeoutFilter
dup
aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.delayedExecutor:Lorg/glassfish/grizzly/utils/DelayedExecutor;
46: aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getKeepAlive:()Lorg/glassfish/grizzly/http/KeepAlive;
invokevirtual org.glassfish.grizzly.http.KeepAlive.getIdleTimeoutInSeconds:()I
i2l
47: getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
invokespecial org.glassfish.grizzly.utils.IdleTimeoutFilter.<init>:(Lorg/glassfish/grizzly/utils/DelayedExecutor;JLjava/util/concurrent/TimeUnit;)V
48: invokevirtual org.glassfish.grizzly.filterchain.FilterChainBuilder.add:(Lorg/glassfish/grizzly/filterchain/Filter;)Lorg/glassfish/grizzly/filterchain/FilterChainBuilder;
pop
49: aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getTransport:()Lorg/glassfish/grizzly/nio/transport/TCPNIOTransport;
astore 7
start local 7 50: aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getFileCache:()Lorg/glassfish/grizzly/http/server/filecache/FileCache;
astore 8
start local 8 51: aload 8
aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.delayedExecutor:Lorg/glassfish/grizzly/utils/DelayedExecutor;
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.initialize:(Lorg/glassfish/grizzly/utils/DelayedExecutor;)V
52: new org.glassfish.grizzly.http.server.FileCacheFilter
dup
aload 8
invokespecial org.glassfish.grizzly.http.server.FileCacheFilter.<init>:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;)V
astore 9
start local 9 53: aload 8
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.getMonitoringConfig:()Lorg/glassfish/grizzly/monitoring/MonitoringConfig;
54: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
invokevirtual org.glassfish.grizzly.http.server.ServerConfiguration.getMonitoringConfig:()Lorg/glassfish/grizzly/http/server/HttpServerMonitoringConfig;
invokevirtual org.glassfish.grizzly.http.server.HttpServerMonitoringConfig.getFileCacheConfig:()Lorg/glassfish/grizzly/monitoring/MonitoringConfig;
invokeinterface org.glassfish.grizzly.monitoring.MonitoringConfig.getProbes:()[Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.filecache.FileCacheProbe[]
55: invokeinterface org.glassfish.grizzly.monitoring.MonitoringConfig.addProbes:([Ljava/lang/Object;)V
56: aload 3
aload 9
invokevirtual org.glassfish.grizzly.filterchain.FilterChainBuilder.add:(Lorg/glassfish/grizzly/filterchain/Filter;)Lorg/glassfish/grizzly/filterchain/FilterChainBuilder;
pop
57: new org.glassfish.grizzly.http.server.ServerFilterConfiguration
dup
aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
invokespecial org.glassfish.grizzly.http.server.ServerFilterConfiguration.<init>:(Lorg/glassfish/grizzly/http/server/ServerFilterConfiguration;)V
astore 10
start local 10 58: aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.isSendFileExplicitlyConfigured:()Z
ifeq 61
59: aload 10
aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.isSendFileEnabled:()Z
invokevirtual org.glassfish.grizzly.http.server.ServerFilterConfiguration.setSendFileEnabled:(Z)V
60: aload 8
aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.isSendFileEnabled:()Z
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.setFileSendEnabled:(Z)V
61: StackMap locals: org.glassfish.grizzly.http.server.HttpServer org.glassfish.grizzly.http.server.NetworkListener org.glassfish.grizzly.filterchain.FilterChain org.glassfish.grizzly.filterchain.FilterChainBuilder int org.glassfish.grizzly.http.HttpServerFilter java.util.Set org.glassfish.grizzly.Transport org.glassfish.grizzly.http.server.filecache.FileCache org.glassfish.grizzly.http.server.FileCacheFilter org.glassfish.grizzly.http.server.ServerFilterConfiguration
StackMap stack:
aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getBackendConfiguration:()Lorg/glassfish/grizzly/http/server/BackendConfiguration;
ifnull 63
62: aload 10
aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getBackendConfiguration:()Lorg/glassfish/grizzly/http/server/BackendConfiguration;
invokevirtual org.glassfish.grizzly.http.server.ServerFilterConfiguration.setBackendConfiguration:(Lorg/glassfish/grizzly/http/server/BackendConfiguration;)V
63: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getDefaultErrorPageGenerator:()Lorg/glassfish/grizzly/http/server/ErrorPageGenerator;
ifnull 65
64: aload 10
aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getDefaultErrorPageGenerator:()Lorg/glassfish/grizzly/http/server/ErrorPageGenerator;
invokevirtual org.glassfish.grizzly.http.server.ServerFilterConfiguration.setDefaultErrorPageGenerator:(Lorg/glassfish/grizzly/http/server/ErrorPageGenerator;)V
65: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getSessionManager:()Lorg/glassfish/grizzly/http/server/SessionManager;
ifnull 67
66: aload 10
aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getSessionManager:()Lorg/glassfish/grizzly/http/server/SessionManager;
invokevirtual org.glassfish.grizzly.http.server.ServerFilterConfiguration.setSessionManager:(Lorg/glassfish/grizzly/http/server/SessionManager;)V
67: StackMap locals:
StackMap stack:
aload 10
aload 10
invokevirtual org.glassfish.grizzly.http.server.ServerFilterConfiguration.isTraceEnabled:()Z
ifne 68
aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.isTraceEnabled:()Z
ifne 68
iconst_0
goto 69
StackMap locals:
StackMap stack: org.glassfish.grizzly.http.server.ServerFilterConfiguration
68: iconst_1
StackMap locals: org.glassfish.grizzly.http.server.HttpServer org.glassfish.grizzly.http.server.NetworkListener org.glassfish.grizzly.filterchain.FilterChain org.glassfish.grizzly.filterchain.FilterChainBuilder int org.glassfish.grizzly.http.HttpServerFilter java.util.Set org.glassfish.grizzly.Transport org.glassfish.grizzly.http.server.filecache.FileCache org.glassfish.grizzly.http.server.FileCacheFilter org.glassfish.grizzly.http.server.ServerFilterConfiguration
StackMap stack: org.glassfish.grizzly.http.server.ServerFilterConfiguration int
69: invokevirtual org.glassfish.grizzly.http.server.ServerFilterConfiguration.setTraceEnabled:(Z)V
70: aload 10
aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getMaxFormPostSize:()I
invokevirtual org.glassfish.grizzly.http.server.ServerFilterConfiguration.setMaxFormPostSize:(I)V
71: aload 10
aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getMaxBufferedPostSize:()I
invokevirtual org.glassfish.grizzly.http.server.ServerFilterConfiguration.setMaxBufferedPostSize:(I)V
72: new org.glassfish.grizzly.http.server.HttpServerFilter
dup
73: aload 10
74: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.delayedExecutor:Lorg/glassfish/grizzly/utils/DelayedExecutor;
75: invokespecial org.glassfish.grizzly.http.server.HttpServerFilter.<init>:(Lorg/glassfish/grizzly/http/server/ServerFilterConfiguration;Lorg/glassfish/grizzly/utils/DelayedExecutor;)V
astore 11
start local 11 76: aload 11
aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.httpHandlerChain:Lorg/glassfish/grizzly/http/server/HttpHandlerChain;
invokevirtual org.glassfish.grizzly.http.server.HttpServerFilter.setHttpHandler:(Lorg/glassfish/grizzly/http/server/HttpHandler;)V
77: aload 11
invokevirtual org.glassfish.grizzly.http.server.HttpServerFilter.getMonitoringConfig:()Lorg/glassfish/grizzly/monitoring/MonitoringConfig;
78: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
invokevirtual org.glassfish.grizzly.http.server.ServerConfiguration.getMonitoringConfig:()Lorg/glassfish/grizzly/http/server/HttpServerMonitoringConfig;
invokevirtual org.glassfish.grizzly.http.server.HttpServerMonitoringConfig.getWebServerConfig:()Lorg/glassfish/grizzly/monitoring/MonitoringConfig;
invokeinterface org.glassfish.grizzly.monitoring.MonitoringConfig.getProbes:()[Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.HttpServerProbe[]
79: invokeinterface org.glassfish.grizzly.monitoring.MonitoringConfig.addProbes:([Ljava/lang/Object;)V
80: aload 3
aload 11
invokevirtual org.glassfish.grizzly.filterchain.FilterChainBuilder.add:(Lorg/glassfish/grizzly/filterchain/Filter;)Lorg/glassfish/grizzly/filterchain/FilterChainBuilder;
pop
81: aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getAddOnSet:()Lorg/glassfish/grizzly/utils/ArraySet;
invokevirtual org.glassfish.grizzly.utils.ArraySet.getArray:()[Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.AddOn[]
astore 12
start local 12 82: aload 12
ifnull 88
83: aload 12
dup
astore 16
arraylength
istore 15
iconst_0
istore 14
goto 87
StackMap locals: org.glassfish.grizzly.http.server.HttpServer org.glassfish.grizzly.http.server.NetworkListener org.glassfish.grizzly.filterchain.FilterChain org.glassfish.grizzly.filterchain.FilterChainBuilder int org.glassfish.grizzly.http.HttpServerFilter java.util.Set org.glassfish.grizzly.Transport org.glassfish.grizzly.http.server.filecache.FileCache org.glassfish.grizzly.http.server.FileCacheFilter org.glassfish.grizzly.http.server.ServerFilterConfiguration org.glassfish.grizzly.http.server.HttpServerFilter org.glassfish.grizzly.http.server.AddOn[] top int int org.glassfish.grizzly.http.server.AddOn[]
StackMap stack:
84: aload 16
iload 14
aaload
astore 13
start local 13 85: aload 13
aload 1
aload 3
invokeinterface org.glassfish.grizzly.http.server.AddOn.setup:(Lorg/glassfish/grizzly/http/server/NetworkListener;Lorg/glassfish/grizzly/filterchain/FilterChainBuilder;)V
end local 13 86: iinc 14 1
StackMap locals:
StackMap stack:
87: iload 14
iload 15
if_icmplt 84
88: StackMap locals: org.glassfish.grizzly.http.server.HttpServer org.glassfish.grizzly.http.server.NetworkListener org.glassfish.grizzly.filterchain.FilterChain org.glassfish.grizzly.filterchain.FilterChainBuilder int org.glassfish.grizzly.http.HttpServerFilter java.util.Set org.glassfish.grizzly.Transport org.glassfish.grizzly.http.server.filecache.FileCache org.glassfish.grizzly.http.server.FileCacheFilter org.glassfish.grizzly.http.server.ServerFilterConfiguration org.glassfish.grizzly.http.server.HttpServerFilter org.glassfish.grizzly.http.server.AddOn[]
StackMap stack:
aload 3
invokevirtual org.glassfish.grizzly.filterchain.FilterChainBuilder.build:()Lorg/glassfish/grizzly/filterchain/FilterChain;
astore 2
89: aload 1
aload 2
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.setFilterChain:(Lorg/glassfish/grizzly/filterchain/FilterChain;)V
90: aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getTransactionTimeout:()I
istore 13
start local 13 91: iload 13
iflt 99
92: aload 7
invokeinterface org.glassfish.grizzly.Transport.getWorkerThreadPoolConfig:()Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
astore 14
start local 14 93: aload 14
ifnull 99
94: aload 14
95: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.delayedExecutor:Lorg/glassfish/grizzly/utils/DelayedExecutor;
96: iload 13
i2l
97: getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
98: invokevirtual org.glassfish.grizzly.threadpool.ThreadPoolConfig.setTransactionTimeout:(Lorg/glassfish/grizzly/utils/DelayedExecutor;JLjava/util/concurrent/TimeUnit;)Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
pop
end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 99: StackMap locals: org.glassfish.grizzly.http.server.HttpServer org.glassfish.grizzly.http.server.NetworkListener org.glassfish.grizzly.filterchain.FilterChain
StackMap stack:
aload 0
aload 1
invokevirtual org.glassfish.grizzly.http.server.HttpServer.configureMonitoring:(Lorg/glassfish/grizzly/http/server/NetworkListener;)V
100: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 101 0 this Lorg/glassfish/grizzly/http/server/HttpServer;
0 101 1 listener Lorg/glassfish/grizzly/http/server/NetworkListener;
1 101 2 chain Lorg/glassfish/grizzly/filterchain/FilterChain;
3 99 3 builder Lorg/glassfish/grizzly/filterchain/FilterChainBuilder;
6 16 4 sslConfig Lorg/glassfish/grizzly/ssl/SSLEngineConfigurator;
15 16 5 filter Lorg/glassfish/grizzly/ssl/SSLBaseFilter;
20 99 4 maxHeaderSize I
29 99 5 httpServerCodecFilter Lorg/glassfish/grizzly/http/HttpServerFilter;
31 99 6 contentEncodings Ljava/util/Set<Lorg/glassfish/grizzly/http/ContentEncoding;>;
33 34 7 contentEncoding Lorg/glassfish/grizzly/http/ContentEncoding;
50 99 7 transport Lorg/glassfish/grizzly/Transport;
51 99 8 fileCache Lorg/glassfish/grizzly/http/server/filecache/FileCache;
53 99 9 fileCacheFilter Lorg/glassfish/grizzly/http/server/FileCacheFilter;
58 99 10 config Lorg/glassfish/grizzly/http/server/ServerFilterConfiguration;
76 99 11 httpServerFilter Lorg/glassfish/grizzly/http/server/HttpServerFilter;
82 99 12 addons [Lorg/glassfish/grizzly/http/server/AddOn;
85 86 13 addon Lorg/glassfish/grizzly/http/server/AddOn;
91 99 13 transactionTimeout I
93 99 14 threadPoolConfig Lorg/glassfish/grizzly/threadpool/ThreadPoolConfig;
MethodParameters:
Name Flags
listener final
protected java.util.Set<org.glassfish.grizzly.http.ContentEncoding> configureCompressionEncodings(org.glassfish.grizzly.http.server.NetworkListener);
descriptor: (Lorg/glassfish/grizzly/http/server/NetworkListener;)Ljava/util/Set;
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getCompressionConfig:()Lorg/glassfish/grizzly/http/CompressionConfig;
astore 2
start local 2 1: aload 2
invokevirtual org.glassfish.grizzly.http.CompressionConfig.getCompressionMode:()Lorg/glassfish/grizzly/http/CompressionConfig$CompressionMode;
getstatic org.glassfish.grizzly.http.CompressionConfig$CompressionMode.OFF:Lorg/glassfish/grizzly/http/CompressionConfig$CompressionMode;
if_acmpeq 18
2: new org.glassfish.grizzly.http.GZipContentEncoding
dup
3: sipush 512
4: sipush 512
5: new org.glassfish.grizzly.http.server.CompressionEncodingFilter
dup
aload 2
6: invokestatic org.glassfish.grizzly.http.GZipContentEncoding.getGzipAliases:()[Ljava/lang/String;
7: invokespecial org.glassfish.grizzly.http.server.CompressionEncodingFilter.<init>:(Lorg/glassfish/grizzly/http/CompressionConfig;[Ljava/lang/String;)V
8: invokespecial org.glassfish.grizzly.http.GZipContentEncoding.<init>:(IILorg/glassfish/grizzly/http/EncodingFilter;)V
astore 3
start local 3 9: new org.glassfish.grizzly.http.LZMAContentEncoding
dup
10: new org.glassfish.grizzly.http.server.CompressionEncodingFilter
dup
aload 2
11: invokestatic org.glassfish.grizzly.http.LZMAContentEncoding.getLzmaAliases:()[Ljava/lang/String;
12: invokespecial org.glassfish.grizzly.http.server.CompressionEncodingFilter.<init>:(Lorg/glassfish/grizzly/http/CompressionConfig;[Ljava/lang/String;)V
13: invokespecial org.glassfish.grizzly.http.LZMAContentEncoding.<init>:(Lorg/glassfish/grizzly/http/EncodingFilter;)V
astore 4
start local 4 14: new java.util.HashSet
dup
iconst_2
invokespecial java.util.HashSet.<init>:(I)V
astore 5
start local 5 15: aload 5
aload 3
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
16: aload 5
aload 4
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
17: aload 5
areturn
end local 5 end local 4 end local 3 18: StackMap locals: org.glassfish.grizzly.http.CompressionConfig
StackMap stack:
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/glassfish/grizzly/http/server/HttpServer;
0 19 1 listener Lorg/glassfish/grizzly/http/server/NetworkListener;
1 19 2 compressionConfig Lorg/glassfish/grizzly/http/CompressionConfig;
9 18 3 gzipContentEncoding Lorg/glassfish/grizzly/http/ContentEncoding;
14 18 4 lzmaEncoding Lorg/glassfish/grizzly/http/ContentEncoding;
15 18 5 set Ljava/util/Set<Lorg/glassfish/grizzly/http/ContentEncoding;>;
Signature: (Lorg/glassfish/grizzly/http/server/NetworkListener;)Ljava/util/Set<Lorg/glassfish/grizzly/http/ContentEncoding;>;
MethodParameters:
Name Flags
listener final
private void configureMonitoring(org.glassfish.grizzly.http.server.NetworkListener);
descriptor: (Lorg/glassfish/grizzly/http/server/NetworkListener;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.glassfish.grizzly.http.server.NetworkListener.getTransport:()Lorg/glassfish/grizzly/nio/transport/TCPNIOTransport;
astore 2
start local 2 1: aload 2
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOTransport.getMonitoringConfig:()Lorg/glassfish/grizzly/monitoring/MonitoringConfig;
2: astore 3
start local 3 3: aload 2
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOTransport.getConnectionMonitoringConfig:()Lorg/glassfish/grizzly/monitoring/MonitoringConfig;
4: astore 4
start local 4 5: aload 2
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOTransport.getMemoryManager:()Lorg/glassfish/grizzly/memory/MemoryManager;
invokeinterface org.glassfish.grizzly.memory.MemoryManager.getMonitoringConfig:()Lorg/glassfish/grizzly/monitoring/MonitoringConfig;
6: astore 5
start local 5 7: aload 2
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOTransport.getThreadPoolMonitoringConfig:()Lorg/glassfish/grizzly/monitoring/MonitoringConfig;
8: astore 6
start local 6 9: aload 3
aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
invokevirtual org.glassfish.grizzly.http.server.ServerConfiguration.getMonitoringConfig:()Lorg/glassfish/grizzly/http/server/HttpServerMonitoringConfig;
10: invokevirtual org.glassfish.grizzly.http.server.HttpServerMonitoringConfig.getTransportConfig:()Lorg/glassfish/grizzly/monitoring/MonitoringConfig;
invokeinterface org.glassfish.grizzly.monitoring.MonitoringConfig.getProbes:()[Ljava/lang/Object;
checkcast org.glassfish.grizzly.TransportProbe[]
11: invokeinterface org.glassfish.grizzly.monitoring.MonitoringConfig.addProbes:([Ljava/lang/Object;)V
12: aload 4
aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
invokevirtual org.glassfish.grizzly.http.server.ServerConfiguration.getMonitoringConfig:()Lorg/glassfish/grizzly/http/server/HttpServerMonitoringConfig;
13: invokevirtual org.glassfish.grizzly.http.server.HttpServerMonitoringConfig.getConnectionConfig:()Lorg/glassfish/grizzly/monitoring/MonitoringConfig;
invokeinterface org.glassfish.grizzly.monitoring.MonitoringConfig.getProbes:()[Ljava/lang/Object;
checkcast org.glassfish.grizzly.ConnectionProbe[]
14: invokeinterface org.glassfish.grizzly.monitoring.MonitoringConfig.addProbes:([Ljava/lang/Object;)V
15: aload 5
aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
invokevirtual org.glassfish.grizzly.http.server.ServerConfiguration.getMonitoringConfig:()Lorg/glassfish/grizzly/http/server/HttpServerMonitoringConfig;
16: invokevirtual org.glassfish.grizzly.http.server.HttpServerMonitoringConfig.getMemoryConfig:()Lorg/glassfish/grizzly/monitoring/MonitoringConfig;
invokeinterface org.glassfish.grizzly.monitoring.MonitoringConfig.getProbes:()[Ljava/lang/Object;
checkcast org.glassfish.grizzly.memory.MemoryProbe[]
17: invokeinterface org.glassfish.grizzly.monitoring.MonitoringConfig.addProbes:([Ljava/lang/Object;)V
18: aload 6
aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.serverConfig:Lorg/glassfish/grizzly/http/server/ServerConfiguration;
invokevirtual org.glassfish.grizzly.http.server.ServerConfiguration.getMonitoringConfig:()Lorg/glassfish/grizzly/http/server/HttpServerMonitoringConfig;
19: invokevirtual org.glassfish.grizzly.http.server.HttpServerMonitoringConfig.getThreadPoolConfig:()Lorg/glassfish/grizzly/monitoring/MonitoringConfig;
invokeinterface org.glassfish.grizzly.monitoring.MonitoringConfig.getProbes:()[Ljava/lang/Object;
checkcast org.glassfish.grizzly.threadpool.ThreadPoolProbe[]
20: invokeinterface org.glassfish.grizzly.monitoring.MonitoringConfig.addProbes:([Ljava/lang/Object;)V
21: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/glassfish/grizzly/http/server/HttpServer;
0 22 1 listener Lorg/glassfish/grizzly/http/server/NetworkListener;
1 22 2 transport Lorg/glassfish/grizzly/nio/transport/TCPNIOTransport;
3 22 3 transportMonitoringCfg Lorg/glassfish/grizzly/monitoring/MonitoringConfig<Lorg/glassfish/grizzly/TransportProbe;>;
5 22 4 connectionMonitoringCfg Lorg/glassfish/grizzly/monitoring/MonitoringConfig<Lorg/glassfish/grizzly/ConnectionProbe;>;
7 22 5 memoryMonitoringCfg Lorg/glassfish/grizzly/monitoring/MonitoringConfig<Lorg/glassfish/grizzly/memory/MemoryProbe;>;
9 22 6 threadPoolMonitoringCfg Lorg/glassfish/grizzly/monitoring/MonitoringConfig<Lorg/glassfish/grizzly/threadpool/ThreadPoolProbe;>;
MethodParameters:
Name Flags
listener final
private void configureAuxThreadPool();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=1
start local 0 0: new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
astore 1
start local 1 1: aload 0
2: new org.glassfish.grizzly.http.server.HttpServer$2
dup
aload 0
aload 1
invokespecial org.glassfish.grizzly.http.server.HttpServer$2.<init>:(Lorg/glassfish/grizzly/http/server/HttpServer;Ljava/util/concurrent/atomic/AtomicInteger;)V
3: invokestatic java.util.concurrent.Executors.newCachedThreadPool:(Ljava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ExecutorService;
putfield org.glassfish.grizzly.http.server.HttpServer.auxExecutorService:Ljava/util/concurrent/ExecutorService;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/server/HttpServer;
1 5 1 threadCounter Ljava/util/concurrent/atomic/AtomicInteger;
private void stopAuxThreadPool();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.auxExecutorService:Ljava/util/concurrent/ExecutorService;
astore 1
start local 1 1: aload 0
aconst_null
putfield org.glassfish.grizzly.http.server.HttpServer.auxExecutorService:Ljava/util/concurrent/ExecutorService;
2: aload 1
ifnull 4
3: aload 1
invokeinterface java.util.concurrent.ExecutorService.shutdownNow:()Ljava/util/List;
pop
4: StackMap locals: java.util.concurrent.ExecutorService
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/server/HttpServer;
1 5 1 localThreadPool Ljava/util/concurrent/ExecutorService;
synchronized void onAddHttpHandler(org.glassfish.grizzly.http.server.HttpHandler, org.glassfish.grizzly.http.server.HttpHandlerRegistration[]);
descriptor: (Lorg/glassfish/grizzly/http/server/HttpHandler;[Lorg/glassfish/grizzly/http/server/HttpHandlerRegistration;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.HttpServer.isStarted:()Z
ifeq 2
1: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.httpHandlerChain:Lorg/glassfish/grizzly/http/server/HttpHandlerChain;
aload 1
aload 2
invokevirtual org.glassfish.grizzly.http.server.HttpHandlerChain.addHandler:(Lorg/glassfish/grizzly/http/server/HttpHandler;[Lorg/glassfish/grizzly/http/server/HttpHandlerRegistration;)V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/server/HttpServer;
0 3 1 httpHandler Lorg/glassfish/grizzly/http/server/HttpHandler;
0 3 2 registrations [Lorg/glassfish/grizzly/http/server/HttpHandlerRegistration;
MethodParameters:
Name Flags
httpHandler
registrations final
synchronized void onRemoveHttpHandler(org.glassfish.grizzly.http.server.HttpHandler);
descriptor: (Lorg/glassfish/grizzly/http/server/HttpHandler;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.HttpServer.isStarted:()Z
ifeq 2
1: aload 0
getfield org.glassfish.grizzly.http.server.HttpServer.httpHandlerChain:Lorg/glassfish/grizzly/http/server/HttpHandlerChain;
aload 1
invokevirtual org.glassfish.grizzly.http.server.HttpHandlerChain.removeHttpHandler:(Lorg/glassfish/grizzly/http/server/HttpHandler;)Z
pop
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/server/HttpServer;
0 3 1 httpHandler Lorg/glassfish/grizzly/http/server/HttpHandler;
MethodParameters:
Name Flags
httpHandler
}
SourceFile: "HttpServer.java"
NestMembers:
org.glassfish.grizzly.http.server.HttpServer$1 org.glassfish.grizzly.http.server.HttpServer$2
InnerClasses:
public final CompressionMode = org.glassfish.grizzly.http.CompressionConfig$CompressionMode of org.glassfish.grizzly.http.CompressionConfig
org.glassfish.grizzly.http.server.HttpServer$1
org.glassfish.grizzly.http.server.HttpServer$2