class org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl extends org.glassfish.grizzly.servlet.HttpServletRequestImpl
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl
super_class: org.glassfish.grizzly.servlet.HttpServletRequestImpl
{
private org.glassfish.grizzly.websockets.glassfish.GlassfishSupport glassfishSupport;
descriptor: Lorg/glassfish/grizzly/websockets/glassfish/GlassfishSupport;
flags: (0x0002) ACC_PRIVATE
private java.lang.String pathInfo;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String servletPath;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String contextPath;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean isUserPrincipalUpdated;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.io.BufferedReader reader;
descriptor: Ljava/io/BufferedReader;
flags: (0x0002) ACC_PRIVATE
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.glassfish.grizzly.servlet.HttpServletRequestImpl.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/websockets/DefaultWebSocket$WSServletRequestImpl;
public void initialize(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.servlet.HttpServletResponseImpl, org.glassfish.grizzly.websockets.WebSocketMappingData);
descriptor: (Lorg/glassfish/grizzly/http/server/Request;Lorg/glassfish/grizzly/servlet/HttpServletResponseImpl;Lorg/glassfish/grizzly/websockets/WebSocketMappingData;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnull 3
1: aload 0
aload 3
invokevirtual org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.updatePaths:(Lorg/glassfish/grizzly/websockets/WebSocketMappingData;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.glassfish.grizzly.http.server.Request.getContextPath:()Ljava/lang/String;
putfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.contextPath:Ljava/lang/String;
4: StackMap locals:
StackMap stack:
aload 3
ifnull 7
aload 3
getfield org.glassfish.grizzly.websockets.WebSocketMappingData.isGlassfish:Z
ifeq 7
5: aload 0
new org.glassfish.grizzly.websockets.glassfish.GlassfishSupport
dup
aload 3
getfield org.glassfish.grizzly.websockets.WebSocketMappingData.context:Ljava/lang/Object;
aload 3
getfield org.glassfish.grizzly.websockets.WebSocketMappingData.wrapper:Ljava/lang/Object;
aload 0
invokespecial org.glassfish.grizzly.websockets.glassfish.GlassfishSupport.<init>:(Ljava/lang/Object;Ljava/lang/Object;Ljakarta/servlet/http/HttpServletRequest;)V
putfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.glassfishSupport:Lorg/glassfish/grizzly/websockets/glassfish/GlassfishSupport;
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
new org.glassfish.grizzly.websockets.glassfish.GlassfishSupport
dup
invokespecial org.glassfish.grizzly.websockets.glassfish.GlassfishSupport.<init>:()V
putfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.glassfishSupport:Lorg/glassfish/grizzly/websockets/glassfish/GlassfishSupport;
8: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
new org.glassfish.grizzly.servlet.WebappContext
dup
ldc "web-socket-ctx"
aload 0
getfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.contextPath:Ljava/lang/String;
invokespecial org.glassfish.grizzly.servlet.WebappContext.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokespecial org.glassfish.grizzly.servlet.HttpServletRequestImpl.initialize:(Lorg/glassfish/grizzly/http/server/Request;Lorg/glassfish/grizzly/servlet/HttpServletResponseImpl;Lorg/glassfish/grizzly/servlet/WebappContext;)V
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/glassfish/grizzly/websockets/DefaultWebSocket$WSServletRequestImpl;
0 10 1 request Lorg/glassfish/grizzly/http/server/Request;
0 10 2 servletResponse Lorg/glassfish/grizzly/servlet/HttpServletResponseImpl;
0 10 3 mappingData Lorg/glassfish/grizzly/websockets/WebSocketMappingData;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
request final
servletResponse final
mappingData final
public jakarta.servlet.ServletInputStream getInputStream();
descriptor: ()Ljakarta/servlet/ServletInputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.usingReader:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Illegal attempt to call getInputStream() after getReader() has already been called."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.usingInputStream:Z
3: getstatic org.glassfish.grizzly.websockets.Utils.NULL_SERVLET_INPUT_STREAM:Ljakarta/servlet/ServletInputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/websockets/DefaultWebSocket$WSServletRequestImpl;
Exceptions:
throws java.io.IOException
public java.io.BufferedReader getReader();
descriptor: ()Ljava/io/BufferedReader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.usingInputStream:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Illegal attempt to call getReader() after getInputStream() has already been called."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.usingReader:Z
3: aload 0
getfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.reader:Ljava/io/BufferedReader;
ifnonnull 5
4: aload 0
new java.io.BufferedReader
dup
getstatic org.glassfish.grizzly.websockets.Utils.NULL_READER:Ljava/io/Reader;
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
putfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.reader:Ljava/io/BufferedReader;
5: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.reader:Ljava/io/BufferedReader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/websockets/DefaultWebSocket$WSServletRequestImpl;
Exceptions:
throws java.io.IOException
public jakarta.servlet.http.HttpSession getSession(boolean);
descriptor: (Z)Ljakarta/servlet/http/HttpSession;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.glassfishSupport:Lorg/glassfish/grizzly/websockets/glassfish/GlassfishSupport;
invokevirtual org.glassfish.grizzly.websockets.glassfish.GlassfishSupport.isValid:()Z
ifeq 2
1: aload 0
getfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.glassfishSupport:Lorg/glassfish/grizzly/websockets/glassfish/GlassfishSupport;
iload 1
invokevirtual org.glassfish.grizzly.websockets.glassfish.GlassfishSupport.getSession:(Z)Ljakarta/servlet/http/HttpSession;
areturn
2: StackMap locals:
StackMap stack:
aload 0
iload 1
invokespecial org.glassfish.grizzly.servlet.HttpServletRequestImpl.getSession:(Z)Ljakarta/servlet/http/HttpSession;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/websockets/DefaultWebSocket$WSServletRequestImpl;
0 3 1 create Z
MethodParameters:
Name Flags
create
public boolean isUserInRole(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.glassfishSupport:Lorg/glassfish/grizzly/websockets/glassfish/GlassfishSupport;
invokevirtual org.glassfish.grizzly.websockets.glassfish.GlassfishSupport.isValid:()Z
ifeq 2
1: aload 0
getfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.glassfishSupport:Lorg/glassfish/grizzly/websockets/glassfish/GlassfishSupport;
aload 1
invokevirtual org.glassfish.grizzly.websockets.glassfish.GlassfishSupport.isUserInRole:(Ljava/lang/String;)Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial org.glassfish.grizzly.servlet.HttpServletRequestImpl.isUserInRole:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/websockets/DefaultWebSocket$WSServletRequestImpl;
0 3 1 role Ljava/lang/String;
MethodParameters:
Name Flags
role
public java.security.Principal getUserPrincipal();
descriptor: ()Ljava/security/Principal;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.checkGlassfishAuth:()V
1: aload 0
invokespecial org.glassfish.grizzly.servlet.HttpServletRequestImpl.getUserPrincipal:()Ljava/security/Principal;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/websockets/DefaultWebSocket$WSServletRequestImpl;
public java.lang.String getRemoteUser();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.checkGlassfishAuth:()V
1: aload 0
invokespecial org.glassfish.grizzly.servlet.HttpServletRequestImpl.getRemoteUser:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/websockets/DefaultWebSocket$WSServletRequestImpl;
public java.lang.String getAuthType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.checkGlassfishAuth:()V
1: aload 0
invokespecial org.glassfish.grizzly.servlet.HttpServletRequestImpl.getAuthType:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/websockets/DefaultWebSocket$WSServletRequestImpl;
public java.lang.String getContextPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.contextPath:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/websockets/DefaultWebSocket$WSServletRequestImpl;
public java.lang.String getServletPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.servletPath:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/websockets/DefaultWebSocket$WSServletRequestImpl;
public java.lang.String getPathInfo();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.pathInfo:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/websockets/DefaultWebSocket$WSServletRequestImpl;
private void updatePaths(org.glassfish.grizzly.websockets.WebSocketMappingData);
descriptor: (Lorg/glassfish/grizzly/websockets/WebSocketMappingData;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getfield org.glassfish.grizzly.websockets.WebSocketMappingData.pathInfo:Lorg/glassfish/grizzly/http/util/DataChunk;
invokevirtual org.glassfish.grizzly.http.util.DataChunk.toString:()Ljava/lang/String;
putfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.pathInfo:Ljava/lang/String;
1: aload 0
aload 1
getfield org.glassfish.grizzly.websockets.WebSocketMappingData.wrapperPath:Lorg/glassfish/grizzly/http/util/DataChunk;
invokevirtual org.glassfish.grizzly.http.util.DataChunk.toString:()Ljava/lang/String;
putfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.servletPath:Ljava/lang/String;
2: aload 0
aload 1
getfield org.glassfish.grizzly.websockets.WebSocketMappingData.contextPath:Lorg/glassfish/grizzly/http/util/DataChunk;
invokevirtual org.glassfish.grizzly.http.util.DataChunk.toString:()Ljava/lang/String;
putfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.contextPath:Ljava/lang/String;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/websockets/DefaultWebSocket$WSServletRequestImpl;
0 4 1 mappingData Lorg/glassfish/grizzly/websockets/WebSocketMappingData;
MethodParameters:
Name Flags
mappingData final
private void checkGlassfishAuth();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.glassfishSupport:Lorg/glassfish/grizzly/websockets/glassfish/GlassfishSupport;
invokevirtual org.glassfish.grizzly.websockets.glassfish.GlassfishSupport.isValid:()Z
ifeq 3
aload 0
getfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.isUserPrincipalUpdated:Z
ifne 3
1: aload 0
iconst_1
putfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.isUserPrincipalUpdated:Z
2: aload 0
getfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.glassfishSupport:Lorg/glassfish/grizzly/websockets/glassfish/GlassfishSupport;
aload 0
getfield org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.request:Lorg/glassfish/grizzly/http/server/Request;
invokevirtual org.glassfish.grizzly.websockets.glassfish.GlassfishSupport.updateUserPrincipal:(Lorg/glassfish/grizzly/http/server/Request;)V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/websockets/DefaultWebSocket$WSServletRequestImpl;
}
SourceFile: "DefaultWebSocket.java"
NestHost: org.glassfish.grizzly.websockets.DefaultWebSocket
InnerClasses:
private WSServletRequestImpl = org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl of org.glassfish.grizzly.websockets.DefaultWebSocket