public class io.dropwizard.jetty.BiDiGzipHandler extends org.eclipse.jetty.server.handler.gzip.GzipHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.jetty.BiDiGzipHandler
super_class: org.eclipse.jetty.server.handler.gzip.GzipHandler
{
private static final java.lang.ThreadLocal<java.util.zip.Inflater> localInflater;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Ljava/util/zip/Inflater;>;
private int inputBufferSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean inflateNoWrap;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putstatic io.dropwizard.jetty.BiDiGzipHandler.localInflater:Ljava/lang/ThreadLocal;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.eclipse.jetty.server.handler.gzip.GzipHandler.<init>:()V
1: aload 0
sipush 8192
putfield io.dropwizard.jetty.BiDiGzipHandler.inputBufferSize:I
2: aload 0
iconst_1
putfield io.dropwizard.jetty.BiDiGzipHandler.inflateNoWrap:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/dropwizard/jetty/BiDiGzipHandler;
public boolean isInflateNoWrap();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jetty.BiDiGzipHandler.inflateNoWrap:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jetty/BiDiGzipHandler;
public void setInflateNoWrap(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield io.dropwizard.jetty.BiDiGzipHandler.inflateNoWrap:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jetty/BiDiGzipHandler;
0 2 1 inflateNoWrap Z
MethodParameters:
Name Flags
inflateNoWrap
public void setInputBufferSize(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield io.dropwizard.jetty.BiDiGzipHandler.inputBufferSize:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jetty/BiDiGzipHandler;
0 2 1 inputBufferSize I
MethodParameters:
Name Flags
inputBufferSize
public void handle(java.lang.String, org.eclipse.jetty.server.Request, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse);
descriptor: (Ljava/lang/String;Lorg/eclipse/jetty/server/Request;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
getstatic org.eclipse.jetty.http.HttpHeader.CONTENT_ENCODING:Lorg/eclipse/jetty/http/HttpHeader;
invokevirtual org.eclipse.jetty.http.HttpHeader.asString:()Ljava/lang/String;
invokeinterface javax.servlet.http.HttpServletRequest.getHeader:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 1: ldc "gzip"
aload 5
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
2: aload 0
aload 1
aload 2
aload 0
aload 0
aload 3
invokevirtual io.dropwizard.jetty.BiDiGzipHandler.removeContentHeaders:(Ljavax/servlet/http/HttpServletRequest;)Ljavax/servlet/http/HttpServletRequest;
invokevirtual io.dropwizard.jetty.BiDiGzipHandler.wrapGzippedRequest:(Ljavax/servlet/http/HttpServletRequest;)Lio/dropwizard/jetty/BiDiGzipHandler$WrappedServletRequest;
aload 4
invokespecial org.eclipse.jetty.server.handler.gzip.GzipHandler.handle:(Ljava/lang/String;Lorg/eclipse/jetty/server/Request;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
3: goto 8
StackMap locals: java.lang.String
StackMap stack:
4: ldc "deflate"
aload 5
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 7
5: aload 0
aload 1
aload 2
aload 0
aload 0
aload 3
invokevirtual io.dropwizard.jetty.BiDiGzipHandler.removeContentHeaders:(Ljavax/servlet/http/HttpServletRequest;)Ljavax/servlet/http/HttpServletRequest;
invokevirtual io.dropwizard.jetty.BiDiGzipHandler.wrapDeflatedRequest:(Ljavax/servlet/http/HttpServletRequest;)Lio/dropwizard/jetty/BiDiGzipHandler$WrappedServletRequest;
aload 4
invokespecial org.eclipse.jetty.server.handler.gzip.GzipHandler.handle:(Ljava/lang/String;Lorg/eclipse/jetty/server/Request;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
aload 4
invokespecial org.eclipse.jetty.server.handler.gzip.GzipHandler.handle:(Ljava/lang/String;Lorg/eclipse/jetty/server/Request;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
8: StackMap locals:
StackMap stack:
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 9 0 this Lio/dropwizard/jetty/BiDiGzipHandler;
0 9 1 target Ljava/lang/String;
0 9 2 baseRequest Lorg/eclipse/jetty/server/Request;
0 9 3 request Ljavax/servlet/http/HttpServletRequest;
0 9 4 response Ljavax/servlet/http/HttpServletResponse;
1 9 5 encoding Ljava/lang/String;
Exceptions:
throws java.io.IOException, javax.servlet.ServletException
MethodParameters:
Name Flags
target
baseRequest
request
response
private java.util.zip.Inflater buildInflater();
descriptor: ()Ljava/util/zip/Inflater;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic io.dropwizard.jetty.BiDiGzipHandler.localInflater:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.zip.Inflater
astore 1
start local 1 1: aload 1
ifnull 5
2: getstatic io.dropwizard.jetty.BiDiGzipHandler.localInflater:Ljava/lang/ThreadLocal;
aconst_null
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
3: aload 1
invokevirtual java.util.zip.Inflater.reset:()V
4: aload 1
areturn
5: StackMap locals: java.util.zip.Inflater
StackMap stack:
new java.util.zip.Inflater
dup
aload 0
getfield io.dropwizard.jetty.BiDiGzipHandler.inflateNoWrap:Z
invokespecial java.util.zip.Inflater.<init>:(Z)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/dropwizard/jetty/BiDiGzipHandler;
1 6 1 inflater Ljava/util/zip/Inflater;
private io.dropwizard.jetty.BiDiGzipHandler$WrappedServletRequest wrapDeflatedRequest(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)Lio/dropwizard/jetty/BiDiGzipHandler$WrappedServletRequest;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.dropwizard.jetty.BiDiGzipHandler.buildInflater:()Ljava/util/zip/Inflater;
astore 2
start local 2 1: new io.dropwizard.jetty.BiDiGzipHandler$1
dup
aload 0
aload 1
invokeinterface javax.servlet.http.HttpServletRequest.getInputStream:()Ljavax/servlet/ServletInputStream;
aload 2
aload 0
getfield io.dropwizard.jetty.BiDiGzipHandler.inputBufferSize:I
aload 2
invokespecial io.dropwizard.jetty.BiDiGzipHandler$1.<init>:(Lio/dropwizard/jetty/BiDiGzipHandler;Ljava/io/InputStream;Ljava/util/zip/Inflater;ILjava/util/zip/Inflater;)V
astore 3
start local 3 2: new io.dropwizard.jetty.BiDiGzipHandler$WrappedServletRequest
dup
aload 1
new io.dropwizard.jetty.ZipExceptionHandlingInputStream
dup
aload 3
ldc "deflate"
invokespecial io.dropwizard.jetty.ZipExceptionHandlingInputStream.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
invokespecial io.dropwizard.jetty.BiDiGzipHandler$WrappedServletRequest.<init>:(Ljavax/servlet/http/HttpServletRequest;Ljava/io/InputStream;)V
3: areturn
end local 3 4: StackMap locals: io.dropwizard.jetty.BiDiGzipHandler javax.servlet.http.HttpServletRequest java.util.zip.Inflater
StackMap stack: java.io.IOException
astore 3
start local 3 5: ldc "deflate"
aload 3
invokestatic io.dropwizard.jetty.ZipExceptionHandlingInputStream.handleException:(Ljava/lang/String;Ljava/io/IOException;)Lorg/eclipse/jetty/http/BadMessageException;
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/dropwizard/jetty/BiDiGzipHandler;
0 6 1 request Ljavax/servlet/http/HttpServletRequest;
1 6 2 inflater Ljava/util/zip/Inflater;
2 4 3 input Ljava/util/zip/InflaterInputStream;
5 6 3 e Ljava/io/IOException;
Exception table:
from to target type
1 3 4 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
request
private io.dropwizard.jetty.BiDiGzipHandler$WrappedServletRequest wrapGzippedRequest(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)Lio/dropwizard/jetty/BiDiGzipHandler$WrappedServletRequest;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: new java.util.zip.GZIPInputStream
dup
aload 1
invokeinterface javax.servlet.http.HttpServletRequest.getInputStream:()Ljavax/servlet/ServletInputStream;
aload 0
getfield io.dropwizard.jetty.BiDiGzipHandler.inputBufferSize:I
invokespecial java.util.zip.GZIPInputStream.<init>:(Ljava/io/InputStream;I)V
astore 2
start local 2 1: new io.dropwizard.jetty.BiDiGzipHandler$WrappedServletRequest
dup
aload 1
new io.dropwizard.jetty.ZipExceptionHandlingInputStream
dup
aload 2
ldc "gzip"
invokespecial io.dropwizard.jetty.ZipExceptionHandlingInputStream.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
invokespecial io.dropwizard.jetty.BiDiGzipHandler$WrappedServletRequest.<init>:(Ljavax/servlet/http/HttpServletRequest;Ljava/io/InputStream;)V
2: areturn
end local 2 3: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 4: ldc "gzip"
aload 2
invokestatic io.dropwizard.jetty.ZipExceptionHandlingInputStream.handleException:(Ljava/lang/String;Ljava/io/IOException;)Lorg/eclipse/jetty/http/BadMessageException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/dropwizard/jetty/BiDiGzipHandler;
0 5 1 request Ljavax/servlet/http/HttpServletRequest;
1 3 2 input Ljava/util/zip/GZIPInputStream;
4 5 2 e Ljava/io/IOException;
Exception table:
from to target type
0 2 3 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
request
private javax.servlet.http.HttpServletRequest removeContentHeaders(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)Ljavax/servlet/http/HttpServletRequest;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new io.dropwizard.jetty.BiDiGzipHandler$RemoveHttpHeadersWrapper
dup
aload 1
invokedynamic compare()Ljava/util/Comparator;
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;Ljava/lang/Object;)I
java/lang/String.compareToIgnoreCase(Ljava/lang/String;)I (5)
(Ljava/lang/String;Ljava/lang/String;)I
invokestatic com.google.common.collect.ImmutableSortedSet.orderedBy:(Ljava/util/Comparator;)Lcom/google/common/collect/ImmutableSortedSet$Builder;
1: getstatic org.eclipse.jetty.http.HttpHeader.CONTENT_ENCODING:Lorg/eclipse/jetty/http/HttpHeader;
invokevirtual org.eclipse.jetty.http.HttpHeader.asString:()Ljava/lang/String;
invokevirtual com.google.common.collect.ImmutableSortedSet$Builder.add:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedSet$Builder;
2: getstatic org.eclipse.jetty.http.HttpHeader.CONTENT_LENGTH:Lorg/eclipse/jetty/http/HttpHeader;
invokevirtual org.eclipse.jetty.http.HttpHeader.asString:()Ljava/lang/String;
invokevirtual com.google.common.collect.ImmutableSortedSet$Builder.add:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedSet$Builder;
3: invokevirtual com.google.common.collect.ImmutableSortedSet$Builder.build:()Lcom/google/common/collect/ImmutableSortedSet;
4: invokespecial io.dropwizard.jetty.BiDiGzipHandler$RemoveHttpHeadersWrapper.<init>:(Ljavax/servlet/http/HttpServletRequest;Lcom/google/common/collect/ImmutableSortedSet;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/dropwizard/jetty/BiDiGzipHandler;
0 5 1 request Ljavax/servlet/http/HttpServletRequest;
MethodParameters:
Name Flags
request final
}
SourceFile: "BiDiGzipHandler.java"
NestMembers:
io.dropwizard.jetty.BiDiGzipHandler$1 io.dropwizard.jetty.BiDiGzipHandler$RemoveHttpHeadersWrapper io.dropwizard.jetty.BiDiGzipHandler$WrappedServletInputStream io.dropwizard.jetty.BiDiGzipHandler$WrappedServletRequest
InnerClasses:
public final Builder = com.google.common.collect.ImmutableSortedSet$Builder of com.google.common.collect.ImmutableSortedSet
io.dropwizard.jetty.BiDiGzipHandler$1
private RemoveHttpHeadersWrapper = io.dropwizard.jetty.BiDiGzipHandler$RemoveHttpHeadersWrapper of io.dropwizard.jetty.BiDiGzipHandler
private WrappedServletInputStream = io.dropwizard.jetty.BiDiGzipHandler$WrappedServletInputStream of io.dropwizard.jetty.BiDiGzipHandler
private WrappedServletRequest = io.dropwizard.jetty.BiDiGzipHandler$WrappedServletRequest of io.dropwizard.jetty.BiDiGzipHandler
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles