public class org.eclipse.jetty.http.GZIPContentDecoder implements org.eclipse.jetty.util.component.Destroyable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.http.GZIPContentDecoder
super_class: java.lang.Object
{
private static final long UINT_MAX;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4294967295
private final java.util.List<java.nio.ByteBuffer> _inflateds;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/nio/ByteBuffer;>;
private final org.eclipse.jetty.io.ByteBufferPool _pool;
descriptor: Lorg/eclipse/jetty/io/ByteBufferPool;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int _bufferSize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.eclipse.jetty.util.compression.CompressionPool<java.util.zip.Inflater>.Entry _inflaterEntry;
descriptor: Lorg/eclipse/jetty/util/compression/CompressionPool$Entry;
flags: (0x0002) ACC_PRIVATE
Signature: Lorg/eclipse/jetty/util/compression/CompressionPool<Ljava/util/zip/Inflater;>.Entry;
private java.util.zip.Inflater _inflater;
descriptor: Ljava/util/zip/Inflater;
flags: (0x0002) ACC_PRIVATE
private org.eclipse.jetty.http.GZIPContentDecoder$State _state;
descriptor: Lorg/eclipse/jetty/http/GZIPContentDecoder$State;
flags: (0x0002) ACC_PRIVATE
private int _size;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private long _value;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private byte _flags;
descriptor: B
flags: (0x0002) ACC_PRIVATE
private java.nio.ByteBuffer _inflated;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
sipush 2048
invokespecial org.eclipse.jetty.http.GZIPContentDecoder.<init>:(Lorg/eclipse/jetty/io/ByteBufferPool;I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/http/GZIPContentDecoder;
public void <init>(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
aconst_null
iload 1
invokespecial org.eclipse.jetty.http.GZIPContentDecoder.<init>:(Lorg/eclipse/jetty/io/ByteBufferPool;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/http/GZIPContentDecoder;
0 2 1 bufferSize I
MethodParameters:
Name Flags
bufferSize
public void <init>(org.eclipse.jetty.io.ByteBufferPool, int);
descriptor: (Lorg/eclipse/jetty/io/ByteBufferPool;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new org.eclipse.jetty.util.compression.InflaterPool
dup
iconst_0
iconst_1
invokespecial org.eclipse.jetty.util.compression.InflaterPool.<init>:(IZ)V
aload 1
iload 2
invokespecial org.eclipse.jetty.http.GZIPContentDecoder.<init>:(Lorg/eclipse/jetty/util/compression/InflaterPool;Lorg/eclipse/jetty/io/ByteBufferPool;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/http/GZIPContentDecoder;
0 2 1 pool Lorg/eclipse/jetty/io/ByteBufferPool;
0 2 2 bufferSize I
MethodParameters:
Name Flags
pool
bufferSize
public void <init>(org.eclipse.jetty.util.compression.InflaterPool, org.eclipse.jetty.io.ByteBufferPool, int);
descriptor: (Lorg/eclipse/jetty/util/compression/InflaterPool;Lorg/eclipse/jetty/io/ByteBufferPool;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.eclipse.jetty.http.GZIPContentDecoder._inflateds:Ljava/util/List;
2: aload 0
aload 1
invokevirtual org.eclipse.jetty.util.compression.InflaterPool.acquire:()Lorg/eclipse/jetty/util/compression/CompressionPool$Entry;
putfield org.eclipse.jetty.http.GZIPContentDecoder._inflaterEntry:Lorg/eclipse/jetty/util/compression/CompressionPool$Entry;
3: aload 0
aload 0
getfield org.eclipse.jetty.http.GZIPContentDecoder._inflaterEntry:Lorg/eclipse/jetty/util/compression/CompressionPool$Entry;
invokevirtual org.eclipse.jetty.util.compression.CompressionPool$Entry.get:()Ljava/lang/Object;
checkcast java.util.zip.Inflater
putfield org.eclipse.jetty.http.GZIPContentDecoder._inflater:Ljava/util/zip/Inflater;
4: aload 0
iload 3
putfield org.eclipse.jetty.http.GZIPContentDecoder._bufferSize:I
5: aload 0
aload 2
putfield org.eclipse.jetty.http.GZIPContentDecoder._pool:Lorg/eclipse/jetty/io/ByteBufferPool;
6: aload 0
invokevirtual org.eclipse.jetty.http.GZIPContentDecoder.reset:()V
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/http/GZIPContentDecoder;
0 8 1 inflaterPool Lorg/eclipse/jetty/util/compression/InflaterPool;
0 8 2 pool Lorg/eclipse/jetty/io/ByteBufferPool;
0 8 3 bufferSize I
MethodParameters:
Name Flags
inflaterPool
pool
bufferSize
public java.nio.ByteBuffer decode(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.eclipse.jetty.http.GZIPContentDecoder.decodeChunks:(Ljava/nio/ByteBuffer;)V
1: aload 0
getfield org.eclipse.jetty.http.GZIPContentDecoder._inflateds:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 7
2: aload 0
getfield org.eclipse.jetty.http.GZIPContentDecoder._inflated:Ljava/nio/ByteBuffer;
invokestatic org.eclipse.jetty.util.BufferUtil.isEmpty:(Ljava/nio/ByteBuffer;)Z
ifne 3
aload 0
getfield org.eclipse.jetty.http.GZIPContentDecoder._state:Lorg/eclipse/jetty/http/GZIPContentDecoder$State;
getstatic org.eclipse.jetty.http.GZIPContentDecoder$State.CRC:Lorg/eclipse/jetty/http/GZIPContentDecoder$State;
if_acmpeq 3
aload 0
getfield org.eclipse.jetty.http.GZIPContentDecoder._state:Lorg/eclipse/jetty/http/GZIPContentDecoder$State;
getstatic org.eclipse.jetty.http.GZIPContentDecoder$State.ISIZE:Lorg/eclipse/jetty/http/GZIPContentDecoder$State;
if_acmpne 4
3: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.util.BufferUtil.EMPTY_BUFFER:Ljava/nio/ByteBuffer;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.http.GZIPContentDecoder._inflated:Ljava/nio/ByteBuffer;
astore 2
start local 2 5: aload 0
aconst_null
putfield org.eclipse.jetty.http.GZIPContentDecoder._inflated:Ljava/nio/ByteBuffer;
6: aload 2
areturn
end local 2 7: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.http.GZIPContentDecoder._inflateds:Ljava/util/List;
aload 0
getfield org.eclipse.jetty.http.GZIPContentDecoder._inflated:Ljava/nio/ByteBuffer;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: aload 0
aconst_null
putfield org.eclipse.jetty.http.GZIPContentDecoder._inflated:Ljava/nio/ByteBuffer;
9: aload 0
getfield org.eclipse.jetty.http.GZIPContentDecoder._inflateds:Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic applyAsInt()Ljava/util/function/ToIntFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)I
java/nio/Buffer.remaining()I (5)
(Ljava/nio/ByteBuffer;)I
invokeinterface java.util.stream.Stream.mapToInt:(Ljava/util/function/ToIntFunction;)Ljava/util/stream/IntStream;
invokeinterface java.util.stream.IntStream.sum:()I
istore 2
start local 2 10: aload 0
iload 2
invokevirtual org.eclipse.jetty.http.GZIPContentDecoder.acquire:(I)Ljava/nio/ByteBuffer;
astore 3
start local 3 11: aload 0
getfield org.eclipse.jetty.http.GZIPContentDecoder._inflateds:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 15
StackMap locals: org.eclipse.jetty.http.GZIPContentDecoder java.nio.ByteBuffer int java.nio.ByteBuffer top java.util.Iterator
StackMap stack:
12: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 4
start local 4 13: aload 3
aload 4
invokestatic org.eclipse.jetty.util.BufferUtil.append:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
pop
14: aload 0
aload 4
invokevirtual org.eclipse.jetty.http.GZIPContentDecoder.release:(Ljava/nio/ByteBuffer;)V
end local 4 15: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
16: aload 0
getfield org.eclipse.jetty.http.GZIPContentDecoder._inflateds:Ljava/util/List;
invokeinterface java.util.List.clear:()V
17: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/eclipse/jetty/http/GZIPContentDecoder;
0 18 1 compressed Ljava/nio/ByteBuffer;
5 7 2 result Ljava/nio/ByteBuffer;
10 18 2 length I
11 18 3 result Ljava/nio/ByteBuffer;
13 15 4 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
compressed
protected boolean decodedChunk(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.http.GZIPContentDecoder._inflated:Ljava/nio/ByteBuffer;
ifnonnull 3
1: aload 0
aload 1
putfield org.eclipse.jetty.http.GZIPContentDecoder._inflated:Ljava/nio/ByteBuffer;
2: goto 9
3: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.http.GZIPContentDecoder._inflated:Ljava/nio/ByteBuffer;
invokestatic org.eclipse.jetty.util.BufferUtil.space:(Ljava/nio/ByteBuffer;)I
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
if_icmplt 7
4: aload 0
getfield org.eclipse.jetty.http.GZIPContentDecoder._inflated:Ljava/nio/ByteBuffer;
aload 1
invokestatic org.eclipse.jetty.util.BufferUtil.append:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
pop
5: aload 0
aload 1
invokevirtual org.eclipse.jetty.http.GZIPContentDecoder.release:(Ljava/nio/ByteBuffer;)V
6: goto 9
7: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.http.GZIPContentDecoder._inflateds:Ljava/util/List;
aload 0
getfield org.eclipse.jetty.http.GZIPContentDecoder._inflated:Ljava/nio/ByteBuffer;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: aload 0
aload 1
putfield org.eclipse.jetty.http.GZIPContentDecoder._inflated:Ljava/nio/ByteBuffer;
9: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/eclipse/jetty/http/GZIPContentDecoder;
0 10 1 chunk Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
chunk
protected void decodeChunks(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tThe method inflate(byte[]) in the type Inflater is not applicable for the arguments (ByteBuffer)\n\tThe method setInput(byte[]) in the type Inflater is not applicable for the arguments (ByteBuffer)\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/http/GZIPContentDecoder;
MethodParameters:
Name Flags
compressed
private void reset();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.http.GZIPContentDecoder._inflater:Ljava/util/zip/Inflater;
invokevirtual java.util.zip.Inflater.reset:()V
1: aload 0
getstatic org.eclipse.jetty.http.GZIPContentDecoder$State.INITIAL:Lorg/eclipse/jetty/http/GZIPContentDecoder$State;
putfield org.eclipse.jetty.http.GZIPContentDecoder._state:Lorg/eclipse/jetty/http/GZIPContentDecoder$State;
2: aload 0
iconst_0
putfield org.eclipse.jetty.http.GZIPContentDecoder._size:I
3: aload 0
lconst_0
putfield org.eclipse.jetty.http.GZIPContentDecoder._value:J
4: aload 0
iconst_0
putfield org.eclipse.jetty.http.GZIPContentDecoder._flags:B
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/http/GZIPContentDecoder;
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.http.GZIPContentDecoder._inflaterEntry:Lorg/eclipse/jetty/util/compression/CompressionPool$Entry;
invokevirtual org.eclipse.jetty.util.compression.CompressionPool$Entry.release:()V
1: aload 0
aconst_null
putfield org.eclipse.jetty.http.GZIPContentDecoder._inflaterEntry:Lorg/eclipse/jetty/util/compression/CompressionPool$Entry;
2: aload 0
aconst_null
putfield org.eclipse.jetty.http.GZIPContentDecoder._inflater:Ljava/util/zip/Inflater;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/http/GZIPContentDecoder;
public boolean isFinished();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.http.GZIPContentDecoder._state:Lorg/eclipse/jetty/http/GZIPContentDecoder$State;
getstatic org.eclipse.jetty.http.GZIPContentDecoder$State.INITIAL:Lorg/eclipse/jetty/http/GZIPContentDecoder$State;
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/http/GZIPContentDecoder;
public java.nio.ByteBuffer acquire(int);
descriptor: (I)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.http.GZIPContentDecoder._pool:Lorg/eclipse/jetty/io/ByteBufferPool;
ifnonnull 1
iload 1
invokestatic org.eclipse.jetty.util.BufferUtil.allocate:(I)Ljava/nio/ByteBuffer;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.eclipse.jetty.http.GZIPContentDecoder._pool:Lorg/eclipse/jetty/io/ByteBufferPool;
iload 1
iconst_0
invokeinterface org.eclipse.jetty.io.ByteBufferPool.acquire:(IZ)Ljava/nio/ByteBuffer;
StackMap locals:
StackMap stack: java.nio.ByteBuffer
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/http/GZIPContentDecoder;
0 3 1 capacity I
MethodParameters:
Name Flags
capacity
public void release(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.http.GZIPContentDecoder._pool:Lorg/eclipse/jetty/io/ByteBufferPool;
ifnull 2
aload 1
invokestatic org.eclipse.jetty.util.BufferUtil.isTheEmptyBuffer:(Ljava/nio/ByteBuffer;)Z
ifne 2
1: aload 0
getfield org.eclipse.jetty.http.GZIPContentDecoder._pool:Lorg/eclipse/jetty/io/ByteBufferPool;
aload 1
invokeinterface org.eclipse.jetty.io.ByteBufferPool.release:(Ljava/nio/ByteBuffer;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/http/GZIPContentDecoder;
0 3 1 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
}
SourceFile: "GZIPContentDecoder.java"
NestMembers:
org.eclipse.jetty.http.GZIPContentDecoder$State
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private final State = org.eclipse.jetty.http.GZIPContentDecoder$State of org.eclipse.jetty.http.GZIPContentDecoder
public Entry = org.eclipse.jetty.util.compression.CompressionPool$Entry of org.eclipse.jetty.util.compression.CompressionPool