public class io.dropwizard.jetty.GzipHandlerFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.jetty.GzipHandlerFactory
super_class: java.lang.Object
{
private boolean enabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private io.dropwizard.util.Size minimumEntitySize;
descriptor: Lio/dropwizard/util/Size;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
javax.validation.constraints.NotNull()
private io.dropwizard.util.Size bufferSize;
descriptor: Lio/dropwizard/util/Size;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
javax.validation.constraints.NotNull()
private java.util.Set<java.lang.String> excludedUserAgentPatterns;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljava/lang/String;>;
private java.util.Set<java.lang.String> compressedMimeTypes;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljava/lang/String;>;
RuntimeVisibleAnnotations:
javax.annotation.Nullable()
private java.util.Set<java.lang.String> includedMethods;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljava/lang/String;>;
RuntimeVisibleAnnotations:
javax.annotation.Nullable()
private int deflateCompressionLevel;
descriptor: I
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
javax.validation.constraints.Min(value = -1)
javax.validation.constraints.Max(value = 9)
private boolean gzipCompatibleInflation;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean syncFlush;
descriptor: Z
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
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield io.dropwizard.jetty.GzipHandlerFactory.enabled:Z
2: aload 0
ldc 256
invokestatic io.dropwizard.util.Size.bytes:(J)Lio/dropwizard/util/Size;
putfield io.dropwizard.jetty.GzipHandlerFactory.minimumEntitySize:Lio/dropwizard/util/Size;
3: aload 0
ldc 8
invokestatic io.dropwizard.util.Size.kilobytes:(J)Lio/dropwizard/util/Size;
putfield io.dropwizard.jetty.GzipHandlerFactory.bufferSize:Lio/dropwizard/util/Size;
4: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield io.dropwizard.jetty.GzipHandlerFactory.excludedUserAgentPatterns:Ljava/util/Set;
5: aload 0
iconst_m1
putfield io.dropwizard.jetty.GzipHandlerFactory.deflateCompressionLevel:I
6: aload 0
iconst_1
putfield io.dropwizard.jetty.GzipHandlerFactory.gzipCompatibleInflation:Z
7: aload 0
iconst_0
putfield io.dropwizard.jetty.GzipHandlerFactory.syncFlush:Z
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/dropwizard/jetty/GzipHandlerFactory;
public boolean isEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jetty.GzipHandlerFactory.enabled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jetty/GzipHandlerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setEnabled(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.GzipHandlerFactory.enabled:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jetty/GzipHandlerFactory;
0 2 1 enabled Z
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
enabled
public io.dropwizard.util.Size getMinimumEntitySize();
descriptor: ()Lio/dropwizard/util/Size;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jetty.GzipHandlerFactory.minimumEntitySize:Lio/dropwizard/util/Size;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jetty/GzipHandlerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setMinimumEntitySize(io.dropwizard.util.Size);
descriptor: (Lio/dropwizard/util/Size;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.dropwizard.util.Size
putfield io.dropwizard.jetty.GzipHandlerFactory.minimumEntitySize:Lio/dropwizard/util/Size;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jetty/GzipHandlerFactory;
0 2 1 size Lio/dropwizard/util/Size;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
size
public io.dropwizard.util.Size getBufferSize();
descriptor: ()Lio/dropwizard/util/Size;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jetty.GzipHandlerFactory.bufferSize:Lio/dropwizard/util/Size;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jetty/GzipHandlerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setBufferSize(io.dropwizard.util.Size);
descriptor: (Lio/dropwizard/util/Size;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.dropwizard.util.Size
putfield io.dropwizard.jetty.GzipHandlerFactory.bufferSize:Lio/dropwizard/util/Size;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jetty/GzipHandlerFactory;
0 2 1 size Lio/dropwizard/util/Size;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
size
public java.util.Set<java.lang.String> getCompressedMimeTypes();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jetty.GzipHandlerFactory.compressedMimeTypes:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jetty/GzipHandlerFactory;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
javax.annotation.Nullable()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
javax.annotation.Nullable()
public void setCompressedMimeTypes(java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;)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 io.dropwizard.jetty.GzipHandlerFactory.compressedMimeTypes:Ljava/util/Set;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jetty/GzipHandlerFactory;
0 2 1 mimeTypes Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/util/Set<Ljava/lang/String;>;)V
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
mimeTypes
public int getDeflateCompressionLevel();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jetty.GzipHandlerFactory.deflateCompressionLevel:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jetty/GzipHandlerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setDeflateCompressionLevel(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.GzipHandlerFactory.deflateCompressionLevel:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jetty/GzipHandlerFactory;
0 2 1 level I
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
level
public boolean isGzipCompatibleInflation();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jetty.GzipHandlerFactory.gzipCompatibleInflation:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jetty/GzipHandlerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setGzipCompatibleInflation(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.GzipHandlerFactory.gzipCompatibleInflation:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jetty/GzipHandlerFactory;
0 2 1 gzipCompatibleInflation Z
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
gzipCompatibleInflation
public java.util.Set<java.lang.String> getExcludedUserAgentPatterns();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jetty.GzipHandlerFactory.excludedUserAgentPatterns:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jetty/GzipHandlerFactory;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public void setExcludedUserAgentPatterns(java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;)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 io.dropwizard.jetty.GzipHandlerFactory.excludedUserAgentPatterns:Ljava/util/Set;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jetty/GzipHandlerFactory;
0 2 1 excludedUserAgentPatterns Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
excludedUserAgentPatterns
public java.util.Set<java.lang.String> getIncludedMethods();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jetty.GzipHandlerFactory.includedMethods:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jetty/GzipHandlerFactory;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
javax.annotation.Nullable()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
javax.annotation.Nullable()
public void setIncludedMethods(java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;)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 io.dropwizard.jetty.GzipHandlerFactory.includedMethods:Ljava/util/Set;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jetty/GzipHandlerFactory;
0 2 1 methods Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/util/Set<Ljava/lang/String;>;)V
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
methods
public boolean isSyncFlush();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jetty.GzipHandlerFactory.syncFlush:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jetty/GzipHandlerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setSyncFlush(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.GzipHandlerFactory.syncFlush:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jetty/GzipHandlerFactory;
0 2 1 syncFlush Z
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
syncFlush
public io.dropwizard.jetty.BiDiGzipHandler build(org.eclipse.jetty.server.Handler);
descriptor: (Lorg/eclipse/jetty/server/Handler;)Lio/dropwizard/jetty/BiDiGzipHandler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new io.dropwizard.jetty.BiDiGzipHandler
dup
invokespecial io.dropwizard.jetty.BiDiGzipHandler.<init>:()V
astore 2
start local 2 1: aload 2
aload 1
invokevirtual io.dropwizard.jetty.BiDiGzipHandler.setHandler:(Lorg/eclipse/jetty/server/Handler;)V
2: aload 2
aload 0
getfield io.dropwizard.jetty.GzipHandlerFactory.minimumEntitySize:Lio/dropwizard/util/Size;
invokevirtual io.dropwizard.util.Size.toBytes:()J
l2i
invokevirtual io.dropwizard.jetty.BiDiGzipHandler.setMinGzipSize:(I)V
3: aload 2
aload 0
getfield io.dropwizard.jetty.GzipHandlerFactory.bufferSize:Lio/dropwizard/util/Size;
invokevirtual io.dropwizard.util.Size.toBytes:()J
l2i
invokevirtual io.dropwizard.jetty.BiDiGzipHandler.setInputBufferSize:(I)V
4: aload 2
aload 0
getfield io.dropwizard.jetty.GzipHandlerFactory.deflateCompressionLevel:I
invokevirtual io.dropwizard.jetty.BiDiGzipHandler.setCompressionLevel:(I)V
5: aload 2
aload 0
getfield io.dropwizard.jetty.GzipHandlerFactory.syncFlush:Z
invokevirtual io.dropwizard.jetty.BiDiGzipHandler.setSyncFlush:(Z)V
6: aload 0
getfield io.dropwizard.jetty.GzipHandlerFactory.compressedMimeTypes:Ljava/util/Set;
ifnull 8
7: aload 2
aload 0
getfield io.dropwizard.jetty.GzipHandlerFactory.compressedMimeTypes:Ljava/util/Set;
ldc Ljava/lang/String;
invokestatic com.google.common.collect.Iterables.toArray:(Ljava/lang/Iterable;Ljava/lang/Class;)[Ljava/lang/Object;
checkcast java.lang.String[]
invokevirtual io.dropwizard.jetty.BiDiGzipHandler.setIncludedMimeTypes:([Ljava/lang/String;)V
8: StackMap locals: io.dropwizard.jetty.BiDiGzipHandler
StackMap stack:
aload 0
getfield io.dropwizard.jetty.GzipHandlerFactory.includedMethods:Ljava/util/Set;
ifnull 10
9: aload 2
aload 0
getfield io.dropwizard.jetty.GzipHandlerFactory.includedMethods:Ljava/util/Set;
ldc Ljava/lang/String;
invokestatic com.google.common.collect.Iterables.toArray:(Ljava/lang/Iterable;Ljava/lang/Class;)[Ljava/lang/Object;
checkcast java.lang.String[]
invokevirtual io.dropwizard.jetty.BiDiGzipHandler.setIncludedMethods:([Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield io.dropwizard.jetty.GzipHandlerFactory.excludedUserAgentPatterns:Ljava/util/Set;
ldc Ljava/lang/String;
invokestatic com.google.common.collect.Iterables.toArray:(Ljava/lang/Iterable;Ljava/lang/Class;)[Ljava/lang/Object;
checkcast java.lang.String[]
invokevirtual io.dropwizard.jetty.BiDiGzipHandler.setExcludedAgentPatterns:([Ljava/lang/String;)V
11: aload 2
aload 0
getfield io.dropwizard.jetty.GzipHandlerFactory.gzipCompatibleInflation:Z
invokevirtual io.dropwizard.jetty.BiDiGzipHandler.setInflateNoWrap:(Z)V
12: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/dropwizard/jetty/GzipHandlerFactory;
0 13 1 handler Lorg/eclipse/jetty/server/Handler;
1 13 2 gzipHandler Lio/dropwizard/jetty/BiDiGzipHandler;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
javax.annotation.Nullable()
RuntimeVisibleParameterAnnotations:
0:
javax.annotation.Nullable()
MethodParameters:
Name Flags
handler
}
SourceFile: "GzipHandlerFactory.java"