public class org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor implements org.eclipse.jetty.server.HttpOutput$Interceptor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor
super_class: java.lang.Object
{
public static org.eclipse.jetty.util.log.Logger LOG;
descriptor: Lorg/eclipse/jetty/util/log/Logger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
private static final byte[] GZIP_HEADER;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final org.eclipse.jetty.http.HttpField VARY_ACCEPT_ENCODING_USER_AGENT;
descriptor: Lorg/eclipse/jetty/http/HttpField;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.eclipse.jetty.http.HttpField VARY_ACCEPT_ENCODING;
descriptor: Lorg/eclipse/jetty/http/HttpField;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final java.util.concurrent.atomic.AtomicReference<org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState> _state;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor$GZState;>;
private final java.util.zip.CRC32 _crc;
descriptor: Ljava/util/zip/CRC32;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.jetty.server.handler.gzip.GzipFactory _factory;
descriptor: Lorg/eclipse/jetty/server/handler/gzip/GzipFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.jetty.server.HttpOutput$Interceptor _interceptor;
descriptor: Lorg/eclipse/jetty/server/HttpOutput$Interceptor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.jetty.server.HttpChannel _channel;
descriptor: Lorg/eclipse/jetty/server/HttpChannel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.jetty.http.HttpField _vary;
descriptor: Lorg/eclipse/jetty/http/HttpField;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int _bufferSize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean _syncFlush;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.zip.Deflater _deflater;
descriptor: Ljava/util/zip/Deflater;
flags: (0x0002) ACC_PRIVATE
private java.nio.ByteBuffer _buffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
private static volatile int[] $SWITCH_TABLE$org$eclipse$jetty$server$handler$gzip$GzipHttpOutputInterceptor$GZState;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: ldc Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor;
invokestatic org.eclipse.jetty.util.log.Log.getLogger:(Ljava/lang/Class;)Lorg/eclipse/jetty/util/log/Logger;
putstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.LOG:Lorg/eclipse/jetty/util/log/Logger;
1: bipush 10
newarray 8
dup
iconst_0
bipush 31
bastore
dup
iconst_1
bipush -117
bastore
dup
iconst_2
bipush 8
bastore
putstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.GZIP_HEADER:[B
2: new org.eclipse.jetty.http.PreEncodedHttpField
dup
getstatic org.eclipse.jetty.http.HttpHeader.VARY:Lorg/eclipse/jetty/http/HttpHeader;
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
getstatic org.eclipse.jetty.http.HttpHeader.ACCEPT_ENCODING:Lorg/eclipse/jetty/http/HttpHeader;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic org.eclipse.jetty.http.HttpHeader.USER_AGENT:Lorg/eclipse/jetty/http/HttpHeader;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.eclipse.jetty.http.PreEncodedHttpField.<init>:(Lorg/eclipse/jetty/http/HttpHeader;Ljava/lang/String;)V
putstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.VARY_ACCEPT_ENCODING_USER_AGENT:Lorg/eclipse/jetty/http/HttpField;
3: new org.eclipse.jetty.http.PreEncodedHttpField
dup
getstatic org.eclipse.jetty.http.HttpHeader.VARY:Lorg/eclipse/jetty/http/HttpHeader;
getstatic org.eclipse.jetty.http.HttpHeader.ACCEPT_ENCODING:Lorg/eclipse/jetty/http/HttpHeader;
invokevirtual org.eclipse.jetty.http.HttpHeader.asString:()Ljava/lang/String;
invokespecial org.eclipse.jetty.http.PreEncodedHttpField.<init>:(Lorg/eclipse/jetty/http/HttpHeader;Ljava/lang/String;)V
putstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.VARY_ACCEPT_ENCODING:Lorg/eclipse/jetty/http/HttpField;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.eclipse.jetty.server.handler.gzip.GzipFactory, org.eclipse.jetty.server.HttpChannel, org.eclipse.jetty.server.HttpOutput$Interceptor, boolean);
descriptor: (Lorg/eclipse/jetty/server/handler/gzip/GzipFactory;Lorg/eclipse/jetty/server/HttpChannel;Lorg/eclipse/jetty/server/HttpOutput$Interceptor;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
getstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.VARY_ACCEPT_ENCODING_USER_AGENT:Lorg/eclipse/jetty/http/HttpField;
aload 2
invokevirtual org.eclipse.jetty.server.HttpChannel.getHttpConfiguration:()Lorg/eclipse/jetty/server/HttpConfiguration;
invokevirtual org.eclipse.jetty.server.HttpConfiguration.getOutputBufferSize:()I
aload 2
aload 3
iload 4
invokespecial org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.<init>:(Lorg/eclipse/jetty/server/handler/gzip/GzipFactory;Lorg/eclipse/jetty/http/HttpField;ILorg/eclipse/jetty/server/HttpChannel;Lorg/eclipse/jetty/server/HttpOutput$Interceptor;Z)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor;
0 2 1 factory Lorg/eclipse/jetty/server/handler/gzip/GzipFactory;
0 2 2 channel Lorg/eclipse/jetty/server/HttpChannel;
0 2 3 next Lorg/eclipse/jetty/server/HttpOutput$Interceptor;
0 2 4 syncFlush Z
MethodParameters:
Name Flags
factory
channel
next
syncFlush
public void <init>(org.eclipse.jetty.server.handler.gzip.GzipFactory, org.eclipse.jetty.http.HttpField, org.eclipse.jetty.server.HttpChannel, org.eclipse.jetty.server.HttpOutput$Interceptor, boolean);
descriptor: (Lorg/eclipse/jetty/server/handler/gzip/GzipFactory;Lorg/eclipse/jetty/http/HttpField;Lorg/eclipse/jetty/server/HttpChannel;Lorg/eclipse/jetty/server/HttpOutput$Interceptor;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, 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
aload 2
aload 3
invokevirtual org.eclipse.jetty.server.HttpChannel.getHttpConfiguration:()Lorg/eclipse/jetty/server/HttpConfiguration;
invokevirtual org.eclipse.jetty.server.HttpConfiguration.getOutputBufferSize:()I
aload 3
aload 4
iload 5
invokespecial org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.<init>:(Lorg/eclipse/jetty/server/handler/gzip/GzipFactory;Lorg/eclipse/jetty/http/HttpField;ILorg/eclipse/jetty/server/HttpChannel;Lorg/eclipse/jetty/server/HttpOutput$Interceptor;Z)V
1: 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 2 0 this Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor;
0 2 1 factory Lorg/eclipse/jetty/server/handler/gzip/GzipFactory;
0 2 2 vary Lorg/eclipse/jetty/http/HttpField;
0 2 3 channel Lorg/eclipse/jetty/server/HttpChannel;
0 2 4 next Lorg/eclipse/jetty/server/HttpOutput$Interceptor;
0 2 5 syncFlush Z
MethodParameters:
Name Flags
factory
vary
channel
next
syncFlush
public void <init>(org.eclipse.jetty.server.handler.gzip.GzipFactory, org.eclipse.jetty.http.HttpField, int, org.eclipse.jetty.server.HttpChannel, org.eclipse.jetty.server.HttpOutput$Interceptor, boolean);
descriptor: (Lorg/eclipse/jetty/server/handler/gzip/GzipFactory;Lorg/eclipse/jetty/http/HttpField;ILorg/eclipse/jetty/server/HttpChannel;Lorg/eclipse/jetty/server/HttpOutput$Interceptor;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
getstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.MIGHT_COMPRESS:Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor$GZState;
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:(Ljava/lang/Object;)V
putfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._state:Ljava/util/concurrent/atomic/AtomicReference;
2: aload 0
new java.util.zip.CRC32
dup
invokespecial java.util.zip.CRC32.<init>:()V
putfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._crc:Ljava/util/zip/CRC32;
3: aload 0
aload 1
putfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._factory:Lorg/eclipse/jetty/server/handler/gzip/GzipFactory;
4: aload 0
aload 4
putfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._channel:Lorg/eclipse/jetty/server/HttpChannel;
5: aload 0
aload 5
putfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._interceptor:Lorg/eclipse/jetty/server/HttpOutput$Interceptor;
6: aload 0
aload 2
putfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._vary:Lorg/eclipse/jetty/http/HttpField;
7: aload 0
iload 3
putfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._bufferSize:I
8: aload 0
iload 6
putfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._syncFlush:Z
9: return
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 10 0 this Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor;
0 10 1 factory Lorg/eclipse/jetty/server/handler/gzip/GzipFactory;
0 10 2 vary Lorg/eclipse/jetty/http/HttpField;
0 10 3 bufferSize I
0 10 4 channel Lorg/eclipse/jetty/server/HttpChannel;
0 10 5 next Lorg/eclipse/jetty/server/HttpOutput$Interceptor;
0 10 6 syncFlush Z
MethodParameters:
Name Flags
factory
vary
bufferSize
channel
next
syncFlush
public org.eclipse.jetty.server.HttpOutput$Interceptor getNextInterceptor();
descriptor: ()Lorg/eclipse/jetty/server/HttpOutput$Interceptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._interceptor:Lorg/eclipse/jetty/server/HttpOutput$Interceptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor;
public boolean isOptimizedForDirectBuffers();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor;
public void write(java.nio.ByteBuffer, boolean, org.eclipse.jetty.util.Callback);
descriptor: (Ljava/nio/ByteBuffer;ZLorg/eclipse/jetty/util/Callback;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.$SWITCH_TABLE$org$eclipse$jetty$server$handler$gzip$GzipHttpOutputInterceptor$GZState:()[I
aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._state:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState
invokevirtual org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 1
2: 3
3: 5
4: 7
default: 9
}
1: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aload 3
invokevirtual org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.commit:(Ljava/nio/ByteBuffer;ZLorg/eclipse/jetty/util/Callback;)V
2: goto 10
3: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._interceptor:Lorg/eclipse/jetty/server/HttpOutput$Interceptor;
aload 1
iload 2
aload 3
invokeinterface org.eclipse.jetty.server.HttpOutput$Interceptor.write:(Ljava/nio/ByteBuffer;ZLorg/eclipse/jetty/util/Callback;)V
4: return
5: StackMap locals:
StackMap stack:
aload 3
new java.nio.channels.WritePendingException
dup
invokespecial java.nio.channels.WritePendingException.<init>:()V
invokeinterface org.eclipse.jetty.util.Callback.failed:(Ljava/lang/Throwable;)V
6: goto 10
7: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aload 3
invokevirtual org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.gzip:(Ljava/nio/ByteBuffer;ZLorg/eclipse/jetty/util/Callback;)V
8: goto 10
9: StackMap locals:
StackMap stack:
aload 3
new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "state="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._state:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
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
invokeinterface org.eclipse.jetty.util.Callback.failed:(Ljava/lang/Throwable;)V
10: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor;
0 11 1 content Ljava/nio/ByteBuffer;
0 11 2 complete Z
0 11 3 callback Lorg/eclipse/jetty/util/Callback;
MethodParameters:
Name Flags
content
complete
callback
private void addTrailer();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
istore 1
start local 1 1: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._buffer:Ljava/nio/ByteBuffer;
iload 1
bipush 8
iadd
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
2: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._crc:Ljava/util/zip/CRC32;
invokevirtual java.util.zip.CRC32.getValue:()J
l2i
istore 2
start local 2 3: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._buffer:Ljava/nio/ByteBuffer;
iload 1
iinc 1 1
iload 2
sipush 255
iand
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
4: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._buffer:Ljava/nio/ByteBuffer;
iload 1
iinc 1 1
iload 2
bipush 8
iushr
sipush 255
iand
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
5: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._buffer:Ljava/nio/ByteBuffer;
iload 1
iinc 1 1
iload 2
bipush 16
iushr
sipush 255
iand
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
6: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._buffer:Ljava/nio/ByteBuffer;
iload 1
iinc 1 1
iload 2
bipush 24
iushr
sipush 255
iand
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
7: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._deflater:Ljava/util/zip/Deflater;
invokevirtual java.util.zip.Deflater.getTotalIn:()I
istore 2
8: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._buffer:Ljava/nio/ByteBuffer;
iload 1
iinc 1 1
iload 2
sipush 255
iand
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
9: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._buffer:Ljava/nio/ByteBuffer;
iload 1
iinc 1 1
iload 2
bipush 8
iushr
sipush 255
iand
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
10: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._buffer:Ljava/nio/ByteBuffer;
iload 1
iinc 1 1
iload 2
bipush 16
iushr
sipush 255
iand
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
11: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._buffer:Ljava/nio/ByteBuffer;
iload 1
iinc 1 1
iload 2
bipush 24
iushr
sipush 255
iand
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor;
1 13 1 i I
3 13 2 v I
private void gzip(java.nio.ByteBuffer, boolean, org.eclipse.jetty.util.Callback);
descriptor: (Ljava/nio/ByteBuffer;ZLorg/eclipse/jetty/util/Callback;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 1
iload 2
ifeq 2
1: StackMap locals:
StackMap stack:
new org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GzipBufferCB
dup
aload 0
aload 1
iload 2
aload 3
invokespecial org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GzipBufferCB.<init>:(Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor;Ljava/nio/ByteBuffer;ZLorg/eclipse/jetty/util/Callback;)V
invokevirtual org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GzipBufferCB.iterate:()V
goto 3
2: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.eclipse.jetty.util.Callback.succeeded:()V
3: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor;
0 4 1 content Ljava/nio/ByteBuffer;
0 4 2 complete Z
0 4 3 callback Lorg/eclipse/jetty/util/Callback;
MethodParameters:
Name Flags
content
complete
callback final
protected void commit(java.nio.ByteBuffer, boolean, org.eclipse.jetty.util.Callback);
descriptor: (Ljava/nio/ByteBuffer;ZLorg/eclipse/jetty/util/Callback;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._channel:Lorg/eclipse/jetty/server/HttpChannel;
invokevirtual org.eclipse.jetty.server.HttpChannel.getResponse:()Lorg/eclipse/jetty/server/Response;
astore 4
start local 4 1: aload 4
invokevirtual org.eclipse.jetty.server.Response.getStatus:()I
istore 5
start local 5 2: iload 5
ifle 14
iload 5
sipush 200
if_icmplt 3
iload 5
sipush 204
if_icmpeq 3
iload 5
sipush 205
if_icmpeq 3
iload 5
sipush 300
if_icmplt 14
3: StackMap locals: org.eclipse.jetty.server.Response int
StackMap stack:
getstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} exclude by status {}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
4: aload 0
invokevirtual org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.noCompression:()V
5: iload 5
sipush 304
if_icmpne 12
6: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._channel:Lorg/eclipse/jetty/server/HttpChannel;
invokevirtual org.eclipse.jetty.server.HttpChannel.getRequest:()Lorg/eclipse/jetty/server/Request;
ldc "o.e.j.s.h.gzip.GzipHandler.etag"
invokevirtual org.eclipse.jetty.server.Request.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 7: aload 4
invokevirtual org.eclipse.jetty.server.Response.getHttpFields:()Lorg/eclipse/jetty/http/HttpFields;
getstatic org.eclipse.jetty.http.HttpHeader.ETAG:Lorg/eclipse/jetty/http/HttpHeader;
invokevirtual org.eclipse.jetty.http.HttpFields.get:(Lorg/eclipse/jetty/http/HttpHeader;)Ljava/lang/String;
astore 7
start local 7 8: aload 6
ifnull 12
aload 7
ifnull 12
9: aload 0
aload 7
invokevirtual org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.etagGzip:(Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 10: aload 6
aload 8
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 12
11: aload 4
invokevirtual org.eclipse.jetty.server.Response.getHttpFields:()Lorg/eclipse/jetty/http/HttpFields;
getstatic org.eclipse.jetty.http.HttpHeader.ETAG:Lorg/eclipse/jetty/http/HttpHeader;
aload 8
invokevirtual org.eclipse.jetty.http.HttpFields.put:(Lorg/eclipse/jetty/http/HttpHeader;Ljava/lang/String;)V
end local 8 end local 7 end local 6 12: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._interceptor:Lorg/eclipse/jetty/server/HttpOutput$Interceptor;
aload 1
iload 2
aload 3
invokeinterface org.eclipse.jetty.server.HttpOutput$Interceptor.write:(Ljava/nio/ByteBuffer;ZLorg/eclipse/jetty/util/Callback;)V
13: return
14: StackMap locals:
StackMap stack:
aload 4
invokevirtual org.eclipse.jetty.server.Response.getContentType:()Ljava/lang/String;
astore 6
start local 6 15: aload 6
ifnull 22
16: aload 6
invokestatic org.eclipse.jetty.http.MimeTypes.getContentTypeWithoutCharset:(Ljava/lang/String;)Ljava/lang/String;
astore 6
17: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._factory:Lorg/eclipse/jetty/server/handler/gzip/GzipFactory;
aload 6
invokestatic org.eclipse.jetty.util.StringUtil.asciiToLowerCase:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface org.eclipse.jetty.server.handler.gzip.GzipFactory.isMimeTypeGzipable:(Ljava/lang/String;)Z
ifne 22
18: getstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} exclude by mimeType {}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 6
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
19: aload 0
invokevirtual org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.noCompression:()V
20: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._interceptor:Lorg/eclipse/jetty/server/HttpOutput$Interceptor;
aload 1
iload 2
aload 3
invokeinterface org.eclipse.jetty.server.HttpOutput$Interceptor.write:(Ljava/nio/ByteBuffer;ZLorg/eclipse/jetty/util/Callback;)V
21: return
22: StackMap locals: java.lang.String
StackMap stack:
aload 4
invokevirtual org.eclipse.jetty.server.Response.getHttpFields:()Lorg/eclipse/jetty/http/HttpFields;
astore 7
start local 7 23: aload 7
getstatic org.eclipse.jetty.http.HttpHeader.CONTENT_ENCODING:Lorg/eclipse/jetty/http/HttpHeader;
invokevirtual org.eclipse.jetty.http.HttpFields.get:(Lorg/eclipse/jetty/http/HttpHeader;)Ljava/lang/String;
astore 8
start local 8 24: aload 8
ifnull 29
25: getstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} exclude by content-encoding {}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 8
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
26: aload 0
invokevirtual org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.noCompression:()V
27: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._interceptor:Lorg/eclipse/jetty/server/HttpOutput$Interceptor;
aload 1
iload 2
aload 3
invokeinterface org.eclipse.jetty.server.HttpOutput$Interceptor.write:(Ljava/nio/ByteBuffer;ZLorg/eclipse/jetty/util/Callback;)V
28: return
29: StackMap locals: org.eclipse.jetty.http.HttpFields java.lang.String
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._state:Ljava/util/concurrent/atomic/AtomicReference;
getstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.MIGHT_COMPRESS:Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor$GZState;
getstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.COMMITTING:Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor$GZState;
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 55
30: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._vary:Lorg/eclipse/jetty/http/HttpField;
ifnull 34
31: aload 7
getstatic org.eclipse.jetty.http.HttpHeader.VARY:Lorg/eclipse/jetty/http/HttpHeader;
invokevirtual org.eclipse.jetty.http.HttpFields.contains:(Lorg/eclipse/jetty/http/HttpHeader;)Z
ifeq 33
32: aload 7
getstatic org.eclipse.jetty.http.HttpHeader.VARY:Lorg/eclipse/jetty/http/HttpHeader;
aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._vary:Lorg/eclipse/jetty/http/HttpField;
invokevirtual org.eclipse.jetty.http.HttpField.getValues:()[Ljava/lang/String;
invokevirtual org.eclipse.jetty.http.HttpFields.addCSV:(Lorg/eclipse/jetty/http/HttpHeader;[Ljava/lang/String;)Z
pop
goto 34
33: StackMap locals:
StackMap stack:
aload 7
aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._vary:Lorg/eclipse/jetty/http/HttpField;
invokevirtual org.eclipse.jetty.http.HttpFields.add:(Lorg/eclipse/jetty/http/HttpField;)V
34: StackMap locals:
StackMap stack:
aload 4
invokevirtual org.eclipse.jetty.server.Response.getContentLength:()J
lstore 9
start local 9 35: lload 9
lconst_0
lcmp
ifge 37
iload 2
ifeq 37
36: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
lstore 9
37: StackMap locals: long
StackMap stack:
aload 0
aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._factory:Lorg/eclipse/jetty/server/handler/gzip/GzipFactory;
aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._channel:Lorg/eclipse/jetty/server/HttpChannel;
invokevirtual org.eclipse.jetty.server.HttpChannel.getRequest:()Lorg/eclipse/jetty/server/Request;
lload 9
invokeinterface org.eclipse.jetty.server.handler.gzip.GzipFactory.getDeflater:(Lorg/eclipse/jetty/server/Request;J)Ljava/util/zip/Deflater;
putfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._deflater:Ljava/util/zip/Deflater;
38: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._deflater:Ljava/util/zip/Deflater;
ifnonnull 43
39: getstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} exclude no deflater"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
40: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._state:Ljava/util/concurrent/atomic/AtomicReference;
getstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.NOT_COMPRESSING:Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor$GZState;
invokevirtual java.util.concurrent.atomic.AtomicReference.set:(Ljava/lang/Object;)V
41: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._interceptor:Lorg/eclipse/jetty/server/HttpOutput$Interceptor;
aload 1
iload 2
aload 3
invokeinterface org.eclipse.jetty.server.HttpOutput$Interceptor.write:(Ljava/nio/ByteBuffer;ZLorg/eclipse/jetty/util/Callback;)V
42: return
43: StackMap locals:
StackMap stack:
aload 7
getstatic org.eclipse.jetty.http.CompressedContentFormat.GZIP:Lorg/eclipse/jetty/http/CompressedContentFormat;
getfield org.eclipse.jetty.http.CompressedContentFormat._contentEncoding:Lorg/eclipse/jetty/http/PreEncodedHttpField;
invokevirtual org.eclipse.jetty.http.HttpFields.put:(Lorg/eclipse/jetty/http/HttpField;)V
44: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._crc:Ljava/util/zip/CRC32;
invokevirtual java.util.zip.CRC32.reset:()V
45: aload 0
aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._channel:Lorg/eclipse/jetty/server/HttpChannel;
invokevirtual org.eclipse.jetty.server.HttpChannel.getByteBufferPool:()Lorg/eclipse/jetty/io/ByteBufferPool;
aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._bufferSize:I
iconst_0
invokeinterface org.eclipse.jetty.io.ByteBufferPool.acquire:(IZ)Ljava/nio/ByteBuffer;
putfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._buffer:Ljava/nio/ByteBuffer;
46: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._buffer:Ljava/nio/ByteBuffer;
getstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.GZIP_HEADER:[B
iconst_0
getstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.GZIP_HEADER:[B
arraylength
invokestatic org.eclipse.jetty.util.BufferUtil.fill:(Ljava/nio/ByteBuffer;[BII)I
pop
47: aload 4
iconst_m1
invokevirtual org.eclipse.jetty.server.Response.setContentLength:(I)V
48: aload 7
getstatic org.eclipse.jetty.http.HttpHeader.ETAG:Lorg/eclipse/jetty/http/HttpHeader;
invokevirtual org.eclipse.jetty.http.HttpFields.get:(Lorg/eclipse/jetty/http/HttpHeader;)Ljava/lang/String;
astore 11
start local 11 49: aload 11
ifnull 51
50: aload 7
getstatic org.eclipse.jetty.http.HttpHeader.ETAG:Lorg/eclipse/jetty/http/HttpHeader;
aload 0
aload 11
invokevirtual org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.etagGzip:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.eclipse.jetty.http.HttpFields.put:(Lorg/eclipse/jetty/http/HttpHeader;Ljava/lang/String;)V
51: StackMap locals: java.lang.String
StackMap stack:
getstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} compressing {}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._deflater:Ljava/util/zip/Deflater;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
52: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._state:Ljava/util/concurrent/atomic/AtomicReference;
getstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.COMPRESSING:Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor$GZState;
invokevirtual java.util.concurrent.atomic.AtomicReference.set:(Ljava/lang/Object;)V
53: aload 0
aload 1
iload 2
aload 3
invokevirtual org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.gzip:(Ljava/nio/ByteBuffer;ZLorg/eclipse/jetty/util/Callback;)V
end local 11 end local 9 54: goto 56
55: StackMap locals:
StackMap stack:
aload 3
new java.nio.channels.WritePendingException
dup
invokespecial java.nio.channels.WritePendingException.<init>:()V
invokeinterface org.eclipse.jetty.util.Callback.failed:(Ljava/lang/Throwable;)V
56: StackMap locals:
StackMap stack:
return
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 57 0 this Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor;
0 57 1 content Ljava/nio/ByteBuffer;
0 57 2 complete Z
0 57 3 callback Lorg/eclipse/jetty/util/Callback;
1 57 4 response Lorg/eclipse/jetty/server/Response;
2 57 5 sc I
7 12 6 requestEtags Ljava/lang/String;
8 12 7 responseEtag Ljava/lang/String;
10 12 8 responseEtagGzip Ljava/lang/String;
15 57 6 ct Ljava/lang/String;
23 57 7 fields Lorg/eclipse/jetty/http/HttpFields;
24 57 8 ce Ljava/lang/String;
35 54 9 contentLength J
49 54 11 etag Ljava/lang/String;
MethodParameters:
Name Flags
content
complete
callback
private java.lang.String etagGzip(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
istore 2
start local 2 1: aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
bipush 34
if_icmpne 2
new java.lang.StringBuilder
dup
aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic org.eclipse.jetty.http.CompressedContentFormat.GZIP:Lorg/eclipse/jetty/http/CompressedContentFormat;
getfield org.eclipse.jetty.http.CompressedContentFormat._etag:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 3
StackMap locals: int
StackMap stack:
2: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic org.eclipse.jetty.http.CompressedContentFormat.GZIP:Lorg/eclipse/jetty/http/CompressedContentFormat;
getfield org.eclipse.jetty.http.CompressedContentFormat._etag:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor;
0 4 1 etag Ljava/lang/String;
1 4 2 end I
MethodParameters:
Name Flags
etag
public void noCompression();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
invokestatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.$SWITCH_TABLE$org$eclipse$jetty$server$handler$gzip$GzipHttpOutputInterceptor$GZState:()[I
aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._state:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState
invokevirtual org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.ordinal:()I
iaload
tableswitch { // 1 - 2
1: 2
2: 1
default: 4
}
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._state:Ljava/util/concurrent/atomic/AtomicReference;
getstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.MIGHT_COMPRESS:Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor$GZState;
getstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.NOT_COMPRESSING:Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor$GZState;
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
3: return
4: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._state:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState
invokevirtual org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor;
public void noCompressionIfPossible();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
invokestatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.$SWITCH_TABLE$org$eclipse$jetty$server$handler$gzip$GzipHttpOutputInterceptor$GZState:()[I
aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._state:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState
invokevirtual org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 2
2: 1
3: 4
4: 1
default: 4
}
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._state:Ljava/util/concurrent/atomic/AtomicReference;
getstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.MIGHT_COMPRESS:Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor$GZState;
getstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.NOT_COMPRESSING:Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor$GZState;
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
3: return
4: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._state:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState
invokevirtual org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor;
public boolean mightCompress();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor._state:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
getstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.MIGHT_COMPRESS:Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor$GZState;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor;
static int[] $SWITCH_TABLE$org$eclipse$jetty$server$handler$gzip$GzipHttpOutputInterceptor$GZState();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.$SWITCH_TABLE$org$eclipse$jetty$server$handler$gzip$GzipHttpOutputInterceptor$GZState:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.values:()[Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor$GZState;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.COMMITTING:Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor$GZState;
invokevirtual org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.COMPRESSING:Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor$GZState;
invokevirtual org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.ordinal:()I
iconst_4
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.FINISHED:Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor$GZState;
invokevirtual org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.ordinal:()I
iconst_5
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.MIGHT_COMPRESS:Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor$GZState;
invokevirtual org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.ordinal:()I
iconst_1
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.NOT_COMPRESSING:Lorg/eclipse/jetty/server/handler/gzip/GzipHttpOutputInterceptor$GZState;
invokevirtual org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState.ordinal:()I
iconst_2
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
dup
putstatic org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.$SWITCH_TABLE$org$eclipse$jetty$server$handler$gzip$GzipHttpOutputInterceptor$GZState:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
}
SourceFile: "GzipHttpOutputInterceptor.java"
NestMembers:
org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GzipBufferCB
InnerClasses:
public abstract Interceptor = org.eclipse.jetty.server.HttpOutput$Interceptor of org.eclipse.jetty.server.HttpOutput
private final GZState = org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GZState of org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor
private GzipBufferCB = org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor$GzipBufferCB of org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor