public class org.glassfish.grizzly.websockets.DefaultWebSocket extends org.glassfish.grizzly.websockets.SimpleWebSocket
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.websockets.DefaultWebSocket
super_class: org.glassfish.grizzly.websockets.SimpleWebSocket
{
private static final java.util.logging.Logger LOGGER;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected final jakarta.servlet.http.HttpServletRequest servletRequest;
descriptor: Ljakarta/servlet/http/HttpServletRequest;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/glassfish/grizzly/websockets/DefaultWebSocket;
invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
putstatic org.glassfish.grizzly.websockets.DefaultWebSocket.LOGGER:Ljava/util/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.glassfish.grizzly.websockets.ProtocolHandler, org.glassfish.grizzly.http.HttpRequestPacket, org.glassfish.grizzly.websockets.WebSocketListener[]);
descriptor: (Lorg/glassfish/grizzly/websockets/ProtocolHandler;Lorg/glassfish/grizzly/http/HttpRequestPacket;[Lorg/glassfish/grizzly/websockets/WebSocketListener;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=6, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 3
invokespecial org.glassfish.grizzly.websockets.SimpleWebSocket.<init>:(Lorg/glassfish/grizzly/websockets/ProtocolHandler;[Lorg/glassfish/grizzly/websockets/WebSocketListener;)V
1: aload 1
invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.getFilterChainContext:()Lorg/glassfish/grizzly/filterchain/FilterChainContext;
astore 4
start local 4 2: aload 4
ifnull 17
3: new org.glassfish.grizzly.websockets.DefaultWebSocket$WSRequestImpl
dup
invokespecial org.glassfish.grizzly.websockets.DefaultWebSocket$WSRequestImpl.<init>:()V
astore 5
start local 5 4: aload 5
invokevirtual org.glassfish.grizzly.websockets.DefaultWebSocket$WSRequestImpl.getResponse:()Lorg/glassfish/grizzly/http/server/Response;
astore 6
start local 6 5: aload 5
aload 2
aload 4
aconst_null
invokevirtual org.glassfish.grizzly.websockets.DefaultWebSocket$WSRequestImpl.initialize:(Lorg/glassfish/grizzly/http/HttpRequestPacket;Lorg/glassfish/grizzly/filterchain/FilterChainContext;Lorg/glassfish/grizzly/http/server/HttpServerFilter;)V
6: aload 6
aload 5
aload 2
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.getResponse:()Lorg/glassfish/grizzly/http/HttpResponsePacket;
aload 4
aconst_null
aconst_null
invokevirtual org.glassfish.grizzly.http.server.Response.initialize:(Lorg/glassfish/grizzly/http/server/Request;Lorg/glassfish/grizzly/http/HttpResponsePacket;Lorg/glassfish/grizzly/filterchain/FilterChainContext;Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue;Lorg/glassfish/grizzly/http/server/HttpServerFilter;)V
7: aload 5
invokevirtual org.glassfish.grizzly.websockets.DefaultWebSocket$WSRequestImpl.parseSessionId:()V
8: new org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl
dup
invokespecial org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.<init>:()V
astore 7
start local 7 9: new org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletResponseImpl
dup
invokespecial org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletResponseImpl.<init>:()V
astore 8
start local 8 10: aload 1
invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.getMappingData:()Lorg/glassfish/grizzly/websockets/WebSocketMappingData;
astore 9
start local 9 11: aload 7
aload 5
aload 8
aload 9
invokevirtual org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.initialize:(Lorg/glassfish/grizzly/http/server/Request;Lorg/glassfish/grizzly/servlet/HttpServletResponseImpl;Lorg/glassfish/grizzly/websockets/WebSocketMappingData;)V
12: aload 8
aload 6
aload 7
invokevirtual org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletResponseImpl.initialize:(Lorg/glassfish/grizzly/http/server/Response;Lorg/glassfish/grizzly/servlet/HttpServletRequestImpl;)V
13: aload 0
aload 7
putfield org.glassfish.grizzly.websockets.DefaultWebSocket.servletRequest:Ljakarta/servlet/http/HttpServletRequest;
end local 9 end local 8 end local 7 14: goto 18
StackMap locals: org.glassfish.grizzly.websockets.DefaultWebSocket org.glassfish.grizzly.websockets.ProtocolHandler org.glassfish.grizzly.http.HttpRequestPacket org.glassfish.grizzly.websockets.WebSocketListener[] org.glassfish.grizzly.filterchain.FilterChainContext org.glassfish.grizzly.websockets.DefaultWebSocket$WSRequestImpl org.glassfish.grizzly.http.server.Response
StackMap stack: java.io.IOException
15: astore 7
start local 7 16: new java.lang.IllegalStateException
dup
ldc "Unexpected exception"
aload 7
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 7 end local 6 end local 5 17: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.glassfish.grizzly.websockets.DefaultWebSocket.servletRequest:Ljakarta/servlet/http/HttpServletRequest;
18: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/glassfish/grizzly/websockets/DefaultWebSocket;
0 19 1 protocolHandler Lorg/glassfish/grizzly/websockets/ProtocolHandler;
0 19 2 request Lorg/glassfish/grizzly/http/HttpRequestPacket;
0 19 3 listeners [Lorg/glassfish/grizzly/websockets/WebSocketListener;
2 19 4 ctx Lorg/glassfish/grizzly/filterchain/FilterChainContext;
4 17 5 grizzlyRequest Lorg/glassfish/grizzly/websockets/DefaultWebSocket$WSRequestImpl;
5 17 6 grizzlyResponse Lorg/glassfish/grizzly/http/server/Response;
9 14 7 grizzlyServletRequest Lorg/glassfish/grizzly/websockets/DefaultWebSocket$WSServletRequestImpl;
10 14 8 grizzlyServletResponse Lorg/glassfish/grizzly/websockets/DefaultWebSocket$WSServletResponseImpl;
11 14 9 mappingData Lorg/glassfish/grizzly/websockets/WebSocketMappingData;
16 17 7 e Ljava/io/IOException;
Exception table:
from to target type
7 14 15 Class java.io.IOException
MethodParameters:
Name Flags
protocolHandler final
request final
listeners final
public jakarta.servlet.http.HttpServletRequest getUpgradeRequest();
descriptor: ()Ljakarta/servlet/http/HttpServletRequest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.websockets.DefaultWebSocket.servletRequest:Ljakarta/servlet/http/HttpServletRequest;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/websockets/DefaultWebSocket;
}
SourceFile: "DefaultWebSocket.java"
NestMembers:
org.glassfish.grizzly.websockets.DefaultWebSocket$WSRequestImpl org.glassfish.grizzly.websockets.DefaultWebSocket$WSResponseImpl org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletResponseImpl
InnerClasses:
public DelayQueue = org.glassfish.grizzly.utils.DelayedExecutor$DelayQueue of org.glassfish.grizzly.utils.DelayedExecutor
private WSRequestImpl = org.glassfish.grizzly.websockets.DefaultWebSocket$WSRequestImpl of org.glassfish.grizzly.websockets.DefaultWebSocket
private WSResponseImpl = org.glassfish.grizzly.websockets.DefaultWebSocket$WSResponseImpl of org.glassfish.grizzly.websockets.DefaultWebSocket
private WSServletRequestImpl = org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl of org.glassfish.grizzly.websockets.DefaultWebSocket
private WSServletResponseImpl = org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletResponseImpl of org.glassfish.grizzly.websockets.DefaultWebSocket
protected SuspendTimeout = org.glassfish.grizzly.http.server.Response$SuspendTimeout of org.glassfish.grizzly.http.server.Response