public class org.glassfish.grizzly.http.server.util.RequestUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.http.server.util.RequestUtils
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
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/glassfish/grizzly/http/server/util/RequestUtils;
invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
putstatic org.glassfish.grizzly.http.server.util.RequestUtils.LOGGER:Ljava/util/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/util/RequestUtils;
public static java.lang.Object populateCertificateAttribute(org.glassfish.grizzly.http.server.Request);
descriptor: (Lorg/glassfish/grizzly/http/server/Request;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokevirtual org.glassfish.grizzly.http.server.Request.getRequest:()Lorg/glassfish/grizzly/http/HttpRequestPacket;
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.isSecure:()Z
ifeq 14
2: aload 0
invokevirtual org.glassfish.grizzly.http.server.Request.getRequest:()Lorg/glassfish/grizzly/http/HttpRequestPacket;
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.isUpgrade:()Z
ifne 7
3: aload 0
invokevirtual org.glassfish.grizzly.http.server.Request.getInputBuffer:()Lorg/glassfish/grizzly/http/io/InputBuffer;
aload 0
invokevirtual org.glassfish.grizzly.http.server.Request.getHttpFilter:()Lorg/glassfish/grizzly/http/server/HttpServerFilter;
invokevirtual org.glassfish.grizzly.http.server.HttpServerFilter.getConfiguration:()Lorg/glassfish/grizzly/http/server/ServerFilterConfiguration;
invokevirtual org.glassfish.grizzly.http.server.ServerFilterConfiguration.getMaxBufferedPostSize:()I
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.fillFully:(I)V
4: goto 7
StackMap locals: org.glassfish.grizzly.http.server.Request java.lang.Object
StackMap stack: java.io.IOException
5: astore 2
start local 2 6: new java.lang.IllegalStateException
dup
ldc "Can't complete SSL re-negotation"
aload 2
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 7: StackMap locals:
StackMap stack:
new org.glassfish.grizzly.ssl.SSLBaseFilter$CertificateEvent
dup
iconst_1
invokespecial org.glassfish.grizzly.ssl.SSLBaseFilter$CertificateEvent.<init>:(Z)V
aload 0
invokevirtual org.glassfish.grizzly.http.server.Request.getContext:()Lorg/glassfish/grizzly/filterchain/FilterChainContext;
invokevirtual org.glassfish.grizzly.ssl.SSLBaseFilter$CertificateEvent.trigger:(Lorg/glassfish/grizzly/filterchain/FilterChainContext;)Lorg/glassfish/grizzly/GrizzlyFuture;
astore 2
start local 2 8: aload 2
ldc 30
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface org.glassfish.grizzly.GrizzlyFuture.get:(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
astore 1
9: goto 13
StackMap locals: org.glassfish.grizzly.http.server.Request java.lang.Object org.glassfish.grizzly.GrizzlyFuture
StackMap stack: java.lang.Exception
10: astore 3
start local 3 11: getstatic org.glassfish.grizzly.http.server.util.RequestUtils.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 13
12: getstatic org.glassfish.grizzly.http.server.util.RequestUtils.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Unable to obtain certificates from peer."
aload 3
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 13: StackMap locals:
StackMap stack:
aload 0
ldc "jakarta.servlet.request.X509Certificate"
aload 1
invokevirtual org.glassfish.grizzly.http.server.Request.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
end local 2 14: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 request Lorg/glassfish/grizzly/http/server/Request;
1 15 1 certificates Ljava/lang/Object;
6 7 2 e Ljava/io/IOException;
8 14 2 certFuture Lorg/glassfish/grizzly/GrizzlyFuture<[Ljava/lang/Object;>;
11 13 3 e Ljava/lang/Exception;
Exception table:
from to target type
3 4 5 Class java.io.IOException
8 9 10 Class java.lang.Exception
MethodParameters:
Name Flags
request final
public static void populateSSLAttributes(org.glassfish.grizzly.http.server.Request);
descriptor: (Lorg/glassfish/grizzly/http/server/Request;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Request.isSecure:()Z
ifeq 18
1: new org.glassfish.grizzly.ssl.SSLSupportImpl
dup
aload 0
invokevirtual org.glassfish.grizzly.http.server.Request.getContext:()Lorg/glassfish/grizzly/filterchain/FilterChainContext;
invokevirtual org.glassfish.grizzly.filterchain.FilterChainContext.getConnection:()Lorg/glassfish/grizzly/Connection;
invokespecial org.glassfish.grizzly.ssl.SSLSupportImpl.<init>:(Lorg/glassfish/grizzly/Connection;)V
astore 1
start local 1 2: aload 1
invokeinterface org.glassfish.grizzly.ssl.SSLSupport.getCipherSuite:()Ljava/lang/String;
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 0
ldc "jakarta.servlet.request.cipher_suite"
aload 2
invokevirtual org.glassfish.grizzly.http.server.Request.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
5: StackMap locals: org.glassfish.grizzly.ssl.SSLSupport java.lang.Object
StackMap stack:
aload 1
iconst_0
invokeinterface org.glassfish.grizzly.ssl.SSLSupport.getPeerCertificateChain:(Z)[Ljava/lang/Object;
astore 2
6: aload 2
ifnull 8
7: aload 0
ldc "jakarta.servlet.request.X509Certificate"
aload 2
invokevirtual org.glassfish.grizzly.http.server.Request.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.glassfish.grizzly.ssl.SSLSupport.getKeySize:()Ljava/lang/Integer;
astore 2
9: aload 2
ifnull 11
10: aload 0
ldc "jakarta.servlet.request.key_size"
aload 2
invokevirtual org.glassfish.grizzly.http.server.Request.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
11: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.glassfish.grizzly.ssl.SSLSupport.getSessionId:()Ljava/lang/String;
astore 2
12: aload 2
ifnull 18
13: aload 0
ldc "jakarta.servlet.request.ssl_session_id"
aload 2
invokevirtual org.glassfish.grizzly.http.server.Request.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
end local 2 end local 1 14: goto 18
StackMap locals: org.glassfish.grizzly.http.server.Request
StackMap stack: java.lang.Exception
15: astore 1
start local 1 16: getstatic org.glassfish.grizzly.http.server.util.RequestUtils.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 18
17: getstatic org.glassfish.grizzly.http.server.util.RequestUtils.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Unable to populate SSL attributes"
aload 1
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 1 18: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 request Lorg/glassfish/grizzly/http/server/Request;
2 14 1 sslSupport Lorg/glassfish/grizzly/ssl/SSLSupport;
3 14 2 sslO Ljava/lang/Object;
16 18 1 ioe Ljava/lang/Exception;
Exception table:
from to target type
1 14 15 Class java.lang.Exception
MethodParameters:
Name Flags
request final
public static void handleSendFile(org.glassfish.grizzly.http.server.Request);
descriptor: (Lorg/glassfish/grizzly/http/server/Request;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=6, args_size=1
start local 0 0: aload 0
ldc "org.glassfish.grizzly.http.SEND_FILE"
invokevirtual org.glassfish.grizzly.http.server.Request.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
ifnull 15
2: aload 0
invokevirtual org.glassfish.grizzly.http.server.Request.getResponse:()Lorg/glassfish/grizzly/http/server/Response;
astore 2
start local 2 3: aload 2
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 7
4: getstatic org.glassfish.grizzly.http.server.util.RequestUtils.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 6
5: getstatic org.glassfish.grizzly.http.server.util.RequestUtils.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_HTTP_SERVER_REQUESTUTILS_SENDFILE_FAILED:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
6: StackMap locals: java.lang.Object org.glassfish.grizzly.http.server.Response
StackMap stack:
return
7: StackMap locals:
StackMap stack:
aload 1
checkcast java.io.File
astore 3
start local 3 8: aload 0
ldc "org.glassfish.grizzly.http.FILE_START_OFFSET"
invokevirtual org.glassfish.grizzly.http.server.Request.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.Long
astore 4
start local 4 9: aload 0
ldc "org.glassfish.grizzly.http.FILE_WRITE_LEN"
invokevirtual org.glassfish.grizzly.http.server.Request.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.Long
astore 5
start local 5 10: aload 4
ifnonnull 12
11: lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
astore 4
12: StackMap locals: java.io.File java.lang.Long java.lang.Long
StackMap stack:
aload 5
ifnonnull 14
13: aload 3
invokevirtual java.io.File.length:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
astore 5
14: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.glassfish.grizzly.http.server.Response.getOutputBuffer:()Lorg/glassfish/grizzly/http/io/OutputBuffer;
aload 3
aload 4
invokevirtual java.lang.Long.longValue:()J
aload 5
invokevirtual java.lang.Long.longValue:()J
aconst_null
invokevirtual org.glassfish.grizzly.http.io.OutputBuffer.sendfile:(Ljava/io/File;JJLorg/glassfish/grizzly/CompletionHandler;)V
end local 5 end local 4 end local 3 end local 2 15: StackMap locals: org.glassfish.grizzly.http.server.Request java.lang.Object
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 request Lorg/glassfish/grizzly/http/server/Request;
1 16 1 f Ljava/lang/Object;
3 15 2 response Lorg/glassfish/grizzly/http/server/Response;
8 15 3 file Ljava/io/File;
9 15 4 offset Ljava/lang/Long;
10 15 5 len Ljava/lang/Long;
MethodParameters:
Name Flags
request final
}
SourceFile: "RequestUtils.java"
InnerClasses:
public CertificateEvent = org.glassfish.grizzly.ssl.SSLBaseFilter$CertificateEvent of org.glassfish.grizzly.ssl.SSLBaseFilter