public class org.glassfish.grizzly.websockets.WebSocketAddOn implements org.glassfish.grizzly.http.server.AddOn
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.websockets.WebSocketAddOn
super_class: java.lang.Object
{
private long timeout;
descriptor: J
flags: (0x0002) ACC_PRIVATE
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
ldc 900
putfield org.glassfish.grizzly.websockets.WebSocketAddOn.timeout:J
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/websockets/WebSocketAddOn;
public void setup(org.glassfish.grizzly.http.server.NetworkListener, org.glassfish.grizzly.filterchain.FilterChainBuilder);
descriptor: (Lorg/glassfish/grizzly/http/server/NetworkListener;Lorg/glassfish/grizzly/filterchain/FilterChainBuilder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc Lorg/glassfish/grizzly/http/server/HttpServerFilter;
invokevirtual org.glassfish.grizzly.filterchain.FilterChainBuilder.indexOfType:(Ljava/lang/Class;)I
istore 3
start local 3 1: iload 3
iflt 3
2: aload 2
iload 3
aload 0
invokevirtual org.glassfish.grizzly.websockets.WebSocketAddOn.createWebSocketFilter:()Lorg/glassfish/grizzly/websockets/WebSocketFilter;
invokevirtual org.glassfish.grizzly.filterchain.FilterChainBuilder.add:(ILorg/glassfish/grizzly/filterchain/Filter;)Lorg/glassfish/grizzly/filterchain/FilterChainBuilder;
pop
3: StackMap locals: int
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/websockets/WebSocketAddOn;
0 4 1 networkListener Lorg/glassfish/grizzly/http/server/NetworkListener;
0 4 2 builder Lorg/glassfish/grizzly/filterchain/FilterChainBuilder;
1 4 3 httpServerFilterIdx I
MethodParameters:
Name Flags
networkListener
builder
public long getTimeoutInSeconds();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.websockets.WebSocketAddOn.timeout:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/websockets/WebSocketAddOn;
public void setTimeoutInSeconds(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.glassfish.grizzly.websockets.WebSocketAddOn.timeout:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/websockets/WebSocketAddOn;
0 2 1 timeout J
MethodParameters:
Name Flags
timeout
protected org.glassfish.grizzly.websockets.WebSocketFilter createWebSocketFilter();
descriptor: ()Lorg/glassfish/grizzly/websockets/WebSocketFilter;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.glassfish.grizzly.websockets.WebSocketFilter
dup
aload 0
getfield org.glassfish.grizzly.websockets.WebSocketAddOn.timeout:J
invokespecial org.glassfish.grizzly.websockets.WebSocketFilter.<init>:(J)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/websockets/WebSocketAddOn;
}
SourceFile: "WebSocketAddOn.java"