public class io.dropwizard.jersey.setup.JerseyEnvironment
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.jersey.setup.JerseyEnvironment
super_class: java.lang.Object
{
private final io.dropwizard.jersey.setup.JerseyContainerHolder holder;
descriptor: Lio/dropwizard/jersey/setup/JerseyContainerHolder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.dropwizard.jersey.DropwizardResourceConfig config;
descriptor: Lio/dropwizard/jersey/DropwizardResourceConfig;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(io.dropwizard.jersey.setup.JerseyContainerHolder, io.dropwizard.jersey.DropwizardResourceConfig);
descriptor: (Lio/dropwizard/jersey/setup/JerseyContainerHolder;Lio/dropwizard/jersey/DropwizardResourceConfig;)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
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.dropwizard.jersey.setup.JerseyEnvironment.holder:Lio/dropwizard/jersey/setup/JerseyContainerHolder;
2: aload 0
aload 2
putfield io.dropwizard.jersey.setup.JerseyEnvironment.config:Lio/dropwizard/jersey/DropwizardResourceConfig;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/dropwizard/jersey/setup/JerseyEnvironment;
0 4 1 holder Lio/dropwizard/jersey/setup/JerseyContainerHolder;
0 4 2 config Lio/dropwizard/jersey/DropwizardResourceConfig;
MethodParameters:
Name Flags
holder
config
public void disable();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jersey.setup.JerseyEnvironment.holder:Lio/dropwizard/jersey/setup/JerseyContainerHolder;
aconst_null
invokevirtual io.dropwizard.jersey.setup.JerseyContainerHolder.setContainer:(Ljavax/servlet/Servlet;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jersey/setup/JerseyEnvironment;
public void replace(com.google.common.base.Function<org.glassfish.jersey.server.ResourceConfig, javax.servlet.Servlet>);
descriptor: (Lcom/google/common/base/Function;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.jersey.setup.JerseyEnvironment.holder:Lio/dropwizard/jersey/setup/JerseyContainerHolder;
aload 1
aload 0
getfield io.dropwizard.jersey.setup.JerseyEnvironment.config:Lio/dropwizard/jersey/DropwizardResourceConfig;
invokeinterface com.google.common.base.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.servlet.Servlet
invokevirtual io.dropwizard.jersey.setup.JerseyContainerHolder.setContainer:(Ljavax/servlet/Servlet;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jersey/setup/JerseyEnvironment;
0 2 1 replace Lcom/google/common/base/Function<Lorg/glassfish/jersey/server/ResourceConfig;Ljavax/servlet/Servlet;>;
Signature: (Lcom/google/common/base/Function<Lorg/glassfish/jersey/server/ResourceConfig;Ljavax/servlet/Servlet;>;)V
MethodParameters:
Name Flags
replace
public void register(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.jersey.setup.JerseyEnvironment.config:Lio/dropwizard/jersey/DropwizardResourceConfig;
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.register:(Ljava/lang/Object;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jersey/setup/JerseyEnvironment;
0 2 1 component Ljava/lang/Object;
MethodParameters:
Name Flags
component
public void register(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.jersey.setup.JerseyEnvironment.config:Lio/dropwizard/jersey/DropwizardResourceConfig;
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.register:(Ljava/lang/Class;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jersey/setup/JerseyEnvironment;
0 2 1 componentClass Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
componentClass
public void packages(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.jersey.setup.JerseyEnvironment.config:Lio/dropwizard/jersey/DropwizardResourceConfig;
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String[]
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.packages:([Ljava/lang/String;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jersey/setup/JerseyEnvironment;
0 2 1 packages [Ljava/lang/String;
MethodParameters:
Name Flags
packages
public void enable(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.jersey.setup.JerseyEnvironment.config:Lio/dropwizard/jersey/DropwizardResourceConfig;
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.property:(Ljava/lang/String;Ljava/lang/Object;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jersey/setup/JerseyEnvironment;
0 2 1 featureName Ljava/lang/String;
MethodParameters:
Name Flags
featureName
public void disable(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.jersey.setup.JerseyEnvironment.config:Lio/dropwizard/jersey/DropwizardResourceConfig;
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.property:(Ljava/lang/String;Ljava/lang/Object;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jersey/setup/JerseyEnvironment;
0 2 1 featureName Ljava/lang/String;
MethodParameters:
Name Flags
featureName
public void property(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)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
getfield io.dropwizard.jersey.setup.JerseyEnvironment.config:Lio/dropwizard/jersey/DropwizardResourceConfig;
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
aload 2
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.property:(Ljava/lang/String;Ljava/lang/Object;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jersey/setup/JerseyEnvironment;
0 2 1 name Ljava/lang/String;
0 2 2 value Ljava/lang/Object;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
javax.annotation.Nullable()
RuntimeVisibleParameterAnnotations:
0:
1:
javax.annotation.Nullable()
MethodParameters:
Name Flags
name
value
public <T> T getProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.jersey.setup.JerseyEnvironment.config:Lio/dropwizard/jersey/DropwizardResourceConfig;
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.getProperties:()Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jersey/setup/JerseyEnvironment;
0 1 1 name Ljava/lang/String;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;)TT;
RuntimeVisibleAnnotations:
javax.annotation.Nullable()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
javax.annotation.Nullable()
MethodParameters:
Name Flags
name
public java.lang.String getUrlPattern();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jersey.setup.JerseyEnvironment.config:Lio/dropwizard/jersey/DropwizardResourceConfig;
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.getUrlPattern:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jersey/setup/JerseyEnvironment;
public void setUrlPattern(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 1
astore 2
start local 2 1: aload 2
ldc "*"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 3
aload 2
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 3
2: 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 2
3: StackMap locals: java.lang.String
StackMap stack:
aload 2
ldc "*"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 5
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 2
5: StackMap locals:
StackMap stack:
aload 0
getfield io.dropwizard.jersey.setup.JerseyEnvironment.config:Lio/dropwizard/jersey/DropwizardResourceConfig;
aload 2
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.setUrlPattern:(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 Lio/dropwizard/jersey/setup/JerseyEnvironment;
0 7 1 urlPattern Ljava/lang/String;
1 7 2 normalizedUrlPattern Ljava/lang/String;
MethodParameters:
Name Flags
urlPattern
public io.dropwizard.jersey.DropwizardResourceConfig getResourceConfig();
descriptor: ()Lio/dropwizard/jersey/DropwizardResourceConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jersey.setup.JerseyEnvironment.config:Lio/dropwizard/jersey/DropwizardResourceConfig;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jersey/setup/JerseyEnvironment;
}
SourceFile: "JerseyEnvironment.java"