public class org.glassfish.grizzly.servlet.WebConnectionImpl implements jakarta.servlet.http.WebConnection
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.servlet.WebConnectionImpl
super_class: java.lang.Object
{
private final jakarta.servlet.ServletInputStream inputStream;
descriptor: Ljakarta/servlet/ServletInputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jakarta.servlet.ServletOutputStream outputStream;
descriptor: Ljakarta/servlet/ServletOutputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.glassfish.grizzly.servlet.HttpServletRequestImpl request;
descriptor: Lorg/glassfish/grizzly/servlet/HttpServletRequestImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicBoolean isClosed;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.glassfish.grizzly.servlet.HttpServletRequestImpl, jakarta.servlet.ServletInputStream, jakarta.servlet.ServletOutputStream);
descriptor: (Lorg/glassfish/grizzly/servlet/HttpServletRequestImpl;Ljakarta/servlet/ServletInputStream;Ljakarta/servlet/ServletOutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
putfield org.glassfish.grizzly.servlet.WebConnectionImpl.isClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
2: aload 0
aload 1
putfield org.glassfish.grizzly.servlet.WebConnectionImpl.request:Lorg/glassfish/grizzly/servlet/HttpServletRequestImpl;
3: aload 0
aload 2
putfield org.glassfish.grizzly.servlet.WebConnectionImpl.inputStream:Ljakarta/servlet/ServletInputStream;
4: aload 0
aload 3
putfield org.glassfish.grizzly.servlet.WebConnectionImpl.outputStream:Ljakarta/servlet/ServletOutputStream;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/servlet/WebConnectionImpl;
0 6 1 request Lorg/glassfish/grizzly/servlet/HttpServletRequestImpl;
0 6 2 inputStream Ljakarta/servlet/ServletInputStream;
0 6 3 outputStream Ljakarta/servlet/ServletOutputStream;
MethodParameters:
Name Flags
request
inputStream
outputStream
public jakarta.servlet.ServletInputStream getInputStream();
descriptor: ()Ljakarta/servlet/ServletInputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.servlet.WebConnectionImpl.inputStream:Ljakarta/servlet/ServletInputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/servlet/WebConnectionImpl;
Exceptions:
throws java.io.IOException
public jakarta.servlet.ServletOutputStream getOutputStream();
descriptor: ()Ljakarta/servlet/ServletOutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.servlet.WebConnectionImpl.outputStream:Ljakarta/servlet/ServletOutputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/servlet/WebConnectionImpl;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.servlet.WebConnectionImpl.isClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 21
1: aload 0
getfield org.glassfish.grizzly.servlet.WebConnectionImpl.request:Lorg/glassfish/grizzly/servlet/HttpServletRequestImpl;
invokevirtual org.glassfish.grizzly.servlet.HttpServletRequestImpl.getRequest:()Lorg/glassfish/grizzly/http/server/Request;
astore 1
start local 1 2: aload 0
getfield org.glassfish.grizzly.servlet.WebConnectionImpl.request:Lorg/glassfish/grizzly/servlet/HttpServletRequestImpl;
invokevirtual org.glassfish.grizzly.servlet.HttpServletRequestImpl.getHttpUpgradeHandler:()Ljakarta/servlet/http/HttpUpgradeHandler;
astore 2
start local 2 3: aload 2
invokeinterface jakarta.servlet.http.HttpUpgradeHandler.destroy:()V
4: goto 14
StackMap locals: org.glassfish.grizzly.servlet.WebConnectionImpl org.glassfish.grizzly.http.server.Request jakarta.servlet.http.HttpUpgradeHandler
StackMap stack: java.lang.Throwable
5: astore 3
6: aload 0
getfield org.glassfish.grizzly.servlet.WebConnectionImpl.inputStream:Ljakarta/servlet/ServletInputStream;
invokevirtual jakarta.servlet.ServletInputStream.close:()V
7: goto 9
StackMap locals: org.glassfish.grizzly.servlet.WebConnectionImpl org.glassfish.grizzly.http.server.Request jakarta.servlet.http.HttpUpgradeHandler java.lang.Throwable
StackMap stack: java.lang.Exception
8: pop
9: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.servlet.WebConnectionImpl.outputStream:Ljakarta/servlet/ServletOutputStream;
invokevirtual jakarta.servlet.ServletOutputStream.close:()V
10: goto 12
StackMap locals:
StackMap stack: java.lang.Exception
11: pop
12: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.glassfish.grizzly.http.server.Request.getResponse:()Lorg/glassfish/grizzly/http/server/Response;
invokevirtual org.glassfish.grizzly.http.server.Response.resume:()V
13: aload 3
athrow
14: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.servlet.WebConnectionImpl.inputStream:Ljakarta/servlet/ServletInputStream;
invokevirtual jakarta.servlet.ServletInputStream.close:()V
15: goto 17
StackMap locals:
StackMap stack: java.lang.Exception
16: pop
17: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.servlet.WebConnectionImpl.outputStream:Ljakarta/servlet/ServletOutputStream;
invokevirtual jakarta.servlet.ServletOutputStream.close:()V
18: goto 20
StackMap locals:
StackMap stack: java.lang.Exception
19: pop
20: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.glassfish.grizzly.http.server.Request.getResponse:()Lorg/glassfish/grizzly/http/server/Response;
invokevirtual org.glassfish.grizzly.http.server.Response.resume:()V
end local 2 end local 1 21: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/glassfish/grizzly/servlet/WebConnectionImpl;
2 21 1 grizzlyRequest Lorg/glassfish/grizzly/http/server/Request;
3 21 2 httpUpgradeHandler Ljakarta/servlet/http/HttpUpgradeHandler;
Exception table:
from to target type
3 5 5 any
6 7 8 Class java.lang.Exception
9 10 11 Class java.lang.Exception
14 15 16 Class java.lang.Exception
17 18 19 Class java.lang.Exception
Exceptions:
throws java.lang.Exception
}
SourceFile: "WebConnectionImpl.java"