public class org.glassfish.grizzly.http.server.Response
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.http.server.Response
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
private boolean cacheEnabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private static final java.util.Locale DEFAULT_LOCALE;
descriptor: Ljava/util/Locale;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "EEE, dd MMM yyyy HH:mm:ss zzz"
protected java.text.SimpleDateFormat format;
descriptor: Ljava/text/SimpleDateFormat;
flags: (0x0004) ACC_PROTECTED
protected static final java.lang.String info;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: "org.glassfish.grizzly.http.server.Response/2.0"
protected org.glassfish.grizzly.http.server.Request request;
descriptor: Lorg/glassfish/grizzly/http/server/Request;
flags: (0x0004) ACC_PROTECTED
protected org.glassfish.grizzly.http.HttpResponsePacket response;
descriptor: Lorg/glassfish/grizzly/http/HttpResponsePacket;
flags: (0x0004) ACC_PROTECTED
protected org.glassfish.grizzly.filterchain.FilterChainContext ctx;
descriptor: Lorg/glassfish/grizzly/filterchain/FilterChainContext;
flags: (0x0004) ACC_PROTECTED
protected org.glassfish.grizzly.http.HttpContext httpContext;
descriptor: Lorg/glassfish/grizzly/http/HttpContext;
flags: (0x0004) ACC_PROTECTED
protected final org.glassfish.grizzly.http.server.io.ServerOutputBuffer outputBuffer;
descriptor: Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final org.glassfish.grizzly.http.server.NIOOutputStreamImpl outputStream;
descriptor: Lorg/glassfish/grizzly/http/server/NIOOutputStreamImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.glassfish.grizzly.http.server.NIOWriterImpl writer;
descriptor: Lorg/glassfish/grizzly/http/server/NIOWriterImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected boolean appCommitted;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean error;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean usingOutputStream;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean usingWriter;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected final org.glassfish.grizzly.http.util.UEncoder urlEncoder;
descriptor: Lorg/glassfish/grizzly/http/util/UEncoder;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.glassfish.grizzly.http.util.CharChunk redirectURLCC;
descriptor: Lorg/glassfish/grizzly/http/util/CharChunk;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected org.glassfish.grizzly.utils.DelayedExecutor$DelayQueue<org.glassfish.grizzly.http.server.Response$SuspendTimeout> delayQueue;
descriptor: Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue;
flags: (0x0004) ACC_PROTECTED
Signature: Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue<Lorg/glassfish/grizzly/http/server/Response$SuspendTimeout;>;
org.glassfish.grizzly.http.server.Response$SuspendState suspendState;
descriptor: Lorg/glassfish/grizzly/http/server/Response$SuspendState;
flags: (0x0000)
private final org.glassfish.grizzly.http.server.Response$SuspendedContextImpl suspendedContext;
descriptor: Lorg/glassfish/grizzly/http/server/Response$SuspendedContextImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.glassfish.grizzly.http.server.SuspendStatus suspendStatus;
descriptor: Lorg/glassfish/grizzly/http/server/SuspendStatus;
flags: (0x0002) ACC_PRIVATE
private boolean sendFileEnabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.glassfish.grizzly.http.server.ErrorPageGenerator errorPageGenerator;
descriptor: Lorg/glassfish/grizzly/http/server/ErrorPageGenerator;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/glassfish/grizzly/http/server/Response;
invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
putstatic org.glassfish.grizzly.http.server.Response.LOGGER:Ljava/util/logging/Logger;
1: invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
putstatic org.glassfish.grizzly.http.server.Response.DEFAULT_LOCALE:Ljava/util/Locale;
2: return
LocalVariableTable:
Start End Slot Name Signature
static org.glassfish.grizzly.utils.DelayedExecutor$DelayQueue<org.glassfish.grizzly.http.server.Response$SuspendTimeout> createDelayQueue(org.glassfish.grizzly.utils.DelayedExecutor);
descriptor: (Lorg/glassfish/grizzly/utils/DelayedExecutor;)Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new org.glassfish.grizzly.http.server.Response$DelayQueueWorker
dup
invokespecial org.glassfish.grizzly.http.server.Response$DelayQueueWorker.<init>:()V
new org.glassfish.grizzly.http.server.Response$DelayQueueResolver
dup
invokespecial org.glassfish.grizzly.http.server.Response$DelayQueueResolver.<init>:()V
invokevirtual org.glassfish.grizzly.utils.DelayedExecutor.createDelayQueue:(Lorg/glassfish/grizzly/utils/DelayedExecutor$Worker;Lorg/glassfish/grizzly/utils/DelayedExecutor$Resolver;)Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 delayedExecutor Lorg/glassfish/grizzly/utils/DelayedExecutor;
Signature: (Lorg/glassfish/grizzly/utils/DelayedExecutor;)Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue<Lorg/glassfish/grizzly/http/server/Response$SuspendTimeout;>;
MethodParameters:
Name Flags
delayedExecutor final
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.glassfish.grizzly.http.server.Response.cacheEnabled:Z
2: aload 0
aconst_null
putfield org.glassfish.grizzly.http.server.Response.format:Ljava/text/SimpleDateFormat;
3: aload 0
aconst_null
putfield org.glassfish.grizzly.http.server.Response.request:Lorg/glassfish/grizzly/http/server/Request;
4: aload 0
new org.glassfish.grizzly.http.server.io.ServerOutputBuffer
dup
invokespecial org.glassfish.grizzly.http.server.io.ServerOutputBuffer.<init>:()V
putfield org.glassfish.grizzly.http.server.Response.outputBuffer:Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
5: aload 0
new org.glassfish.grizzly.http.server.NIOOutputStreamImpl
dup
invokespecial org.glassfish.grizzly.http.server.NIOOutputStreamImpl.<init>:()V
putfield org.glassfish.grizzly.http.server.Response.outputStream:Lorg/glassfish/grizzly/http/server/NIOOutputStreamImpl;
6: aload 0
new org.glassfish.grizzly.http.server.NIOWriterImpl
dup
invokespecial org.glassfish.grizzly.http.server.NIOWriterImpl.<init>:()V
putfield org.glassfish.grizzly.http.server.Response.writer:Lorg/glassfish/grizzly/http/server/NIOWriterImpl;
7: aload 0
iconst_0
putfield org.glassfish.grizzly.http.server.Response.appCommitted:Z
8: aload 0
iconst_0
putfield org.glassfish.grizzly.http.server.Response.error:Z
9: aload 0
iconst_0
putfield org.glassfish.grizzly.http.server.Response.usingOutputStream:Z
10: aload 0
iconst_0
putfield org.glassfish.grizzly.http.server.Response.usingWriter:Z
11: aload 0
new org.glassfish.grizzly.http.util.UEncoder
dup
invokespecial org.glassfish.grizzly.http.util.UEncoder.<init>:()V
putfield org.glassfish.grizzly.http.server.Response.urlEncoder:Lorg/glassfish/grizzly/http/util/UEncoder;
12: aload 0
new org.glassfish.grizzly.http.util.CharChunk
dup
invokespecial org.glassfish.grizzly.http.util.CharChunk.<init>:()V
putfield org.glassfish.grizzly.http.server.Response.redirectURLCC:Lorg/glassfish/grizzly/http/util/CharChunk;
13: aload 0
getstatic org.glassfish.grizzly.http.server.Response$SuspendState.NONE:Lorg/glassfish/grizzly/http/server/Response$SuspendState;
putfield org.glassfish.grizzly.http.server.Response.suspendState:Lorg/glassfish/grizzly/http/server/Response$SuspendState;
14: aload 0
new org.glassfish.grizzly.http.server.Response$SuspendedContextImpl
dup
aload 0
invokespecial org.glassfish.grizzly.http.server.Response$SuspendedContextImpl.<init>:(Lorg/glassfish/grizzly/http/server/Response;)V
putfield org.glassfish.grizzly.http.server.Response.suspendedContext:Lorg/glassfish/grizzly/http/server/Response$SuspendedContextImpl;
15: aload 0
getfield org.glassfish.grizzly.http.server.Response.urlEncoder:Lorg/glassfish/grizzly/http/util/UEncoder;
bipush 47
invokevirtual org.glassfish.grizzly.http.util.UEncoder.addSafeCharacter:(C)V
16: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/glassfish/grizzly/http/server/Response;
public void initialize(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.http.HttpResponsePacket, org.glassfish.grizzly.filterchain.FilterChainContext, org.glassfish.grizzly.utils.DelayedExecutor$DelayQueue<org.glassfish.grizzly.http.server.Response$SuspendTimeout>, org.glassfish.grizzly.http.server.HttpServerFilter);
descriptor: (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
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
putfield org.glassfish.grizzly.http.server.Response.request:Lorg/glassfish/grizzly/http/server/Request;
1: aload 0
aload 2
putfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
2: aload 0
aload 5
ifnull 3
aload 5
invokevirtual org.glassfish.grizzly.http.server.HttpServerFilter.getConfiguration:()Lorg/glassfish/grizzly/http/server/ServerFilterConfiguration;
invokevirtual org.glassfish.grizzly.http.server.ServerFilterConfiguration.isSendFileEnabled:()Z
ifeq 3
iconst_1
goto 4
StackMap locals:
StackMap stack: org.glassfish.grizzly.http.server.Response
3: iconst_0
StackMap locals: org.glassfish.grizzly.http.server.Response org.glassfish.grizzly.http.server.Request org.glassfish.grizzly.http.HttpResponsePacket org.glassfish.grizzly.filterchain.FilterChainContext org.glassfish.grizzly.utils.DelayedExecutor$DelayQueue org.glassfish.grizzly.http.server.HttpServerFilter
StackMap stack: org.glassfish.grizzly.http.server.Response int
4: putfield org.glassfish.grizzly.http.server.Response.sendFileEnabled:Z
5: aload 0
getfield org.glassfish.grizzly.http.server.Response.outputBuffer:Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
aload 0
aload 3
invokevirtual org.glassfish.grizzly.http.server.io.ServerOutputBuffer.initialize:(Lorg/glassfish/grizzly/http/server/Response;Lorg/glassfish/grizzly/filterchain/FilterChainContext;)V
6: aload 0
aload 3
putfield org.glassfish.grizzly.http.server.Response.ctx:Lorg/glassfish/grizzly/filterchain/FilterChainContext;
7: aload 0
aload 3
invokestatic org.glassfish.grizzly.http.HttpContext.get:(Lorg/glassfish/grizzly/filterchain/FilterChainContext;)Lorg/glassfish/grizzly/http/HttpContext;
putfield org.glassfish.grizzly.http.server.Response.httpContext:Lorg/glassfish/grizzly/http/HttpContext;
8: aload 0
aload 4
putfield org.glassfish.grizzly.http.server.Response.delayQueue:Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue;
9: return
end local 5 end local 4 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/http/server/Response;
0 10 1 request Lorg/glassfish/grizzly/http/server/Request;
0 10 2 response Lorg/glassfish/grizzly/http/HttpResponsePacket;
0 10 3 ctx Lorg/glassfish/grizzly/filterchain/FilterChainContext;
0 10 4 delayQueue Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue<Lorg/glassfish/grizzly/http/server/Response$SuspendTimeout;>;
0 10 5 serverFilter Lorg/glassfish/grizzly/http/server/HttpServerFilter;
Signature: (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/Response$SuspendTimeout;>;Lorg/glassfish/grizzly/http/server/HttpServerFilter;)V
MethodParameters:
Name Flags
request final
response final
ctx final
delayQueue final
serverFilter final
org.glassfish.grizzly.http.server.SuspendStatus initSuspendStatus();
descriptor: ()Lorg/glassfish/grizzly/http/server/SuspendStatus;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.glassfish.grizzly.http.server.SuspendStatus.create:()Lorg/glassfish/grizzly/http/server/SuspendStatus;
putfield org.glassfish.grizzly.http.server.Response.suspendStatus:Lorg/glassfish/grizzly/http/server/SuspendStatus;
1: aload 0
getfield org.glassfish.grizzly.http.server.Response.suspendStatus:Lorg/glassfish/grizzly/http/server/SuspendStatus;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/Response;
public org.glassfish.grizzly.http.server.Request getRequest();
descriptor: ()Lorg/glassfish/grizzly/http/server/Request;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.Response.request:Lorg/glassfish/grizzly/http/server/Request;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/Response;
public org.glassfish.grizzly.http.HttpResponsePacket getResponse();
descriptor: ()Lorg/glassfish/grizzly/http/HttpResponsePacket;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/Response;
protected void recycle();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield org.glassfish.grizzly.http.server.Response.delayQueue:Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue;
1: aload 0
getfield org.glassfish.grizzly.http.server.Response.outputBuffer:Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
invokevirtual org.glassfish.grizzly.http.server.io.ServerOutputBuffer.recycle:()V
2: aload 0
getfield org.glassfish.grizzly.http.server.Response.outputStream:Lorg/glassfish/grizzly/http/server/NIOOutputStreamImpl;
invokevirtual org.glassfish.grizzly.http.server.NIOOutputStreamImpl.recycle:()V
3: aload 0
getfield org.glassfish.grizzly.http.server.Response.writer:Lorg/glassfish/grizzly/http/server/NIOWriterImpl;
invokevirtual org.glassfish.grizzly.http.server.NIOWriterImpl.recycle:()V
4: aload 0
iconst_0
putfield org.glassfish.grizzly.http.server.Response.usingOutputStream:Z
5: aload 0
iconst_0
putfield org.glassfish.grizzly.http.server.Response.usingWriter:Z
6: aload 0
iconst_0
putfield org.glassfish.grizzly.http.server.Response.appCommitted:Z
7: aload 0
iconst_0
putfield org.glassfish.grizzly.http.server.Response.error:Z
8: aload 0
aconst_null
putfield org.glassfish.grizzly.http.server.Response.errorPageGenerator:Lorg/glassfish/grizzly/http/server/ErrorPageGenerator;
9: aload 0
aconst_null
putfield org.glassfish.grizzly.http.server.Response.request:Lorg/glassfish/grizzly/http/server/Request;
10: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.recycle:()V
11: aload 0
iconst_0
putfield org.glassfish.grizzly.http.server.Response.sendFileEnabled:Z
12: aload 0
aconst_null
putfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
13: aload 0
aconst_null
putfield org.glassfish.grizzly.http.server.Response.ctx:Lorg/glassfish/grizzly/filterchain/FilterChainContext;
14: aload 0
getstatic org.glassfish.grizzly.http.server.Response$SuspendState.NONE:Lorg/glassfish/grizzly/http/server/Response$SuspendState;
putfield org.glassfish.grizzly.http.server.Response.suspendState:Lorg/glassfish/grizzly/http/server/Response$SuspendState;
15: aload 0
iconst_0
putfield org.glassfish.grizzly.http.server.Response.cacheEnabled:Z
16: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/glassfish/grizzly/http/server/Response;
public void setTrailers(java.util.function.Supplier<java.util.Map<java.lang.String, java.lang.String>>);
descriptor: (Ljava/util/function/Supplier;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Response has already been committed."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.request:Lorg/glassfish/grizzly/http/server/Request;
invokevirtual org.glassfish.grizzly.http.server.Request.getProtocol:()Lorg/glassfish/grizzly/http/Protocol;
astore 2
start local 2 3: aload 2
getstatic org.glassfish.grizzly.http.Protocol.HTTP_0_9:Lorg/glassfish/grizzly/http/Protocol;
invokevirtual org.glassfish.grizzly.http.Protocol.equals:(Ljava/lang/Object;)Z
ifne 4
aload 2
getstatic org.glassfish.grizzly.http.Protocol.HTTP_1_0:Lorg/glassfish/grizzly/http/Protocol;
invokevirtual org.glassfish.grizzly.http.Protocol.equals:(Ljava/lang/Object;)Z
ifeq 5
4: StackMap locals: org.glassfish.grizzly.http.Protocol
StackMap stack:
new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Trailers not supported by response protocol version "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 2
getstatic org.glassfish.grizzly.http.Protocol.HTTP_1_1:Lorg/glassfish/grizzly/http/Protocol;
invokevirtual org.glassfish.grizzly.http.Protocol.equals:(Ljava/lang/Object;)Z
ifeq 9
6: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.isChunkingAllowed:()Z
ifne 8
7: new java.lang.IllegalStateException
dup
ldc "Chunked transfer-encoding disabled."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
iconst_1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setChunked:(Z)V
9: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.outputBuffer:Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
aload 1
invokevirtual org.glassfish.grizzly.http.server.io.ServerOutputBuffer.setTrailers:(Ljava/util/function/Supplier;)V
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/glassfish/grizzly/http/server/Response;
0 11 1 trailerSupplier Ljava/util/function/Supplier<Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;>;
3 11 2 protocol Lorg/glassfish/grizzly/http/Protocol;
Signature: (Ljava/util/function/Supplier<Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;>;)V
MethodParameters:
Name Flags
trailerSupplier
public java.util.function.Supplier<java.util.Map<java.lang.String, java.lang.String>> getTrailers();
descriptor: ()Ljava/util/function/Supplier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.Response.outputBuffer:Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
invokevirtual org.glassfish.grizzly.http.server.io.ServerOutputBuffer.getTrailers:()Ljava/util/function/Supplier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/Response;
Signature: ()Ljava/util/function/Supplier<Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;>;
public java.lang.String encodeURL(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual org.glassfish.grizzly.http.server.Response.toAbsolute:(Ljava/lang/String;Z)Ljava/lang/String;
astore 2
start local 2 1: aload 0
aload 2
invokevirtual org.glassfish.grizzly.http.server.Response.isEncodeable:(Ljava/lang/String;)Z
ifeq 5
2: aload 1
ldc ""
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: aload 2
astore 1
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 1
aload 0
getfield org.glassfish.grizzly.http.server.Response.request:Lorg/glassfish/grizzly/http/server/Request;
invokevirtual org.glassfish.grizzly.http.server.Request.getSession:()Lorg/glassfish/grizzly/http/server/Session;
invokevirtual org.glassfish.grizzly.http.server.Session.getIdInternal:()Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.server.Response.toEncoded:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/http/server/Response;
0 6 1 url Ljava/lang/String;
1 6 2 absolute Ljava/lang/String;
MethodParameters:
Name Flags
url
public java.lang.String encodeRedirectURL(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
iconst_0
invokevirtual org.glassfish.grizzly.http.server.Response.toAbsolute:(Ljava/lang/String;Z)Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.server.Response.isEncodeable:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
aload 1
aload 0
getfield org.glassfish.grizzly.http.server.Response.request:Lorg/glassfish/grizzly/http/server/Request;
invokevirtual org.glassfish.grizzly.http.server.Request.getSession:()Lorg/glassfish/grizzly/http/server/Session;
invokevirtual org.glassfish.grizzly.http.server.Session.getIdInternal:()Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.server.Response.toEncoded:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/server/Response;
0 3 1 url Ljava/lang/String;
MethodParameters:
Name Flags
url
protected boolean isEncodeable(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "#"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.request:Lorg/glassfish/grizzly/http/server/Request;
iconst_0
invokevirtual org.glassfish.grizzly.http.server.Request.getSession:(Z)Lorg/glassfish/grizzly/http/server/Session;
astore 2
start local 2 5: aload 2
ifnull 6
aload 0
getfield org.glassfish.grizzly.http.server.Response.request:Lorg/glassfish/grizzly/http/server/Request;
invokevirtual org.glassfish.grizzly.http.server.Request.isRequestedSessionIdFromCookie:()Z
ifne 6
aload 0
getfield org.glassfish.grizzly.http.server.Response.request:Lorg/glassfish/grizzly/http/server/Request;
aload 2
aload 1
invokestatic org.glassfish.grizzly.http.server.Response.doIsEncodeable:(Lorg/glassfish/grizzly/http/server/Request;Lorg/glassfish/grizzly/http/server/Session;Ljava/lang/String;)Z
ifeq 6
iconst_1
ireturn
StackMap locals: org.glassfish.grizzly.http.server.Session
StackMap stack:
6: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/server/Response;
0 7 1 location Ljava/lang/String;
5 7 2 session Lorg/glassfish/grizzly/http/server/Session;
MethodParameters:
Name Flags
location final
private static boolean doIsEncodeable(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.http.server.Session, java.lang.String);
descriptor: (Lorg/glassfish/grizzly/http/server/Request;Lorg/glassfish/grizzly/http/server/Session;Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: new java.net.URL
dup
aload 2
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 3
start local 3 1: goto 4
end local 3 StackMap locals:
StackMap stack: java.net.MalformedURLException
2: pop
3: iconst_0
ireturn
start local 3 4: StackMap locals: java.net.URL
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.server.Request.getScheme:()Ljava/lang/String;
aload 3
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.server.Request.getServerName:()Ljava/lang/String;
aload 3
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.server.Request.getServerPort:()I
istore 4
start local 4 9: iload 4
iconst_m1
if_icmpne 14
10: ldc "https"
aload 0
invokevirtual org.glassfish.grizzly.http.server.Request.getScheme:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
11: sipush 443
istore 4
12: goto 14
13: StackMap locals: int
StackMap stack:
bipush 80
istore 4
14: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.net.URL.getPort:()I
istore 5
start local 5 15: iload 5
iconst_m1
if_icmpne 20
16: ldc "https"
aload 3
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
17: sipush 443
istore 5
18: goto 20
19: StackMap locals: int
StackMap stack:
bipush 80
istore 5
20: StackMap locals:
StackMap stack:
iload 4
iload 5
if_icmpeq 22
21: iconst_0
ireturn
22: StackMap locals:
StackMap stack:
ldc "/"
astore 6
start local 6 23: aload 3
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
astore 7
start local 7 24: aload 7
ifnull 25
aload 7
aload 6
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 26
25: StackMap locals: java.lang.String java.lang.String
StackMap stack:
iconst_0
ireturn
26: StackMap locals:
StackMap stack:
aload 7
new java.lang.StringBuilder
dup
ldc ";jsessionid="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual org.glassfish.grizzly.http.server.Session.getIdInternal:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 28
27: iconst_0
ireturn
28: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 request Lorg/glassfish/grizzly/http/server/Request;
0 29 1 session Lorg/glassfish/grizzly/http/server/Session;
0 29 2 location Ljava/lang/String;
1 2 3 url Ljava/net/URL;
4 29 3 url Ljava/net/URL;
9 29 4 serverPort I
15 29 5 urlPort I
23 29 6 contextPath Ljava/lang/String;
24 29 7 file Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.net.MalformedURLException
MethodParameters:
Name Flags
request
session
location
public java.lang.String getInfo();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "org.glassfish.grizzly.http.server.Response/2.0"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/Response;
public void setError();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.glassfish.grizzly.http.server.Response.error:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/Response;
public boolean isError();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.Response.error:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/Response;
public org.glassfish.grizzly.http.server.ErrorPageGenerator getErrorPageGenerator();
descriptor: ()Lorg/glassfish/grizzly/http/server/ErrorPageGenerator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.Response.errorPageGenerator:Lorg/glassfish/grizzly/http/server/ErrorPageGenerator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/Response;
public void setErrorPageGenerator(org.glassfish.grizzly.http.server.ErrorPageGenerator);
descriptor: (Lorg/glassfish/grizzly/http/server/ErrorPageGenerator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.glassfish.grizzly.http.server.Response.errorPageGenerator:Lorg/glassfish/grizzly/http/server/ErrorPageGenerator;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/Response;
0 2 1 errorPageGenerator Lorg/glassfish/grizzly/http/server/ErrorPageGenerator;
MethodParameters:
Name Flags
errorPageGenerator
public void setDetailMessage(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aload 1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setReasonPhrase:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/server/Response;
0 3 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
public java.lang.String getDetailMessage();
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.http.server.Response.checkResponse:()V
1: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getReasonPhrase:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/Response;
public void finish();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.Response.outputBuffer:Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
invokevirtual org.glassfish.grizzly.http.server.io.ServerOutputBuffer.endRequest:()V
1: goto 9
StackMap locals:
StackMap stack: java.io.IOException
2: astore 1
start local 1 3: getstatic org.glassfish.grizzly.http.server.Response.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 9
4: getstatic org.glassfish.grizzly.http.server.Response.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_HTTP_SERVER_RESPONSE_FINISH_ERROR:()Ljava/lang/String;
aload 1
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 1 5: goto 9
6: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
start local 1 7: getstatic org.glassfish.grizzly.http.server.Response.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 9
8: getstatic org.glassfish.grizzly.http.server.Response.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_RESPONSE_FINISH_ERROR:()Ljava/lang/String;
aload 1
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 1 9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/glassfish/grizzly/http/server/Response;
3 5 1 e Ljava/io/IOException;
7 9 1 t Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.io.IOException
0 1 6 Class java.lang.Throwable
public int getContentLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getContentLength:()J
l2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/Response;
public long getContentLengthLong();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getContentLength:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/Response;
public java.lang.String getContentType();
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.http.server.Response.checkResponse:()V
1: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getContentType:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/Response;
public int getBufferSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.Response.outputBuffer:Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
invokevirtual org.glassfish.grizzly.http.server.io.ServerOutputBuffer.getBufferSize:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/Response;
public java.lang.String getCharacterEncoding();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getCharacterEncoding:()Ljava/lang/String;
astore 1
start local 1 2: aload 1
ifnonnull 4
3: getstatic org.glassfish.grizzly.http.util.Constants.DEFAULT_HTTP_CHARACTER_ENCODING:Ljava/lang/String;
areturn
4: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/server/Response;
2 5 1 characterEncoding Ljava/lang/String;
public void setCharacterEncoding(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.usingWriter:Z
ifeq 5
4: return
5: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aload 1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setCharacterEncoding:(Ljava/lang/String;)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/server/Response;
0 7 1 charset Ljava/lang/String;
MethodParameters:
Name Flags
charset
public org.glassfish.grizzly.http.io.NIOOutputStream createOutputStream();
descriptor: ()Lorg/glassfish/grizzly/http/io/NIOOutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.Response.outputStream:Lorg/glassfish/grizzly/http/server/NIOOutputStreamImpl;
aload 0
getfield org.glassfish.grizzly.http.server.Response.outputBuffer:Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
invokevirtual org.glassfish.grizzly.http.server.NIOOutputStreamImpl.setOutputBuffer:(Lorg/glassfish/grizzly/http/io/OutputBuffer;)V
1: aload 0
getfield org.glassfish.grizzly.http.server.Response.outputStream:Lorg/glassfish/grizzly/http/server/NIOOutputStreamImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/Response;
public org.glassfish.grizzly.http.io.NIOOutputStream getNIOOutputStream();
descriptor: ()Lorg/glassfish/grizzly/http/io/NIOOutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.Response.usingWriter:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Illegal attempt to call getOutputStream() after getWriter() 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.http.server.Response.usingOutputStream:Z
3: aload 0
getfield org.glassfish.grizzly.http.server.Response.outputStream:Lorg/glassfish/grizzly/http/server/NIOOutputStreamImpl;
aload 0
getfield org.glassfish.grizzly.http.server.Response.outputBuffer:Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
invokevirtual org.glassfish.grizzly.http.server.NIOOutputStreamImpl.setOutputBuffer:(Lorg/glassfish/grizzly/http/io/OutputBuffer;)V
4: aload 0
getfield org.glassfish.grizzly.http.server.Response.outputStream:Lorg/glassfish/grizzly/http/server/NIOOutputStreamImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/server/Response;
public java.io.OutputStream getOutputStream();
descriptor: ()Ljava/io/OutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.getNIOOutputStream:()Lorg/glassfish/grizzly/http/io/NIOOutputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/Response;
public java.util.Locale getLocale();
descriptor: ()Ljava/util/Locale;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getLocale:()Ljava/util/Locale;
astore 1
start local 1 2: aload 1
ifnonnull 5
3: getstatic org.glassfish.grizzly.http.server.Response.DEFAULT_LOCALE:Ljava/util/Locale;
astore 1
4: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aload 1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setLocale:(Ljava/util/Locale;)V
5: StackMap locals: java.util.Locale
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/http/server/Response;
2 6 1 locale Ljava/util/Locale;
public java.io.Writer getWriter();
descriptor: ()Ljava/io/Writer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.getNIOWriter:()Lorg/glassfish/grizzly/http/io/NIOWriter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/Response;
public org.glassfish.grizzly.http.io.NIOWriter getNIOWriter();
descriptor: ()Lorg/glassfish/grizzly/http/io/NIOWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.Response.usingOutputStream:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Illegal attempt to call getWriter() after getOutputStream() has already been called."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.getCharacterEncoding:()Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.server.Response.setCharacterEncoding:(Ljava/lang/String;)V
3: aload 0
iconst_1
putfield org.glassfish.grizzly.http.server.Response.usingWriter:Z
4: aload 0
getfield org.glassfish.grizzly.http.server.Response.outputBuffer:Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
invokevirtual org.glassfish.grizzly.http.server.io.ServerOutputBuffer.prepareCharacterEncoder:()V
5: aload 0
getfield org.glassfish.grizzly.http.server.Response.writer:Lorg/glassfish/grizzly/http/server/NIOWriterImpl;
aload 0
getfield org.glassfish.grizzly.http.server.Response.outputBuffer:Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
invokevirtual org.glassfish.grizzly.http.server.NIOWriterImpl.setOutputBuffer:(Lorg/glassfish/grizzly/http/io/OutputBuffer;)V
6: aload 0
getfield org.glassfish.grizzly.http.server.Response.writer:Lorg/glassfish/grizzly/http/server/NIOWriterImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/server/Response;
public boolean isCommitted();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.isCommitted:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/Response;
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.Response.outputBuffer:Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
invokevirtual org.glassfish.grizzly.http.server.io.ServerOutputBuffer.flush:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/Response;
Exceptions:
throws java.io.IOException
public org.glassfish.grizzly.http.io.OutputBuffer getOutputBuffer();
descriptor: ()Lorg/glassfish/grizzly/http/io/OutputBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.Response.outputBuffer:Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/Response;
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 3
2: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getHeaders:()Lorg/glassfish/grizzly/http/util/MimeHeaders;
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.clear:()V
4: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aconst_null
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setContentLanguage:(Ljava/lang/String;)V
5: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getContentLength:()J
lconst_0
lcmp
ifle 7
6: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
ldc -1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setContentLengthLong:(J)V
7: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aconst_null
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setCharacterEncoding:(Ljava/lang/String;)V
8: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aconst_null
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setStatus:(Lorg/glassfish/grizzly/http/util/HttpStatus;)V
9: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aconst_null
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setContentType:(Ljava/lang/String;)V
10: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aconst_null
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setLocale:(Ljava/util/Locale;)V
11: aload 0
getfield org.glassfish.grizzly.http.server.Response.outputBuffer:Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
invokevirtual org.glassfish.grizzly.http.server.io.ServerOutputBuffer.reset:()V
12: aload 0
iconst_0
putfield org.glassfish.grizzly.http.server.Response.usingWriter:Z
13: aload 0
iconst_0
putfield org.glassfish.grizzly.http.server.Response.usingOutputStream:Z
14: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/glassfish/grizzly/http/server/Response;
public void resetBuffer();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.glassfish.grizzly.http.server.Response.resetBuffer:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/Response;
public void resetBuffer(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Cannot reset buffer after response has been committed."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.outputBuffer:Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
invokevirtual org.glassfish.grizzly.http.server.io.ServerOutputBuffer.reset:()V
3: iload 1
ifeq 6
4: aload 0
iconst_0
putfield org.glassfish.grizzly.http.server.Response.usingOutputStream:Z
5: aload 0
iconst_0
putfield org.glassfish.grizzly.http.server.Response.usingWriter:Z
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/server/Response;
0 7 1 resetWriterStreamFlags Z
MethodParameters:
Name Flags
resetWriterStreamFlags final
public void setBufferSize(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Unable to change buffer size as the response has been committed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.outputBuffer:Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
iload 1
invokevirtual org.glassfish.grizzly.http.server.io.ServerOutputBuffer.setBufferSize:(I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http/server/Response;
0 4 1 size I
MethodParameters:
Name Flags
size final
public void setContentLengthLong(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
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.usingWriter:Z
ifeq 5
4: return
5: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
lload 1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setContentLengthLong:(J)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/server/Response;
0 7 1 length J
MethodParameters:
Name Flags
length final
public void setContentLength(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
i2l
invokevirtual org.glassfish.grizzly.http.server.Response.setContentLengthLong:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/Response;
0 2 1 length I
MethodParameters:
Name Flags
length final
public void setContentType(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.usingWriter:Z
ifeq 8
4: aload 1
ifnull 8
5: aload 1
ldc ";"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 2
start local 2 6: iload 2
iconst_m1
if_icmpeq 8
7: aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
end local 2 8: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aload 1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setContentType:(Ljava/lang/String;)V
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/glassfish/grizzly/http/server/Response;
0 10 1 type Ljava/lang/String;
6 8 2 index I
MethodParameters:
Name Flags
type
public void setContentType(org.glassfish.grizzly.http.util.ContentType);
descriptor: (Lorg/glassfish/grizzly/http/util/ContentType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 3
2: return
3: StackMap locals:
StackMap stack:
aload 1
ifnonnull 6
4: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aconst_null
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setContentType:(Ljava/lang/String;)V
5: return
6: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.usingWriter:Z
ifne 9
7: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aload 1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setContentType:(Lorg/glassfish/grizzly/http/util/ContentType;)V
8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aload 1
invokevirtual org.glassfish.grizzly.http.util.ContentType.getMimeType:()Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setContentType:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/glassfish/grizzly/http/server/Response;
0 11 1 type Lorg/glassfish/grizzly/http/util/ContentType;
MethodParameters:
Name Flags
type final
public void setLocale(java.util.Locale);
descriptor: (Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aload 1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setLocale:(Ljava/util/Locale;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/server/Response;
0 5 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale final
public org.glassfish.grizzly.http.Cookie[] getCookies();
descriptor: ()[Lorg/glassfish/grizzly/http/Cookie;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new org.glassfish.grizzly.http.Cookies
dup
invokespecial org.glassfish.grizzly.http.Cookies.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getHeaders:()Lorg/glassfish/grizzly/http/util/MimeHeaders;
iconst_0
invokevirtual org.glassfish.grizzly.http.Cookies.setHeaders:(Lorg/glassfish/grizzly/http/util/MimeHeaders;Z)V
2: aload 1
invokevirtual org.glassfish.grizzly.http.Cookies.get:()[Lorg/glassfish/grizzly/http/Cookie;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/server/Response;
1 3 1 cookies Lorg/glassfish/grizzly/http/Cookies;
public java.lang.String (java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aload 1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getHeader:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/Response;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.lang.String[] ();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getHeaders:()Lorg/glassfish/grizzly/http/util/MimeHeaders;
astore 1
start local 1 2: aload 1
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.size:()I
istore 2
start local 2 3: iload 2
anewarray java.lang.String
astore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 8
6: StackMap locals: org.glassfish.grizzly.http.server.Response org.glassfish.grizzly.http.util.MimeHeaders int java.lang.String[] int
StackMap stack:
aload 3
iload 4
aload 1
iload 4
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.getName:(I)Lorg/glassfish/grizzly/http/util/DataChunk;
invokevirtual org.glassfish.grizzly.http.util.DataChunk.toString:()Ljava/lang/String;
aastore
7: iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 2
if_icmplt 6
end local 4 9: aload 3
areturn
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/http/server/Response;
2 10 1 headers Lorg/glassfish/grizzly/http/util/MimeHeaders;
3 10 2 n I
4 10 3 result [Ljava/lang/String;
5 9 4 i I
public java.lang.String[] (java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 2
start local 2 2: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getHeaders:()Lorg/glassfish/grizzly/http/util/MimeHeaders;
aload 1
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.values:(Ljava/lang/String;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: org.glassfish.grizzly.http.server.Response java.lang.String java.util.Collection top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 4: aload 2
aload 3
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 2
aload 2
invokeinterface java.util.Collection.size:()I
anewarray java.lang.String
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/server/Response;
0 7 1 name Ljava/lang/String;
2 7 2 result Ljava/util/Collection<Ljava/lang/String;>;
4 5 3 headerValue Ljava/lang/String;
MethodParameters:
Name Flags
name final
public java.lang.String getMessage();
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.http.server.Response.checkResponse:()V
1: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getReasonPhrase:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/Response;
public int getStatus();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getStatus:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/Response;
public void reset(int, java.lang.String);
descriptor: (ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.reset:()V
1: aload 0
iload 1
aload 2
invokevirtual org.glassfish.grizzly.http.server.Response.setStatus:(ILjava/lang/String;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/server/Response;
0 3 1 status I
0 3 2 message Ljava/lang/String;
MethodParameters:
Name Flags
status final
message final
public void addCookie(org.glassfish.grizzly.http.Cookie);
descriptor: (Lorg/glassfish/grizzly/http/Cookie;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 3: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnull 6
4: new org.glassfish.grizzly.http.server.Response$1
dup
aload 0
aload 2
aload 1
invokespecial org.glassfish.grizzly.http.server.Response$1.<init>:(Lorg/glassfish/grizzly/http/server/Response;Ljava/lang/StringBuilder;Lorg/glassfish/grizzly/http/Cookie;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
5: goto 7
6: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 2
aload 1
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.serializeServerCookie:(Ljava/lang/StringBuilder;Lorg/glassfish/grizzly/http/Cookie;)V
7: StackMap locals:
StackMap stack:
aload 0
getstatic org.glassfish.grizzly.http.util.Header.SetCookie:Lorg/glassfish/grizzly/http/util/Header;
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.server.Response.addHeader:(Lorg/glassfish/grizzly/http/util/Header;Ljava/lang/String;)V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/glassfish/grizzly/http/server/Response;
0 9 1 cookie Lorg/glassfish/grizzly/http/Cookie;
3 9 2 sb Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
cookie final
protected void addSessionCookieInternal(org.glassfish.grizzly.http.Cookie);
descriptor: (Lorg/glassfish/grizzly/http/Cookie;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=11, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.glassfish.grizzly.http.Cookie.getName:()Ljava/lang/String;
astore 2
start local 2 3: getstatic org.glassfish.grizzly.http.util.Header.SetCookie:Lorg/glassfish/grizzly/http/util/Header;
invokevirtual org.glassfish.grizzly.http.util.Header.toString:()Ljava/lang/String;
astore 3
start local 3 4: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 5: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 5
start local 5 6: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnull 9
7: new org.glassfish.grizzly.http.server.Response$2
dup
aload 0
aload 5
aload 1
invokespecial org.glassfish.grizzly.http.server.Response$2.<init>:(Lorg/glassfish/grizzly/http/server/Response;Ljava/lang/StringBuilder;Lorg/glassfish/grizzly/http/Cookie;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
8: goto 10
9: StackMap locals: org.glassfish.grizzly.http.server.Response org.glassfish.grizzly.http.Cookie java.lang.String java.lang.String java.lang.String java.lang.StringBuilder
StackMap stack:
aload 5
aload 1
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.serializeServerCookie:(Ljava/lang/StringBuilder;Lorg/glassfish/grizzly/http/Cookie;)V
10: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
start local 6 11: iconst_0
istore 7
start local 7 12: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getHeaders:()Lorg/glassfish/grizzly/http/util/MimeHeaders;
astore 8
start local 8 13: aload 8
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.size:()I
istore 9
start local 9 14: iconst_0
istore 10
start local 10 15: goto 21
16: StackMap locals: org.glassfish.grizzly.http.server.Response org.glassfish.grizzly.http.Cookie java.lang.String java.lang.String java.lang.String java.lang.StringBuilder java.lang.String int org.glassfish.grizzly.http.util.MimeHeaders int int
StackMap stack:
aload 8
iload 10
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.getName:(I)Lorg/glassfish/grizzly/http/util/DataChunk;
invokevirtual org.glassfish.grizzly.http.util.DataChunk.toString:()Ljava/lang/String;
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
17: aload 8
iload 10
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.getValue:(I)Lorg/glassfish/grizzly/http/util/DataChunk;
invokevirtual org.glassfish.grizzly.http.util.DataChunk.toString:()Ljava/lang/String;
aload 4
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 20
18: aload 8
iload 10
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.getValue:(I)Lorg/glassfish/grizzly/http/util/DataChunk;
aload 6
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setString:(Ljava/lang/String;)V
19: iconst_1
istore 7
20: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
21: iload 10
iload 9
if_icmplt 16
end local 10 22: iload 7
ifne 24
23: aload 0
aload 3
aload 6
invokevirtual org.glassfish.grizzly.http.server.Response.addHeader:(Ljava/lang/String;Ljava/lang/String;)V
24: StackMap locals:
StackMap stack:
return
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/glassfish/grizzly/http/server/Response;
0 25 1 cookie Lorg/glassfish/grizzly/http/Cookie;
3 25 2 name Ljava/lang/String;
4 25 3 headername Ljava/lang/String;
5 25 4 startsWith Ljava/lang/String;
6 25 5 sb Ljava/lang/StringBuilder;
11 25 6 cookieString Ljava/lang/String;
12 25 7 set Z
13 25 8 headers Lorg/glassfish/grizzly/http/util/MimeHeaders;
14 25 9 n I
15 22 10 i I
MethodParameters:
Name Flags
cookie final
protected void removeSessionCookies();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.Response.request:Lorg/glassfish/grizzly/http/server/Request;
invokevirtual org.glassfish.grizzly.http.server.Request.getSessionCookieName:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 2
new java.lang.StringBuilder
dup
bipush 94
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "(?:SSO)?=.*"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 3
StackMap locals: java.lang.String
StackMap stack:
2: ldc "^JSESSIONID(?:SSO)?=.*"
StackMap locals:
StackMap stack: java.lang.String
3: astore 2
start local 2 4: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getHeaders:()Lorg/glassfish/grizzly/http/util/MimeHeaders;
getstatic org.glassfish.grizzly.http.util.Header.SetCookie:Lorg/glassfish/grizzly/http/util/Header;
aload 2
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.removeHeaderMatches:(Lorg/glassfish/grizzly/http/util/Header;Ljava/lang/String;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/http/server/Response;
1 6 1 sessionCookieName Ljava/lang/String;
4 6 2 pattern Ljava/lang/String;
public void (java.lang.String, long);
descriptor: (Ljava/lang/String;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.format:Ljava/text/SimpleDateFormat;
ifnonnull 5
3: aload 0
new java.text.SimpleDateFormat
dup
ldc "EEE, dd MMM yyyy HH:mm:ss zzz"
getstatic java.util.Locale.US:Ljava/util/Locale;
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
putfield org.glassfish.grizzly.http.server.Response.format:Ljava/text/SimpleDateFormat;
4: aload 0
getfield org.glassfish.grizzly.http.server.Response.format:Ljava/text/SimpleDateFormat;
ldc "GMT"
invokestatic java.util.TimeZone.getTimeZone:(Ljava/lang/String;)Ljava/util/TimeZone;
invokevirtual java.text.SimpleDateFormat.setTimeZone:(Ljava/util/TimeZone;)V
5: StackMap locals:
StackMap stack:
aload 0
aload 1
lload 2
aload 0
getfield org.glassfish.grizzly.http.server.Response.format:Ljava/text/SimpleDateFormat;
invokestatic org.glassfish.grizzly.http.util.FastHttpDateFormat.formatDate:(JLjava/text/DateFormat;)Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.server.Response.addHeader:(Ljava/lang/String;Ljava/lang/String;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/server/Response;
0 7 1 name Ljava/lang/String;
0 7 2 value J
MethodParameters:
Name Flags
name final
value final
public void (org.glassfish.grizzly.http.util.Header, long);
descriptor: (Lorg/glassfish/grizzly/http/util/Header;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.format:Ljava/text/SimpleDateFormat;
ifnonnull 5
3: aload 0
new java.text.SimpleDateFormat
dup
ldc "EEE, dd MMM yyyy HH:mm:ss zzz"
getstatic java.util.Locale.US:Ljava/util/Locale;
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
putfield org.glassfish.grizzly.http.server.Response.format:Ljava/text/SimpleDateFormat;
4: aload 0
getfield org.glassfish.grizzly.http.server.Response.format:Ljava/text/SimpleDateFormat;
ldc "GMT"
invokestatic java.util.TimeZone.getTimeZone:(Ljava/lang/String;)Ljava/util/TimeZone;
invokevirtual java.text.SimpleDateFormat.setTimeZone:(Ljava/util/TimeZone;)V
5: StackMap locals:
StackMap stack:
aload 0
aload 1
lload 2
aload 0
getfield org.glassfish.grizzly.http.server.Response.format:Ljava/text/SimpleDateFormat;
invokestatic org.glassfish.grizzly.http.util.FastHttpDateFormat.formatDate:(JLjava/text/DateFormat;)Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.server.Response.addHeader:(Lorg/glassfish/grizzly/http/util/Header;Ljava/lang/String;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/server/Response;
0 7 1 header Lorg/glassfish/grizzly/http/util/Header;
0 7 2 value J
MethodParameters:
Name Flags
header final
value final
public void (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aload 1
aload 2
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.addHeader:(Ljava/lang/String;Ljava/lang/String;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/server/Response;
0 5 1 name Ljava/lang/String;
0 5 2 value Ljava/lang/String;
MethodParameters:
Name Flags
name final
value final
public void (java.lang.String, org.glassfish.grizzly.http.util.HeaderValue);
descriptor: (Ljava/lang/String;Lorg/glassfish/grizzly/http/util/HeaderValue;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aload 1
aload 2
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.addHeader:(Ljava/lang/String;Lorg/glassfish/grizzly/http/util/HeaderValue;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/server/Response;
0 5 1 name Ljava/lang/String;
0 5 2 value Lorg/glassfish/grizzly/http/util/HeaderValue;
MethodParameters:
Name Flags
name final
value final
public void (org.glassfish.grizzly.http.util.Header, java.lang.String);
descriptor: (Lorg/glassfish/grizzly/http/util/Header;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aload 1
aload 2
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.addHeader:(Lorg/glassfish/grizzly/http/util/Header;Ljava/lang/String;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/server/Response;
0 5 1 header Lorg/glassfish/grizzly/http/util/Header;
0 5 2 value Ljava/lang/String;
MethodParameters:
Name Flags
header final
value final
public void (org.glassfish.grizzly.http.util.Header, org.glassfish.grizzly.http.util.HeaderValue);
descriptor: (Lorg/glassfish/grizzly/http/util/Header;Lorg/glassfish/grizzly/http/util/HeaderValue;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aload 1
aload 2
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.addHeader:(Lorg/glassfish/grizzly/http/util/Header;Lorg/glassfish/grizzly/http/util/HeaderValue;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/server/Response;
0 5 1 header Lorg/glassfish/grizzly/http/util/Header;
0 5 2 value Lorg/glassfish/grizzly/http/util/HeaderValue;
MethodParameters:
Name Flags
header final
value final
public void (java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 1
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.server.Response.addHeader:(Ljava/lang/String;Ljava/lang/String;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http/server/Response;
0 4 1 name Ljava/lang/String;
0 4 2 value I
MethodParameters:
Name Flags
name final
value final
public void (org.glassfish.grizzly.http.util.Header, int);
descriptor: (Lorg/glassfish/grizzly/http/util/Header;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.server.Response.addHeader:(Lorg/glassfish/grizzly/http/util/Header;Ljava/lang/String;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http/server/Response;
0 4 1 header Lorg/glassfish/grizzly/http/util/Header;
0 4 2 value I
MethodParameters:
Name Flags
header final
value final
public boolean (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
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aload 1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.containsHeader:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/Response;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
public boolean (org.glassfish.grizzly.http.util.Header);
descriptor: (Lorg/glassfish/grizzly/http/util/Header;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aload 1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.containsHeader:(Lorg/glassfish/grizzly/http/util/Header;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/Response;
0 2 1 header Lorg/glassfish/grizzly/http/util/Header;
MethodParameters:
Name Flags
header final
public void sendAcknowledgement();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifne 1
aload 0
getfield org.glassfish.grizzly.http.server.Response.request:Lorg/glassfish/grizzly/http/server/Request;
invokevirtual org.glassfish.grizzly.http.server.Request.requiresAcknowledgement:()Z
ifne 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
iconst_1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setAcknowledgement:(Z)V
3: aload 0
getfield org.glassfish.grizzly.http.server.Response.outputBuffer:Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
invokevirtual org.glassfish.grizzly.http.server.io.ServerOutputBuffer.acknowledge:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/server/Response;
Exceptions:
throws java.io.IOException
public void sendError(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
aconst_null
invokevirtual org.glassfish.grizzly.http.server.Response.sendError:(ILjava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/Response;
0 2 1 status I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
status
public void sendError(int, java.lang.String);
descriptor: (ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 3
2: new java.lang.IllegalStateException
dup
ldc "Illegal attempt to call sendError() after the response has been committed."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.setError:()V
4: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getHeaders:()Lorg/glassfish/grizzly/http/util/MimeHeaders;
getstatic org.glassfish.grizzly.http.util.Header.TransferEncoding:Lorg/glassfish/grizzly/http/util/Header;
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.removeHeader:(Lorg/glassfish/grizzly/http/util/Header;)V
5: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aconst_null
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setContentLanguage:(Ljava/lang/String;)V
6: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
ldc -1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setContentLengthLong:(J)V
7: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
iconst_0
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setChunked:(Z)V
8: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aconst_null
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setCharacterEncoding:(Ljava/lang/String;)V
9: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aconst_null
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setContentType:(Ljava/lang/String;)V
10: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aconst_null
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setLocale:(Ljava/util/Locale;)V
11: aload 0
getfield org.glassfish.grizzly.http.server.Response.outputBuffer:Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
invokevirtual org.glassfish.grizzly.http.server.io.ServerOutputBuffer.reset:()V
12: aload 0
iconst_0
putfield org.glassfish.grizzly.http.server.Response.usingWriter:Z
13: aload 0
iconst_0
putfield org.glassfish.grizzly.http.server.Response.usingOutputStream:Z
14: aload 0
iload 1
aload 2
invokevirtual org.glassfish.grizzly.http.server.Response.setStatus:(ILjava/lang/String;)V
15: aload 2
astore 3
start local 3 16: aload 3
ifnonnull 22
17: iload 1
invokestatic org.glassfish.grizzly.http.util.HttpStatus.getHttpStatus:(I)Lorg/glassfish/grizzly/http/util/HttpStatus;
astore 4
start local 4 18: aload 4
ifnull 21
aload 4
invokevirtual org.glassfish.grizzly.http.util.HttpStatus.getReasonPhrase:()Ljava/lang/String;
ifnull 21
19: aload 4
invokevirtual org.glassfish.grizzly.http.util.HttpStatus.getReasonPhrase:()Ljava/lang/String;
astore 3
20: goto 22
21: StackMap locals: java.lang.String org.glassfish.grizzly.http.util.HttpStatus
StackMap stack:
ldc "Unknown Error"
astore 3
end local 4 22: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.request:Lorg/glassfish/grizzly/http/server/Request;
aload 0
aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.getErrorPageGenerator:()Lorg/glassfish/grizzly/http/server/ErrorPageGenerator;
iload 1
aload 3
aload 3
aconst_null
invokestatic org.glassfish.grizzly.http.server.util.HtmlHelper.sendErrorPage:(Lorg/glassfish/grizzly/http/server/Request;Lorg/glassfish/grizzly/http/server/Response;Lorg/glassfish/grizzly/http/server/ErrorPageGenerator;ILjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
23: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.finish:()V
24: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/glassfish/grizzly/http/server/Response;
0 25 1 status I
0 25 2 message Ljava/lang/String;
16 25 3 nonNullMsg Ljava/lang/String;
18 22 4 httpStatus Lorg/glassfish/grizzly/http/util/HttpStatus;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
status final
message final
public void sendRedirect(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Illegal attempt to redirect the response as the response has been committed."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.resetBuffer:()V
3: aload 0
aload 1
iconst_1
invokevirtual org.glassfish.grizzly.http.server.Response.toAbsolute:(Ljava/lang/String;Z)Ljava/lang/String;
astore 2
start local 2 4: aload 0
getstatic org.glassfish.grizzly.http.util.HttpStatus.FOUND_302:Lorg/glassfish/grizzly/http/util/HttpStatus;
invokevirtual org.glassfish.grizzly.http.server.Response.setStatus:(Lorg/glassfish/grizzly/http/util/HttpStatus;)V
5: aload 0
getstatic org.glassfish.grizzly.http.util.Header.Location:Lorg/glassfish/grizzly/http/util/Header;
aload 2
invokevirtual org.glassfish.grizzly.http.server.Response.setHeader:(Lorg/glassfish/grizzly/http/util/Header;Ljava/lang/String;)V
6: aload 0
ldc "text/html"
invokevirtual org.glassfish.grizzly.http.server.Response.setContentType:(Ljava/lang/String;)V
7: aload 0
invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
invokevirtual org.glassfish.grizzly.http.server.Response.setLocale:(Ljava/util/Locale;)V
8: aload 2
invokestatic org.glassfish.grizzly.http.server.Response.filter:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 9: new java.lang.StringBuilder
dup
sipush 150
aload 2
invokevirtual java.lang.String.length:()I
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 4
start local 4 10: aload 4
ldc "<html>\r\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 4
ldc "<head><title>Document moved</title></head>\r\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: aload 4
ldc "<body><h1>Document moved</h1>\r\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: aload 4
ldc "This document has moved <a href=\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: aload 4
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: aload 4
ldc "\">here</a>.<p>\r\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: aload 4
ldc "</body>\r\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
17: aload 4
ldc "</html>\r\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
18: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.getWriter:()Ljava/io/Writer;
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
19: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.getWriter:()Ljava/io/Writer;
invokevirtual java.io.Writer.flush:()V
20: goto 28
StackMap locals: org.glassfish.grizzly.http.server.Response java.lang.String java.lang.String java.lang.String java.lang.StringBuilder
StackMap stack: java.lang.IllegalStateException
21: pop
22: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.getOutputStream:()Ljava/io/OutputStream;
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
getstatic org.glassfish.grizzly.http.util.Constants.DEFAULT_HTTP_CHARSET:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
invokevirtual java.io.OutputStream.write:([B)V
23: goto 28
StackMap locals:
StackMap stack: java.lang.IllegalStateException
24: pop
end local 4 end local 3 end local 2 25: goto 28
StackMap locals: org.glassfish.grizzly.http.server.Response java.lang.String
StackMap stack: java.lang.IllegalArgumentException
26: pop
27: aload 0
sipush 404
invokevirtual org.glassfish.grizzly.http.server.Response.sendError:(I)V
28: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.finish:()V
29: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lorg/glassfish/grizzly/http/server/Response;
0 30 1 location Ljava/lang/String;
4 25 2 absolute Ljava/lang/String;
9 25 3 filteredMsg Ljava/lang/String;
10 25 4 sb Ljava/lang/StringBuilder;
Exception table:
from to target type
18 20 21 Class java.lang.IllegalStateException
22 23 24 Class java.lang.IllegalStateException
3 25 26 Class java.lang.IllegalArgumentException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
location
public void (java.lang.String, long);
descriptor: (Ljava/lang/String;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.format:Ljava/text/SimpleDateFormat;
ifnonnull 5
3: aload 0
new java.text.SimpleDateFormat
dup
ldc "EEE, dd MMM yyyy HH:mm:ss zzz"
getstatic java.util.Locale.US:Ljava/util/Locale;
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
putfield org.glassfish.grizzly.http.server.Response.format:Ljava/text/SimpleDateFormat;
4: aload 0
getfield org.glassfish.grizzly.http.server.Response.format:Ljava/text/SimpleDateFormat;
ldc "GMT"
invokestatic java.util.TimeZone.getTimeZone:(Ljava/lang/String;)Ljava/util/TimeZone;
invokevirtual java.text.SimpleDateFormat.setTimeZone:(Ljava/util/TimeZone;)V
5: StackMap locals:
StackMap stack:
aload 0
aload 1
lload 2
aload 0
getfield org.glassfish.grizzly.http.server.Response.format:Ljava/text/SimpleDateFormat;
invokestatic org.glassfish.grizzly.http.util.FastHttpDateFormat.formatDate:(JLjava/text/DateFormat;)Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.server.Response.setHeader:(Ljava/lang/String;Ljava/lang/String;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/server/Response;
0 7 1 name Ljava/lang/String;
0 7 2 value J
MethodParameters:
Name Flags
name
value
public void (org.glassfish.grizzly.http.util.Header, long);
descriptor: (Lorg/glassfish/grizzly/http/util/Header;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.format:Ljava/text/SimpleDateFormat;
ifnonnull 5
3: aload 0
new java.text.SimpleDateFormat
dup
ldc "EEE, dd MMM yyyy HH:mm:ss zzz"
getstatic java.util.Locale.US:Ljava/util/Locale;
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
putfield org.glassfish.grizzly.http.server.Response.format:Ljava/text/SimpleDateFormat;
4: aload 0
getfield org.glassfish.grizzly.http.server.Response.format:Ljava/text/SimpleDateFormat;
ldc "GMT"
invokestatic java.util.TimeZone.getTimeZone:(Ljava/lang/String;)Ljava/util/TimeZone;
invokevirtual java.text.SimpleDateFormat.setTimeZone:(Ljava/util/TimeZone;)V
5: StackMap locals:
StackMap stack:
aload 0
aload 1
lload 2
aload 0
getfield org.glassfish.grizzly.http.server.Response.format:Ljava/text/SimpleDateFormat;
invokestatic org.glassfish.grizzly.http.util.FastHttpDateFormat.formatDate:(JLjava/text/DateFormat;)Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.server.Response.setHeader:(Lorg/glassfish/grizzly/http/util/Header;Ljava/lang/String;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/server/Response;
0 7 1 header Lorg/glassfish/grizzly/http/util/Header;
0 7 2 value J
MethodParameters:
Name Flags
header final
value
public void (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aload 1
aload 2
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setHeader:(Ljava/lang/String;Ljava/lang/String;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/server/Response;
0 5 1 name Ljava/lang/String;
0 5 2 value Ljava/lang/String;
MethodParameters:
Name Flags
name final
value final
public void (java.lang.String, org.glassfish.grizzly.http.util.HeaderValue);
descriptor: (Ljava/lang/String;Lorg/glassfish/grizzly/http/util/HeaderValue;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aload 1
aload 2
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setHeader:(Ljava/lang/String;Lorg/glassfish/grizzly/http/util/HeaderValue;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/server/Response;
0 5 1 name Ljava/lang/String;
0 5 2 value Lorg/glassfish/grizzly/http/util/HeaderValue;
MethodParameters:
Name Flags
name final
value final
public void (org.glassfish.grizzly.http.util.Header, java.lang.String);
descriptor: (Lorg/glassfish/grizzly/http/util/Header;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aload 1
aload 2
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setHeader:(Lorg/glassfish/grizzly/http/util/Header;Ljava/lang/String;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/server/Response;
0 5 1 header Lorg/glassfish/grizzly/http/util/Header;
0 5 2 value Ljava/lang/String;
MethodParameters:
Name Flags
header final
value final
public void (org.glassfish.grizzly.http.util.Header, org.glassfish.grizzly.http.util.HeaderValue);
descriptor: (Lorg/glassfish/grizzly/http/util/Header;Lorg/glassfish/grizzly/http/util/HeaderValue;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aload 1
aload 2
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setHeader:(Lorg/glassfish/grizzly/http/util/Header;Lorg/glassfish/grizzly/http/util/HeaderValue;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/server/Response;
0 5 1 header Lorg/glassfish/grizzly/http/util/Header;
0 5 2 value Lorg/glassfish/grizzly/http/util/HeaderValue;
MethodParameters:
Name Flags
header final
value final
public void (java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 1
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.server.Response.setHeader:(Ljava/lang/String;Ljava/lang/String;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http/server/Response;
0 4 1 name Ljava/lang/String;
0 4 2 value I
MethodParameters:
Name Flags
name
value
public void (org.glassfish.grizzly.http.util.Header, int);
descriptor: (Lorg/glassfish/grizzly/http/util/Header;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.server.Response.setHeader:(Lorg/glassfish/grizzly/http/util/Header;Ljava/lang/String;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http/server/Response;
0 4 1 header Lorg/glassfish/grizzly/http/util/Header;
0 4 2 value I
MethodParameters:
Name Flags
header final
value final
public void setStatus(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
aconst_null
invokevirtual org.glassfish.grizzly.http.server.Response.setStatus:(ILjava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/Response;
0 2 1 status I
MethodParameters:
Name Flags
status
public void setStatus(int, java.lang.String);
descriptor: (ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
iload 1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setStatus:(I)V
4: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
aload 2
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setReasonPhrase:(Ljava/lang/String;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/http/server/Response;
0 6 1 status I
0 6 2 message Ljava/lang/String;
MethodParameters:
Name Flags
status
message
public void setStatus(org.glassfish.grizzly.http.util.HttpStatus);
descriptor: (Lorg/glassfish/grizzly/http/util/HttpStatus;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.isCommitted:()Z
ifeq 3
2: return
3: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
invokevirtual org.glassfish.grizzly.http.util.HttpStatus.setValues:(Lorg/glassfish/grizzly/http/HttpResponsePacket;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/server/Response;
0 5 1 status Lorg/glassfish/grizzly/http/util/HttpStatus;
MethodParameters:
Name Flags
status
protected java.lang.String toAbsolute(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
istore 3
start local 3 3: iload 3
ifne 4
aload 1
ldc "://"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 37
4: StackMap locals: int
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.request:Lorg/glassfish/grizzly/http/server/Request;
invokevirtual org.glassfish.grizzly.http.server.Request.getScheme:()Ljava/lang/String;
astore 4
start local 4 5: aload 0
getfield org.glassfish.grizzly.http.server.Response.request:Lorg/glassfish/grizzly/http/server/Request;
invokevirtual org.glassfish.grizzly.http.server.Request.getServerName:()Ljava/lang/String;
astore 5
start local 5 6: aload 0
getfield org.glassfish.grizzly.http.server.Response.request:Lorg/glassfish/grizzly/http/server/Request;
invokevirtual org.glassfish.grizzly.http.server.Request.getServerPort:()I
istore 6
start local 6 7: aload 0
getfield org.glassfish.grizzly.http.server.Response.redirectURLCC:Lorg/glassfish/grizzly/http/util/CharChunk;
invokevirtual org.glassfish.grizzly.http.util.CharChunk.recycle:()V
8: aload 0
getfield org.glassfish.grizzly.http.server.Response.redirectURLCC:Lorg/glassfish/grizzly/http/util/CharChunk;
astore 7
start local 7 9: aload 7
aload 4
iconst_0
aload 4
invokevirtual java.lang.String.length:()I
invokevirtual org.glassfish.grizzly.http.util.CharChunk.append:(Ljava/lang/String;II)V
10: aload 7
ldc "://"
iconst_0
iconst_3
invokevirtual org.glassfish.grizzly.http.util.CharChunk.append:(Ljava/lang/String;II)V
11: aload 7
aload 5
iconst_0
aload 5
invokevirtual java.lang.String.length:()I
invokevirtual org.glassfish.grizzly.http.util.CharChunk.append:(Ljava/lang/String;II)V
12: aload 4
ldc "http"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
iload 6
bipush 80
if_icmpne 14
StackMap locals: org.glassfish.grizzly.http.server.Response java.lang.String int int java.lang.String java.lang.String int org.glassfish.grizzly.http.util.CharChunk
StackMap stack:
13: aload 4
ldc "https"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
iload 6
sipush 443
if_icmpeq 17
14: StackMap locals:
StackMap stack:
aload 7
bipush 58
invokevirtual org.glassfish.grizzly.http.util.CharChunk.append:(C)V
15: new java.lang.StringBuilder
dup
iload 6
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 8
start local 8 16: aload 7
aload 8
iconst_0
aload 8
invokevirtual java.lang.String.length:()I
invokevirtual org.glassfish.grizzly.http.util.CharChunk.append:(Ljava/lang/String;II)V
end local 8 17: StackMap locals:
StackMap stack:
iload 3
ifne 30
18: aload 0
getfield org.glassfish.grizzly.http.server.Response.request:Lorg/glassfish/grizzly/http/server/Request;
invokevirtual org.glassfish.grizzly.http.server.Request.getDecodedRequestURI:()Ljava/lang/String;
astore 8
start local 8 19: aload 8
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 9
start local 9 20: aload 8
iconst_0
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 8
21: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnull 27
22: aload 8
astore 11
start local 11 23: new org.glassfish.grizzly.http.server.Response$3
dup
aload 0
aload 11
invokespecial org.glassfish.grizzly.http.server.Response$3.<init>:(Lorg/glassfish/grizzly/http/server/Response;Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 10
end local 11 start local 10 24: goto 28
end local 10 StackMap locals: org.glassfish.grizzly.http.server.Response java.lang.String int int java.lang.String java.lang.String int org.glassfish.grizzly.http.util.CharChunk java.lang.String int
StackMap stack: java.security.PrivilegedActionException
25: astore 11
start local 11 26: new java.lang.IllegalArgumentException
dup
aload 1
aload 11
invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 11 27: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.urlEncoder:Lorg/glassfish/grizzly/http/util/UEncoder;
aload 8
invokevirtual org.glassfish.grizzly.http.util.UEncoder.encodeURL:(Ljava/lang/String;)Ljava/lang/String;
astore 10
start local 10 28: StackMap locals: java.lang.String
StackMap stack:
aload 7
aload 10
iconst_0
aload 10
invokevirtual java.lang.String.length:()I
invokevirtual org.glassfish.grizzly.http.util.CharChunk.append:(Ljava/lang/String;II)V
29: aload 7
bipush 47
invokevirtual org.glassfish.grizzly.http.util.CharChunk.append:(C)V
end local 10 end local 9 end local 8 30: StackMap locals:
StackMap stack:
aload 7
aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
invokevirtual org.glassfish.grizzly.http.util.CharChunk.append:(Ljava/lang/String;II)V
31: goto 34
StackMap locals:
StackMap stack: java.io.IOException
32: astore 8
start local 8 33: new java.lang.IllegalArgumentException
dup
aload 1
aload 8
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 8 34: StackMap locals:
StackMap stack:
iload 2
ifeq 36
35: aload 7
invokestatic org.glassfish.grizzly.http.util.HttpRequestURIDecoder.normalizeChars:(Lorg/glassfish/grizzly/http/util/CharChunk;)Z
pop
36: StackMap locals:
StackMap stack:
aload 7
invokevirtual org.glassfish.grizzly.http.util.CharChunk.toString:()Ljava/lang/String;
areturn
end local 7 end local 6 end local 5 end local 4 37: StackMap locals: org.glassfish.grizzly.http.server.Response java.lang.String int int
StackMap stack:
aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lorg/glassfish/grizzly/http/server/Response;
0 38 1 location Ljava/lang/String;
0 38 2 normalize Z
3 38 3 leadingSlash Z
5 37 4 scheme Ljava/lang/String;
6 37 5 name Ljava/lang/String;
7 37 6 port I
9 37 7 cc Lorg/glassfish/grizzly/http/util/CharChunk;
16 17 8 portS Ljava/lang/String;
19 30 8 relativePath Ljava/lang/String;
20 30 9 pos I
24 25 10 encodedURI Ljava/lang/String;
28 30 10 encodedURI Ljava/lang/String;
23 24 11 frelativePath Ljava/lang/String;
26 27 11 pae Ljava/security/PrivilegedActionException;
33 34 8 e Ljava/io/IOException;
Exception table:
from to target type
22 24 25 Class java.security.PrivilegedActionException
9 31 32 Class java.io.IOException
MethodParameters:
Name Flags
location final
normalize final
public static java.lang.String filter(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
newarray 5
astore 1
start local 1 3: aload 0
iconst_0
aload 0
invokevirtual java.lang.String.length:()I
aload 1
iconst_0
invokevirtual java.lang.String.getChars:(II[CI)V
4: new java.lang.StringBuilder
dup
aload 1
arraylength
bipush 50
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 5: iconst_0
istore 3
start local 3 6: goto 18
7: StackMap locals: char[] java.lang.StringBuilder int
StackMap stack:
aload 1
iload 3
caload
lookupswitch { // 4
34: 14
38: 12
60: 8
62: 10
default: 16
}
8: StackMap locals:
StackMap stack:
aload 2
ldc "<"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: goto 17
10: StackMap locals:
StackMap stack:
aload 2
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: goto 17
12: StackMap locals:
StackMap stack:
aload 2
ldc "&"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: goto 17
14: StackMap locals:
StackMap stack:
aload 2
ldc """
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: goto 17
16: StackMap locals:
StackMap stack:
aload 2
aload 1
iload 3
caload
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
17: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
18: iload 3
aload 1
arraylength
if_icmplt 7
end local 3 19: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 message Ljava/lang/String;
3 20 1 content [C
5 20 2 result Ljava/lang/StringBuilder;
6 19 3 i I
MethodParameters:
Name Flags
message
protected java.lang.String toEncoded(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 2
ifnonnull 2
1: StackMap locals:
StackMap stack:
aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 1
astore 3
start local 3 3: ldc ""
astore 4
start local 4 4: ldc ""
astore 5
start local 5 5: aload 1
bipush 63
invokevirtual java.lang.String.indexOf:(I)I
istore 6
start local 6 6: iload 6
iflt 9
7: aload 1
iconst_0
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
8: aload 1
iload 6
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
9: StackMap locals: org.glassfish.grizzly.http.server.Response java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String int
StackMap stack:
aload 3
bipush 35
invokevirtual java.lang.String.indexOf:(I)I
istore 7
start local 7 10: iload 7
iflt 13
11: aload 3
iload 7
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
12: aload 3
iconst_0
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
13: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
aload 3
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 8
start local 8 14: aload 8
invokevirtual java.lang.StringBuilder.length:()I
ifle 17
15: aload 8
ldc ";jsessionid="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: aload 8
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
17: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.Response.request:Lorg/glassfish/grizzly/http/server/Request;
ldc "proxy-jroute"
invokevirtual org.glassfish.grizzly.http.server.Request.getHeader:(Ljava/lang/String;)Ljava/lang/String;
astore 9
start local 9 18: aload 9
ifnull 21
19: aload 8
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
20: aload 8
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: StackMap locals: java.lang.String
StackMap stack:
aload 8
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
22: aload 8
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
23: aload 8
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/glassfish/grizzly/http/server/Response;
0 24 1 url Ljava/lang/String;
0 24 2 sessionId Ljava/lang/String;
3 24 3 path Ljava/lang/String;
4 24 4 query Ljava/lang/String;
5 24 5 anchor Ljava/lang/String;
6 24 6 question I
10 24 7 pound I
14 24 8 sb Ljava/lang/StringBuilder;
18 24 9 jrouteId Ljava/lang/String;
MethodParameters:
Name Flags
url
sessionId
public boolean isCacheEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.Response.cacheEnabled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/Response;
public org.glassfish.grizzly.http.server.SuspendContext getSuspendContext();
descriptor: ()Lorg/glassfish/grizzly/http/server/SuspendContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.Response.suspendedContext:Lorg/glassfish/grizzly/http/server/Response$SuspendedContextImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/Response;
public boolean isSuspended();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
getfield org.glassfish.grizzly.http.server.Response.suspendedContext:Lorg/glassfish/grizzly/http/server/Response$SuspendedContextImpl;
dup
astore 2
monitorenter
2: aload 0
getfield org.glassfish.grizzly.http.server.Response.suspendState:Lorg/glassfish/grizzly/http/server/Response$SuspendState;
astore 1
start local 1 3: aload 2
monitorexit
4: goto 7
end local 1 StackMap locals: org.glassfish.grizzly.http.server.Response top org.glassfish.grizzly.http.server.Response$SuspendedContextImpl
StackMap stack: java.lang.Throwable
5: aload 2
monitorexit
6: athrow
start local 1 7: StackMap locals: org.glassfish.grizzly.http.server.Response org.glassfish.grizzly.http.server.Response$SuspendState
StackMap stack:
aload 1
getstatic org.glassfish.grizzly.http.server.Response$SuspendState.SUSPENDED:Lorg/glassfish/grizzly/http/server/Response$SuspendState;
if_acmpeq 8
aload 1
getstatic org.glassfish.grizzly.http.server.Response$SuspendState.RESUMING:Lorg/glassfish/grizzly/http/server/Response$SuspendState;
if_acmpeq 8
aload 1
getstatic org.glassfish.grizzly.http.server.Response$SuspendState.CANCELLING:Lorg/glassfish/grizzly/http/server/Response$SuspendState;
if_acmpeq 8
iconst_0
ireturn
StackMap locals:
StackMap stack:
8: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/glassfish/grizzly/http/server/Response;
3 5 1 state Lorg/glassfish/grizzly/http/server/Response$SuspendState;
7 9 1 state Lorg/glassfish/grizzly/http/server/Response$SuspendState;
Exception table:
from to target type
2 4 5 any
5 6 5 any
public void suspend();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
ldc -1
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual org.glassfish.grizzly.http.server.Response.suspend:(JLjava/util/concurrent/TimeUnit;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/Response;
public void suspend(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
aload 3
aconst_null
invokevirtual org.glassfish.grizzly.http.server.Response.suspend:(JLjava/util/concurrent/TimeUnit;Lorg/glassfish/grizzly/CompletionHandler;)V
1: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/Response;
0 2 1 timeout J
0 2 3 timeunit Ljava/util/concurrent/TimeUnit;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
timeout final
timeunit final
public void suspend(long, java.util.concurrent.TimeUnit, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.http.server.Response>);
descriptor: (JLjava/util/concurrent/TimeUnit;Lorg/glassfish/grizzly/CompletionHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 3 start local 4 0: aload 0
lload 1
aload 3
aload 4
aconst_null
invokevirtual org.glassfish.grizzly.http.server.Response.suspend:(JLjava/util/concurrent/TimeUnit;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/http/server/TimeoutHandler;)V
1: return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/Response;
0 2 1 timeout J
0 2 3 timeunit Ljava/util/concurrent/TimeUnit;
0 2 4 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/http/server/Response;>;
Signature: (JLjava/util/concurrent/TimeUnit;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/http/server/Response;>;)V
MethodParameters:
Name Flags
timeout final
timeunit final
completionHandler final
public void suspend(long, java.util.concurrent.TimeUnit, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.http.server.Response>, org.glassfish.grizzly.http.server.TimeoutHandler);
descriptor: (JLjava/util/concurrent/TimeUnit;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/http/server/TimeoutHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 3 start local 4 start local 5 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
getfield org.glassfish.grizzly.http.server.Response.suspendState:Lorg/glassfish/grizzly/http/server/Response$SuspendState;
getstatic org.glassfish.grizzly.http.server.Response$SuspendState.NONE:Lorg/glassfish/grizzly/http/server/Response$SuspendState;
if_acmpeq 3
2: new java.lang.IllegalStateException
dup
ldc "Already Suspended"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getstatic org.glassfish.grizzly.http.server.Response$SuspendState.SUSPENDED:Lorg/glassfish/grizzly/http/server/Response$SuspendState;
putfield org.glassfish.grizzly.http.server.Response.suspendState:Lorg/glassfish/grizzly/http/server/Response$SuspendState;
4: aload 0
getfield org.glassfish.grizzly.http.server.Response.suspendStatus:Lorg/glassfish/grizzly/http/server/SuspendStatus;
invokevirtual org.glassfish.grizzly.http.server.SuspendStatus.suspend:()V
5: aload 0
getfield org.glassfish.grizzly.http.server.Response.suspendedContext:Lorg/glassfish/grizzly/http/server/Response$SuspendedContextImpl;
aload 4
aload 5
invokevirtual org.glassfish.grizzly.http.server.Response$SuspendedContextImpl.init:(Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/http/server/TimeoutHandler;)V
6: aload 0
getfield org.glassfish.grizzly.http.server.Response.request:Lorg/glassfish/grizzly/http/server/Request;
getfield org.glassfish.grizzly.http.server.Request.httpServerFilter:Lorg/glassfish/grizzly/http/server/HttpServerFilter;
aload 0
getfield org.glassfish.grizzly.http.server.Response.ctx:Lorg/glassfish/grizzly/filterchain/FilterChainContext;
invokevirtual org.glassfish.grizzly.filterchain.FilterChainContext.getConnection:()Lorg/glassfish/grizzly/Connection;
aload 0
getfield org.glassfish.grizzly.http.server.Response.request:Lorg/glassfish/grizzly/http/server/Request;
invokestatic org.glassfish.grizzly.http.server.HttpServerProbeNotifier.notifyRequestSuspend:(Lorg/glassfish/grizzly/http/server/HttpServerFilter;Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/http/server/Request;)V
7: aload 0
getfield org.glassfish.grizzly.http.server.Response.httpContext:Lorg/glassfish/grizzly/http/HttpContext;
invokevirtual org.glassfish.grizzly.http.HttpContext.getCloseable:()Lorg/glassfish/grizzly/Closeable;
aload 0
getfield org.glassfish.grizzly.http.server.Response.suspendedContext:Lorg/glassfish/grizzly/http/server/Response$SuspendedContextImpl;
getfield org.glassfish.grizzly.http.server.Response$SuspendedContextImpl.closeListener:Lorg/glassfish/grizzly/CloseListener;
invokeinterface org.glassfish.grizzly.Closeable.addCloseListener:(Lorg/glassfish/grizzly/CloseListener;)V
8: lload 1
lconst_0
lcmp
ifle 12
9: getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
lload 1
aload 3
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
lstore 6
start local 6 10: aload 0
getfield org.glassfish.grizzly.http.server.Response.delayQueue:Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue;
aload 0
getfield org.glassfish.grizzly.http.server.Response.suspendedContext:Lorg/glassfish/grizzly/http/server/Response$SuspendedContextImpl;
getfield org.glassfish.grizzly.http.server.Response$SuspendedContextImpl.suspendTimeout:Lorg/glassfish/grizzly/http/server/Response$SuspendTimeout;
lload 6
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual org.glassfish.grizzly.utils.DelayedExecutor$DelayQueue.add:(Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;)V
11: aload 0
getfield org.glassfish.grizzly.http.server.Response.suspendedContext:Lorg/glassfish/grizzly/http/server/Response$SuspendedContextImpl;
getfield org.glassfish.grizzly.http.server.Response$SuspendedContextImpl.suspendTimeout:Lorg/glassfish/grizzly/http/server/Response$SuspendTimeout;
lload 6
putfield org.glassfish.grizzly.http.server.Response$SuspendTimeout.delayMillis:J
end local 6 12: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/glassfish/grizzly/http/server/Response;
0 13 1 timeout J
0 13 3 timeunit Ljava/util/concurrent/TimeUnit;
0 13 4 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/http/server/Response;>;
0 13 5 timeoutHandler Lorg/glassfish/grizzly/http/server/TimeoutHandler;
10 12 6 timeoutMillis J
Signature: (JLjava/util/concurrent/TimeUnit;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/http/server/Response;>;Lorg/glassfish/grizzly/http/server/TimeoutHandler;)V
MethodParameters:
Name Flags
timeout final
timeunit final
completionHandler final
timeoutHandler final
public void resume();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
getfield org.glassfish.grizzly.http.server.Response.suspendedContext:Lorg/glassfish/grizzly/http/server/Response$SuspendedContextImpl;
invokevirtual org.glassfish.grizzly.http.server.Response$SuspendedContextImpl.markResumed:()Z
pop
2: aload 0
getfield org.glassfish.grizzly.http.server.Response.ctx:Lorg/glassfish/grizzly/filterchain/FilterChainContext;
invokevirtual org.glassfish.grizzly.filterchain.FilterChainContext.resume:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http/server/Response;
public void cancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.Response.checkResponse:()V
1: aload 0
getfield org.glassfish.grizzly.http.server.Response.suspendedContext:Lorg/glassfish/grizzly/http/server/Response$SuspendedContextImpl;
invokevirtual org.glassfish.grizzly.http.server.Response$SuspendedContextImpl.markCancelled:()V
2: aload 0
getfield org.glassfish.grizzly.http.server.Response.ctx:Lorg/glassfish/grizzly/filterchain/FilterChainContext;
invokevirtual org.glassfish.grizzly.filterchain.FilterChainContext.resume:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http/server/Response;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
final void checkResponse();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.Response.response:Lorg/glassfish/grizzly/http/HttpResponsePacket;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "Internal org.glassfish.grizzly.http.server.Response has not been set"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/server/Response;
public boolean isSendFileEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.Response.sendFileEnabled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/Response;
}
SourceFile: "Response.java"
NestMembers:
org.glassfish.grizzly.http.server.Response$1 org.glassfish.grizzly.http.server.Response$2 org.glassfish.grizzly.http.server.Response$3 org.glassfish.grizzly.http.server.Response$DelayQueueResolver org.glassfish.grizzly.http.server.Response$DelayQueueWorker org.glassfish.grizzly.http.server.Response$SuspendState org.glassfish.grizzly.http.server.Response$SuspendTimeout org.glassfish.grizzly.http.server.Response$SuspendedContextImpl org.glassfish.grizzly.http.server.Response$SuspendedContextImpl$SuspendCloseListener
InnerClasses:
org.glassfish.grizzly.http.server.Response$1
org.glassfish.grizzly.http.server.Response$2
org.glassfish.grizzly.http.server.Response$3
private DelayQueueResolver = org.glassfish.grizzly.http.server.Response$DelayQueueResolver of org.glassfish.grizzly.http.server.Response
private DelayQueueWorker = org.glassfish.grizzly.http.server.Response$DelayQueueWorker of org.glassfish.grizzly.http.server.Response
final SuspendState = org.glassfish.grizzly.http.server.Response$SuspendState of org.glassfish.grizzly.http.server.Response
protected SuspendTimeout = org.glassfish.grizzly.http.server.Response$SuspendTimeout of org.glassfish.grizzly.http.server.Response
public final SuspendedContextImpl = org.glassfish.grizzly.http.server.Response$SuspendedContextImpl of org.glassfish.grizzly.http.server.Response
public DelayQueue = org.glassfish.grizzly.utils.DelayedExecutor$DelayQueue of org.glassfish.grizzly.utils.DelayedExecutor
public abstract Resolver = org.glassfish.grizzly.utils.DelayedExecutor$Resolver of org.glassfish.grizzly.utils.DelayedExecutor
public abstract Worker = org.glassfish.grizzly.utils.DelayedExecutor$Worker of org.glassfish.grizzly.utils.DelayedExecutor