public abstract class io.dropwizard.server.AbstractServerFactory implements io.dropwizard.server.ServerFactory
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.dropwizard.server.AbstractServerFactory
super_class: java.lang.Object
{
private static final org.slf4j.Logger LOGGER;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.regex.Pattern WINDOWS_NEWLINE;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private io.dropwizard.request.logging.RequestLogFactory requestLog;
descriptor: Lio/dropwizard/request/logging/RequestLogFactory;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
javax.validation.Valid()
javax.annotation.Nullable()
private io.dropwizard.jetty.GzipHandlerFactory gzip;
descriptor: Lio/dropwizard/jetty/GzipHandlerFactory;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
javax.validation.Valid()
javax.validation.constraints.NotNull()
private io.dropwizard.jetty.ServerPushFilterFactory serverPush;
descriptor: Lio/dropwizard/jetty/ServerPushFilterFactory;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
javax.validation.Valid()
javax.validation.constraints.NotNull()
private int maxThreads;
descriptor: I
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
javax.validation.constraints.Min(value = 2)
private int minThreads;
descriptor: I
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
javax.validation.constraints.Min(value = 1)
private int maxQueuedRequests;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private io.dropwizard.util.Duration idleThreadTimeout;
descriptor: Lio/dropwizard/util/Duration;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
io.dropwizard.validation.MinDuration(value = 1)
RuntimeVisibleTypeAnnotations:
FIELD
io.dropwizard.validation.MinDuration(value = 1)
private java.lang.Integer nofileSoftLimit;
descriptor: Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
javax.validation.constraints.Min(value = 1)
javax.annotation.Nullable()
private java.lang.Integer nofileHardLimit;
descriptor: Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
javax.validation.constraints.Min(value = 1)
javax.annotation.Nullable()
private java.lang.Integer gid;
descriptor: Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
javax.annotation.Nullable()
private java.lang.Integer uid;
descriptor: Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
javax.annotation.Nullable()
private java.lang.String user;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
javax.annotation.Nullable()
private java.lang.String group;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
javax.annotation.Nullable()
private java.lang.String umask;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
javax.annotation.Nullable()
private java.lang.Boolean startsAsRoot;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
javax.annotation.Nullable()
private java.lang.Boolean registerDefaultExceptionMappers;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
private java.lang.Boolean detailedJsonProcessingExceptionMapper;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
private io.dropwizard.util.Duration shutdownGracePeriod;
descriptor: Lio/dropwizard/util/Duration;
flags: (0x0002) ACC_PRIVATE
private java.util.Set<java.lang.String> allowedMethods;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljava/lang/String;>;
RuntimeVisibleAnnotations:
javax.validation.constraints.NotNull()
private java.util.Optional<java.lang.String> jerseyRootPath;
descriptor: Ljava/util/Optional;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Optional<Ljava/lang/String;>;
private boolean enableThreadNameFilter;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/dropwizard/server/ServerFactory;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic io.dropwizard.server.AbstractServerFactory.LOGGER:Lorg/slf4j/Logger;
1: ldc "\\r\\n?"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic io.dropwizard.server.AbstractServerFactory.WINDOWS_NEWLINE:Ljava/util/regex/Pattern;
return
LocalVariableTable:
Start End Slot Name Signature
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
new io.dropwizard.jetty.GzipHandlerFactory
dup
invokespecial io.dropwizard.jetty.GzipHandlerFactory.<init>:()V
putfield io.dropwizard.server.AbstractServerFactory.gzip:Lio/dropwizard/jetty/GzipHandlerFactory;
2: aload 0
new io.dropwizard.jetty.ServerPushFilterFactory
dup
invokespecial io.dropwizard.jetty.ServerPushFilterFactory.<init>:()V
putfield io.dropwizard.server.AbstractServerFactory.serverPush:Lio/dropwizard/jetty/ServerPushFilterFactory;
3: aload 0
sipush 1024
putfield io.dropwizard.server.AbstractServerFactory.maxThreads:I
4: aload 0
bipush 8
putfield io.dropwizard.server.AbstractServerFactory.minThreads:I
5: aload 0
sipush 1024
putfield io.dropwizard.server.AbstractServerFactory.maxQueuedRequests:I
6: aload 0
lconst_1
invokestatic io.dropwizard.util.Duration.minutes:(J)Lio/dropwizard/util/Duration;
putfield io.dropwizard.server.AbstractServerFactory.idleThreadTimeout:Lio/dropwizard/util/Duration;
7: aload 0
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
putfield io.dropwizard.server.AbstractServerFactory.registerDefaultExceptionMappers:Ljava/lang/Boolean;
8: aload 0
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
putfield io.dropwizard.server.AbstractServerFactory.detailedJsonProcessingExceptionMapper:Ljava/lang/Boolean;
9: aload 0
ldc 30
invokestatic io.dropwizard.util.Duration.seconds:(J)Lio/dropwizard/util/Duration;
putfield io.dropwizard.server.AbstractServerFactory.shutdownGracePeriod:Lio/dropwizard/util/Duration;
10: aload 0
getstatic io.dropwizard.jersey.filter.AllowedMethodsFilter.DEFAULT_ALLOWED_METHODS:Lcom/google/common/collect/ImmutableSet;
putfield io.dropwizard.server.AbstractServerFactory.allowedMethods:Ljava/util/Set;
11: aload 0
invokestatic java.util.Optional.empty:()Ljava/util/Optional;
putfield io.dropwizard.server.AbstractServerFactory.jerseyRootPath:Ljava/util/Optional;
12: aload 0
iconst_1
putfield io.dropwizard.server.AbstractServerFactory.enableThreadNameFilter:Z
13: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/dropwizard/server/AbstractServerFactory;
public boolean isThreadPoolSizedCorrectly();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.server.AbstractServerFactory.minThreads:I
aload 0
getfield io.dropwizard.server.AbstractServerFactory.maxThreads:I
if_icmpgt 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 Lio/dropwizard/server/AbstractServerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonIgnore()
io.dropwizard.validation.ValidationMethod(message = "must have a smaller minThreads than maxThreads")
public synchronized io.dropwizard.request.logging.RequestLogFactory getRequestLogFactory();
descriptor: ()Lio/dropwizard/request/logging/RequestLogFactory;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.server.AbstractServerFactory.requestLog:Lio/dropwizard/request/logging/RequestLogFactory;
ifnonnull 2
1: aload 0
new io.dropwizard.request.logging.LogbackAccessRequestLogFactory
dup
invokespecial io.dropwizard.request.logging.LogbackAccessRequestLogFactory.<init>:()V
putfield io.dropwizard.server.AbstractServerFactory.requestLog:Lio/dropwizard/request/logging/RequestLogFactory;
2: StackMap locals:
StackMap stack:
aload 0
getfield io.dropwizard.server.AbstractServerFactory.requestLog:Lio/dropwizard/request/logging/RequestLogFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/dropwizard/server/AbstractServerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty(value = "requestLog")
public synchronized void setRequestLogFactory(io.dropwizard.request.logging.RequestLogFactory);
descriptor: (Lio/dropwizard/request/logging/RequestLogFactory;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.dropwizard.server.AbstractServerFactory.requestLog:Lio/dropwizard/request/logging/RequestLogFactory;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/AbstractServerFactory;
0 2 1 requestLog Lio/dropwizard/request/logging/RequestLogFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty(value = "requestLog")
MethodParameters:
Name Flags
requestLog
public io.dropwizard.jetty.GzipHandlerFactory getGzipFilterFactory();
descriptor: ()Lio/dropwizard/jetty/GzipHandlerFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.server.AbstractServerFactory.gzip:Lio/dropwizard/jetty/GzipHandlerFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/AbstractServerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty(value = "gzip")
public void setGzipFilterFactory(io.dropwizard.jetty.GzipHandlerFactory);
descriptor: (Lio/dropwizard/jetty/GzipHandlerFactory;)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.server.AbstractServerFactory.gzip:Lio/dropwizard/jetty/GzipHandlerFactory;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/AbstractServerFactory;
0 2 1 gzip Lio/dropwizard/jetty/GzipHandlerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty(value = "gzip")
MethodParameters:
Name Flags
gzip
public io.dropwizard.jetty.ServerPushFilterFactory getServerPush();
descriptor: ()Lio/dropwizard/jetty/ServerPushFilterFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.server.AbstractServerFactory.serverPush:Lio/dropwizard/jetty/ServerPushFilterFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/AbstractServerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty(value = "serverPush")
public void setServerPush(io.dropwizard.jetty.ServerPushFilterFactory);
descriptor: (Lio/dropwizard/jetty/ServerPushFilterFactory;)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.server.AbstractServerFactory.serverPush:Lio/dropwizard/jetty/ServerPushFilterFactory;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/AbstractServerFactory;
0 2 1 serverPush Lio/dropwizard/jetty/ServerPushFilterFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty(value = "serverPush")
MethodParameters:
Name Flags
serverPush
public int getMaxThreads();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.server.AbstractServerFactory.maxThreads:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/AbstractServerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setMaxThreads(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.server.AbstractServerFactory.maxThreads:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/AbstractServerFactory;
0 2 1 count I
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
count
public int getMinThreads();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.server.AbstractServerFactory.minThreads:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/AbstractServerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setMinThreads(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.server.AbstractServerFactory.minThreads:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/AbstractServerFactory;
0 2 1 count I
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
count
public int getMaxQueuedRequests();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.server.AbstractServerFactory.maxQueuedRequests:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/AbstractServerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setMaxQueuedRequests(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.server.AbstractServerFactory.maxQueuedRequests:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/AbstractServerFactory;
0 2 1 maxQueuedRequests I
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
maxQueuedRequests
public io.dropwizard.util.Duration getIdleThreadTimeout();
descriptor: ()Lio/dropwizard/util/Duration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.server.AbstractServerFactory.idleThreadTimeout:Lio/dropwizard/util/Duration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/AbstractServerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setIdleThreadTimeout(io.dropwizard.util.Duration);
descriptor: (Lio/dropwizard/util/Duration;)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.server.AbstractServerFactory.idleThreadTimeout:Lio/dropwizard/util/Duration;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/AbstractServerFactory;
0 2 1 idleThreadTimeout Lio/dropwizard/util/Duration;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
idleThreadTimeout
public java.lang.Integer getNofileSoftLimit();
descriptor: ()Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.server.AbstractServerFactory.nofileSoftLimit:Ljava/lang/Integer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/AbstractServerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
javax.annotation.Nullable()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
javax.annotation.Nullable()
public void setNofileSoftLimit(java.lang.Integer);
descriptor: (Ljava/lang/Integer;)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.server.AbstractServerFactory.nofileSoftLimit:Ljava/lang/Integer;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/AbstractServerFactory;
0 2 1 nofileSoftLimit Ljava/lang/Integer;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
nofileSoftLimit
public java.lang.Integer getNofileHardLimit();
descriptor: ()Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.server.AbstractServerFactory.nofileHardLimit:Ljava/lang/Integer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/AbstractServerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
javax.annotation.Nullable()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
javax.annotation.Nullable()
public void setNofileHardLimit(java.lang.Integer);
descriptor: (Ljava/lang/Integer;)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.server.AbstractServerFactory.nofileHardLimit:Ljava/lang/Integer;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/AbstractServerFactory;
0 2 1 nofileHardLimit Ljava/lang/Integer;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
nofileHardLimit
public java.lang.Integer getGid();
descriptor: ()Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.server.AbstractServerFactory.gid:Ljava/lang/Integer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/AbstractServerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
javax.annotation.Nullable()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
javax.annotation.Nullable()
public void setGid(java.lang.Integer);
descriptor: (Ljava/lang/Integer;)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.server.AbstractServerFactory.gid:Ljava/lang/Integer;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/AbstractServerFactory;
0 2 1 gid Ljava/lang/Integer;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
gid
public java.lang.Integer getUid();
descriptor: ()Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.server.AbstractServerFactory.uid:Ljava/lang/Integer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/AbstractServerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
javax.annotation.Nullable()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
javax.annotation.Nullable()
public void setUid(java.lang.Integer);
descriptor: (Ljava/lang/Integer;)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.server.AbstractServerFactory.uid:Ljava/lang/Integer;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/AbstractServerFactory;
0 2 1 uid Ljava/lang/Integer;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
uid
public java.lang.String getUser();
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.server.AbstractServerFactory.user:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/AbstractServerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
javax.annotation.Nullable()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
javax.annotation.Nullable()
public void setUser(java.lang.String);
descriptor: (Ljava/lang/String;)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.server.AbstractServerFactory.user:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/AbstractServerFactory;
0 2 1 user Ljava/lang/String;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
user
public java.lang.String getGroup();
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.server.AbstractServerFactory.group:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/AbstractServerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
javax.annotation.Nullable()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
javax.annotation.Nullable()
public void setGroup(java.lang.String);
descriptor: (Ljava/lang/String;)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.server.AbstractServerFactory.group:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/AbstractServerFactory;
0 2 1 group Ljava/lang/String;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
group
public java.lang.String getUmask();
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.server.AbstractServerFactory.umask:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/AbstractServerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
javax.annotation.Nullable()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
javax.annotation.Nullable()
public void setUmask(java.lang.String);
descriptor: (Ljava/lang/String;)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.server.AbstractServerFactory.umask:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/AbstractServerFactory;
0 2 1 umask Ljava/lang/String;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
umask
public java.lang.Boolean getStartsAsRoot();
descriptor: ()Ljava/lang/Boolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.server.AbstractServerFactory.startsAsRoot:Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/AbstractServerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
javax.annotation.Nullable()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
javax.annotation.Nullable()
public void setStartsAsRoot(java.lang.Boolean);
descriptor: (Ljava/lang/Boolean;)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.server.AbstractServerFactory.startsAsRoot:Ljava/lang/Boolean;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/AbstractServerFactory;
0 2 1 startsAsRoot Ljava/lang/Boolean;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
startsAsRoot
public java.lang.Boolean getRegisterDefaultExceptionMappers();
descriptor: ()Ljava/lang/Boolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.server.AbstractServerFactory.registerDefaultExceptionMappers:Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/AbstractServerFactory;
public void setRegisterDefaultExceptionMappers(java.lang.Boolean);
descriptor: (Ljava/lang/Boolean;)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.server.AbstractServerFactory.registerDefaultExceptionMappers:Ljava/lang/Boolean;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/AbstractServerFactory;
0 2 1 registerDefaultExceptionMappers Ljava/lang/Boolean;
MethodParameters:
Name Flags
registerDefaultExceptionMappers
public java.lang.Boolean getDetailedJsonProcessingExceptionMapper();
descriptor: ()Ljava/lang/Boolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.server.AbstractServerFactory.detailedJsonProcessingExceptionMapper:Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/AbstractServerFactory;
public void setDetailedJsonProcessingExceptionMapper(java.lang.Boolean);
descriptor: (Ljava/lang/Boolean;)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.server.AbstractServerFactory.detailedJsonProcessingExceptionMapper:Ljava/lang/Boolean;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/AbstractServerFactory;
0 2 1 detailedJsonProcessingExceptionMapper Ljava/lang/Boolean;
MethodParameters:
Name Flags
detailedJsonProcessingExceptionMapper
public io.dropwizard.util.Duration getShutdownGracePeriod();
descriptor: ()Lio/dropwizard/util/Duration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.server.AbstractServerFactory.shutdownGracePeriod:Lio/dropwizard/util/Duration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/AbstractServerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setShutdownGracePeriod(io.dropwizard.util.Duration);
descriptor: (Lio/dropwizard/util/Duration;)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.server.AbstractServerFactory.shutdownGracePeriod:Lio/dropwizard/util/Duration;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/AbstractServerFactory;
0 2 1 shutdownGracePeriod Lio/dropwizard/util/Duration;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
shutdownGracePeriod
public java.util.Set<java.lang.String> getAllowedMethods();
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.server.AbstractServerFactory.allowedMethods:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/AbstractServerFactory;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setAllowedMethods(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.server.AbstractServerFactory.allowedMethods:Ljava/util/Set;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/AbstractServerFactory;
0 2 1 allowedMethods Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/util/Set<Ljava/lang/String;>;)V
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
allowedMethods
public java.util.Optional<java.lang.String> getJerseyRootPath();
descriptor: ()Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.server.AbstractServerFactory.jerseyRootPath:Ljava/util/Optional;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/AbstractServerFactory;
Signature: ()Ljava/util/Optional<Ljava/lang/String;>;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty(value = "rootPath")
public void setJerseyRootPath(java.lang.String);
descriptor: (Ljava/lang/String;)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.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
putfield io.dropwizard.server.AbstractServerFactory.jerseyRootPath:Ljava/util/Optional;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/AbstractServerFactory;
0 2 1 jerseyRootPath Ljava/lang/String;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty(value = "rootPath")
MethodParameters:
Name Flags
jerseyRootPath
public boolean getEnableThreadNameFilter();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.server.AbstractServerFactory.enableThreadNameFilter:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/AbstractServerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setEnableThreadNameFilter(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.server.AbstractServerFactory.enableThreadNameFilter:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/AbstractServerFactory;
0 2 1 enableThreadNameFilter Z
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
enableThreadNameFilter
protected org.eclipse.jetty.server.Handler createAdminServlet(org.eclipse.jetty.server.Server, io.dropwizard.jetty.MutableServletContextHandler, com.codahale.metrics.MetricRegistry, com.codahale.metrics.health.HealthCheckRegistry);
descriptor: (Lorg/eclipse/jetty/server/Server;Lio/dropwizard/jetty/MutableServletContextHandler;Lcom/codahale/metrics/MetricRegistry;Lcom/codahale/metrics/health/HealthCheckRegistry;)Lorg/eclipse/jetty/server/Handler;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 2
aload 1
invokevirtual io.dropwizard.server.AbstractServerFactory.configureSessionsAndSecurity:(Lio/dropwizard/jetty/MutableServletContextHandler;Lorg/eclipse/jetty/server/Server;)V
1: aload 2
aload 1
invokevirtual io.dropwizard.jetty.MutableServletContextHandler.setServer:(Lorg/eclipse/jetty/server/Server;)V
2: aload 2
invokevirtual io.dropwizard.jetty.MutableServletContextHandler.getServletContext:()Lorg/eclipse/jetty/server/handler/ContextHandler$Context;
getstatic com.codahale.metrics.servlets.MetricsServlet.METRICS_REGISTRY:Ljava/lang/String;
aload 3
invokevirtual org.eclipse.jetty.server.handler.ContextHandler$Context.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
3: aload 2
invokevirtual io.dropwizard.jetty.MutableServletContextHandler.getServletContext:()Lorg/eclipse/jetty/server/handler/ContextHandler$Context;
getstatic com.codahale.metrics.servlets.HealthCheckServlet.HEALTH_CHECK_REGISTRY:Ljava/lang/String;
aload 4
invokevirtual org.eclipse.jetty.server.handler.ContextHandler$Context.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
4: aload 2
new io.dropwizard.jetty.NonblockingServletHolder
dup
new com.codahale.metrics.servlets.AdminServlet
dup
invokespecial com.codahale.metrics.servlets.AdminServlet.<init>:()V
invokespecial io.dropwizard.jetty.NonblockingServletHolder.<init>:(Ljavax/servlet/Servlet;)V
ldc "/*"
invokevirtual io.dropwizard.jetty.MutableServletContextHandler.addServlet:(Lorg/eclipse/jetty/servlet/ServletHolder;Ljava/lang/String;)V
5: aload 2
ldc Lio/dropwizard/jersey/filter/AllowedMethodsFilter;
ldc "/*"
getstatic javax.servlet.DispatcherType.REQUEST:Ljavax/servlet/DispatcherType;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;)Ljava/util/EnumSet;
invokevirtual io.dropwizard.jetty.MutableServletContextHandler.addFilter:(Ljava/lang/Class;Ljava/lang/String;Ljava/util/EnumSet;)Lorg/eclipse/jetty/servlet/FilterHolder;
6: ldc "allowedMethods"
bipush 44
invokestatic com.google.common.base.Joiner.on:(C)Lcom/google/common/base/Joiner;
aload 0
getfield io.dropwizard.server.AbstractServerFactory.allowedMethods:Ljava/util/Set;
invokevirtual com.google.common.base.Joiner.join:(Ljava/lang/Iterable;)Ljava/lang/String;
invokevirtual org.eclipse.jetty.servlet.FilterHolder.setInitParameter:(Ljava/lang/String;Ljava/lang/String;)V
7: aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/dropwizard/server/AbstractServerFactory;
0 8 1 server Lorg/eclipse/jetty/server/Server;
0 8 2 handler Lio/dropwizard/jetty/MutableServletContextHandler;
0 8 3 metrics Lcom/codahale/metrics/MetricRegistry;
0 8 4 healthChecks Lcom/codahale/metrics/health/HealthCheckRegistry;
MethodParameters:
Name Flags
server
handler
metrics
healthChecks
private void configureSessionsAndSecurity(io.dropwizard.jetty.MutableServletContextHandler, org.eclipse.jetty.server.Server);
descriptor: (Lio/dropwizard/jetty/MutableServletContextHandler;Lorg/eclipse/jetty/server/Server;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokevirtual io.dropwizard.jetty.MutableServletContextHandler.setServer:(Lorg/eclipse/jetty/server/Server;)V
1: aload 1
invokevirtual io.dropwizard.jetty.MutableServletContextHandler.isSecurityEnabled:()Z
ifeq 3
2: aload 1
invokevirtual io.dropwizard.jetty.MutableServletContextHandler.getSecurityHandler:()Lorg/eclipse/jetty/security/SecurityHandler;
aload 2
invokevirtual org.eclipse.jetty.security.SecurityHandler.setServer:(Lorg/eclipse/jetty/server/Server;)V
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual io.dropwizard.jetty.MutableServletContextHandler.isSessionsEnabled:()Z
ifeq 5
4: aload 1
invokevirtual io.dropwizard.jetty.MutableServletContextHandler.getSessionHandler:()Lorg/eclipse/jetty/server/session/SessionHandler;
aload 2
invokevirtual org.eclipse.jetty.server.session.SessionHandler.setServer:(Lorg/eclipse/jetty/server/Server;)V
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/dropwizard/server/AbstractServerFactory;
0 6 1 handler Lio/dropwizard/jetty/MutableServletContextHandler;
0 6 2 server Lorg/eclipse/jetty/server/Server;
MethodParameters:
Name Flags
handler
server
protected org.eclipse.jetty.server.Handler createAppServlet(org.eclipse.jetty.server.Server, io.dropwizard.jersey.setup.JerseyEnvironment, com.fasterxml.jackson.databind.ObjectMapper, javax.validation.Validator, io.dropwizard.jetty.MutableServletContextHandler, javax.servlet.Servlet, com.codahale.metrics.MetricRegistry);
descriptor: (Lorg/eclipse/jetty/server/Server;Lio/dropwizard/jersey/setup/JerseyEnvironment;Lcom/fasterxml/jackson/databind/ObjectMapper;Ljavax/validation/Validator;Lio/dropwizard/jetty/MutableServletContextHandler;Ljavax/servlet/Servlet;Lcom/codahale/metrics/MetricRegistry;)Lorg/eclipse/jetty/server/Handler;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=10, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 5
aload 1
invokevirtual io.dropwizard.server.AbstractServerFactory.configureSessionsAndSecurity:(Lio/dropwizard/jetty/MutableServletContextHandler;Lorg/eclipse/jetty/server/Server;)V
1: aload 5
ldc Lio/dropwizard/jersey/filter/AllowedMethodsFilter;
ldc "/*"
getstatic javax.servlet.DispatcherType.REQUEST:Ljavax/servlet/DispatcherType;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;)Ljava/util/EnumSet;
invokevirtual io.dropwizard.jetty.MutableServletContextHandler.addFilter:(Ljava/lang/Class;Ljava/lang/String;Ljava/util/EnumSet;)Lorg/eclipse/jetty/servlet/FilterHolder;
2: ldc "allowedMethods"
bipush 44
invokestatic com.google.common.base.Joiner.on:(C)Lcom/google/common/base/Joiner;
aload 0
getfield io.dropwizard.server.AbstractServerFactory.allowedMethods:Ljava/util/Set;
invokevirtual com.google.common.base.Joiner.join:(Ljava/lang/Iterable;)Ljava/lang/String;
invokevirtual org.eclipse.jetty.servlet.FilterHolder.setInitParameter:(Ljava/lang/String;Ljava/lang/String;)V
3: aload 0
getfield io.dropwizard.server.AbstractServerFactory.enableThreadNameFilter:Z
ifeq 5
4: aload 5
ldc Lio/dropwizard/servlets/ThreadNameFilter;
ldc "/*"
getstatic javax.servlet.DispatcherType.REQUEST:Ljavax/servlet/DispatcherType;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;)Ljava/util/EnumSet;
invokevirtual io.dropwizard.jetty.MutableServletContextHandler.addFilter:(Ljava/lang/Class;Ljava/lang/String;Ljava/util/EnumSet;)Lorg/eclipse/jetty/servlet/FilterHolder;
pop
5: StackMap locals:
StackMap stack:
aload 0
getfield io.dropwizard.server.AbstractServerFactory.serverPush:Lio/dropwizard/jetty/ServerPushFilterFactory;
aload 5
invokevirtual io.dropwizard.jetty.ServerPushFilterFactory.addFilter:(Lorg/eclipse/jetty/servlet/ServletContextHandler;)V
6: aload 6
ifnull 13
7: aload 0
getfield io.dropwizard.server.AbstractServerFactory.jerseyRootPath:Ljava/util/Optional;
aload 2
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Lio/dropwizard/jersey/setup/JerseyEnvironment;)Ljava/util/function/Consumer;
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;)V
io/dropwizard/jersey/setup/JerseyEnvironment.setUrlPattern(Ljava/lang/String;)V (5)
(Ljava/lang/String;)V
invokevirtual java.util.Optional.ifPresent:(Ljava/util/function/Consumer;)V
8: aload 2
new io.dropwizard.jersey.jackson.JacksonBinder
dup
aload 3
invokespecial io.dropwizard.jersey.jackson.JacksonBinder.<init>:(Lcom/fasterxml/jackson/databind/ObjectMapper;)V
invokevirtual io.dropwizard.jersey.setup.JerseyEnvironment.register:(Ljava/lang/Object;)V
9: aload 2
new io.dropwizard.jersey.validation.HibernateValidationFeature
dup
aload 4
invokespecial io.dropwizard.jersey.validation.HibernateValidationFeature.<init>:(Ljavax/validation/Validator;)V
invokevirtual io.dropwizard.jersey.setup.JerseyEnvironment.register:(Ljava/lang/Object;)V
10: aload 0
getfield io.dropwizard.server.AbstractServerFactory.registerDefaultExceptionMappers:Ljava/lang/Boolean;
ifnull 11
aload 0
getfield io.dropwizard.server.AbstractServerFactory.registerDefaultExceptionMappers:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 12
11: StackMap locals:
StackMap stack:
aload 2
new io.dropwizard.setup.ExceptionMapperBinder
dup
aload 0
getfield io.dropwizard.server.AbstractServerFactory.detailedJsonProcessingExceptionMapper:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
invokespecial io.dropwizard.setup.ExceptionMapperBinder.<init>:(Z)V
invokevirtual io.dropwizard.jersey.setup.JerseyEnvironment.register:(Ljava/lang/Object;)V
12: StackMap locals:
StackMap stack:
aload 5
new io.dropwizard.jetty.NonblockingServletHolder
dup
aload 6
invokespecial io.dropwizard.jetty.NonblockingServletHolder.<init>:(Ljavax/servlet/Servlet;)V
aload 2
invokevirtual io.dropwizard.jersey.setup.JerseyEnvironment.getUrlPattern:()Ljava/lang/String;
invokevirtual io.dropwizard.jetty.MutableServletContextHandler.addServlet:(Lorg/eclipse/jetty/servlet/ServletHolder;Ljava/lang/String;)V
13: StackMap locals:
StackMap stack:
new com.codahale.metrics.jetty9.InstrumentedHandler
dup
aload 7
invokespecial com.codahale.metrics.jetty9.InstrumentedHandler.<init>:(Lcom/codahale/metrics/MetricRegistry;)V
astore 9
start local 9 14: aload 9
aload 1
invokevirtual com.codahale.metrics.jetty9.InstrumentedHandler.setServer:(Lorg/eclipse/jetty/server/Server;)V
15: aload 9
aload 5
invokevirtual com.codahale.metrics.jetty9.InstrumentedHandler.setHandler:(Lorg/eclipse/jetty/server/Handler;)V
16: aload 9
areturn
end local 9 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 17 0 this Lio/dropwizard/server/AbstractServerFactory;
0 17 1 server Lorg/eclipse/jetty/server/Server;
0 17 2 jersey Lio/dropwizard/jersey/setup/JerseyEnvironment;
0 17 3 objectMapper Lcom/fasterxml/jackson/databind/ObjectMapper;
0 17 4 validator Ljavax/validation/Validator;
0 17 5 handler Lio/dropwizard/jetty/MutableServletContextHandler;
0 17 6 jerseyContainer Ljavax/servlet/Servlet;
0 17 7 metricRegistry Lcom/codahale/metrics/MetricRegistry;
14 17 9 instrumented Lcom/codahale/metrics/jetty9/InstrumentedHandler;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
javax.annotation.Nullable()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
4:
5:
javax.annotation.Nullable()
6:
MethodParameters:
Name Flags
server
jersey
objectMapper
validator
handler
jerseyContainer
metricRegistry
protected org.eclipse.jetty.util.thread.ThreadPool createThreadPool(com.codahale.metrics.MetricRegistry);
descriptor: (Lcom/codahale/metrics/MetricRegistry;)Lorg/eclipse/jetty/util/thread/ThreadPool;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: new org.eclipse.jetty.util.BlockingArrayQueue
dup
aload 0
getfield io.dropwizard.server.AbstractServerFactory.minThreads:I
aload 0
getfield io.dropwizard.server.AbstractServerFactory.maxThreads:I
aload 0
getfield io.dropwizard.server.AbstractServerFactory.maxQueuedRequests:I
invokespecial org.eclipse.jetty.util.BlockingArrayQueue.<init>:(III)V
astore 2
start local 2 1: new com.codahale.metrics.jetty9.InstrumentedQueuedThreadPool
dup
aload 1
aload 0
getfield io.dropwizard.server.AbstractServerFactory.maxThreads:I
aload 0
getfield io.dropwizard.server.AbstractServerFactory.minThreads:I
2: aload 0
getfield io.dropwizard.server.AbstractServerFactory.idleThreadTimeout:Lio/dropwizard/util/Duration;
invokevirtual io.dropwizard.util.Duration.toMilliseconds:()J
l2i
aload 2
3: invokespecial com.codahale.metrics.jetty9.InstrumentedQueuedThreadPool.<init>:(Lcom/codahale/metrics/MetricRegistry;IIILjava/util/concurrent/BlockingQueue;)V
4: astore 3
start local 3 5: aload 3
ldc "dw"
invokevirtual com.codahale.metrics.jetty9.InstrumentedQueuedThreadPool.setName:(Ljava/lang/String;)V
6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/dropwizard/server/AbstractServerFactory;
0 7 1 metricRegistry Lcom/codahale/metrics/MetricRegistry;
1 7 2 queue Ljava/util/concurrent/BlockingQueue<Ljava/lang/Runnable;>;
5 7 3 threadPool Lcom/codahale/metrics/jetty9/InstrumentedQueuedThreadPool;
MethodParameters:
Name Flags
metricRegistry
protected org.eclipse.jetty.server.Server buildServer(io.dropwizard.lifecycle.setup.LifecycleEnvironment, org.eclipse.jetty.util.thread.ThreadPool);
descriptor: (Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;Lorg/eclipse/jetty/util/thread/ThreadPool;)Lorg/eclipse/jetty/server/Server;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new org.eclipse.jetty.server.Server
dup
aload 2
invokespecial org.eclipse.jetty.server.Server.<init>:(Lorg/eclipse/jetty/util/thread/ThreadPool;)V
astore 3
start local 3 1: aload 3
aload 0
invokevirtual io.dropwizard.server.AbstractServerFactory.buildSetUIDListener:()Lorg/eclipse/jetty/setuid/SetUIDListener;
invokevirtual org.eclipse.jetty.server.Server.addLifeCycleListener:(Lorg/eclipse/jetty/util/component/LifeCycle$Listener;)V
2: aload 1
aload 3
invokevirtual io.dropwizard.lifecycle.setup.LifecycleEnvironment.attach:(Lorg/eclipse/jetty/util/component/ContainerLifeCycle;)V
3: new org.eclipse.jetty.server.handler.ErrorHandler
dup
invokespecial org.eclipse.jetty.server.handler.ErrorHandler.<init>:()V
astore 4
start local 4 4: aload 4
aload 3
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.setServer:(Lorg/eclipse/jetty/server/Server;)V
5: aload 4
iconst_0
invokevirtual org.eclipse.jetty.server.handler.ErrorHandler.setShowStacks:(Z)V
6: aload 3
aload 4
invokevirtual org.eclipse.jetty.server.Server.addBean:(Ljava/lang/Object;)Z
pop
7: aload 3
iconst_1
invokevirtual org.eclipse.jetty.server.Server.setStopAtShutdown:(Z)V
8: aload 3
aload 0
getfield io.dropwizard.server.AbstractServerFactory.shutdownGracePeriod:Lio/dropwizard/util/Duration;
invokevirtual io.dropwizard.util.Duration.toMilliseconds:()J
invokevirtual org.eclipse.jetty.server.Server.setStopTimeout:(J)V
9: aload 3
areturn
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 Lio/dropwizard/server/AbstractServerFactory;
0 10 1 lifecycle Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
0 10 2 threadPool Lorg/eclipse/jetty/util/thread/ThreadPool;
1 10 3 server Lorg/eclipse/jetty/server/Server;
4 10 4 errorHandler Lorg/eclipse/jetty/server/handler/ErrorHandler;
MethodParameters:
Name Flags
lifecycle
threadPool
protected org.eclipse.jetty.setuid.SetUIDListener buildSetUIDListener();
descriptor: ()Lorg/eclipse/jetty/setuid/SetUIDListener;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: new org.eclipse.jetty.setuid.SetUIDListener
dup
invokespecial org.eclipse.jetty.setuid.SetUIDListener.<init>:()V
astore 1
start local 1 1: aload 0
getfield io.dropwizard.server.AbstractServerFactory.startsAsRoot:Ljava/lang/Boolean;
ifnull 3
2: aload 1
aload 0
getfield io.dropwizard.server.AbstractServerFactory.startsAsRoot:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual org.eclipse.jetty.setuid.SetUIDListener.setStartServerAsPrivileged:(Z)V
3: StackMap locals: org.eclipse.jetty.setuid.SetUIDListener
StackMap stack:
aload 0
getfield io.dropwizard.server.AbstractServerFactory.gid:Ljava/lang/Integer;
ifnull 5
4: aload 1
aload 0
getfield io.dropwizard.server.AbstractServerFactory.gid:Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokevirtual org.eclipse.jetty.setuid.SetUIDListener.setGid:(I)V
5: StackMap locals:
StackMap stack:
aload 0
getfield io.dropwizard.server.AbstractServerFactory.uid:Ljava/lang/Integer;
ifnull 7
6: aload 1
aload 0
getfield io.dropwizard.server.AbstractServerFactory.uid:Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokevirtual org.eclipse.jetty.setuid.SetUIDListener.setUid:(I)V
7: StackMap locals:
StackMap stack:
aload 0
getfield io.dropwizard.server.AbstractServerFactory.user:Ljava/lang/String;
ifnull 9
8: aload 1
aload 0
getfield io.dropwizard.server.AbstractServerFactory.user:Ljava/lang/String;
invokevirtual org.eclipse.jetty.setuid.SetUIDListener.setUsername:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
aload 0
getfield io.dropwizard.server.AbstractServerFactory.group:Ljava/lang/String;
ifnull 11
10: aload 1
aload 0
getfield io.dropwizard.server.AbstractServerFactory.group:Ljava/lang/String;
invokevirtual org.eclipse.jetty.setuid.SetUIDListener.setGroupname:(Ljava/lang/String;)V
11: StackMap locals:
StackMap stack:
aload 0
getfield io.dropwizard.server.AbstractServerFactory.nofileHardLimit:Ljava/lang/Integer;
ifnonnull 12
aload 0
getfield io.dropwizard.server.AbstractServerFactory.nofileSoftLimit:Ljava/lang/Integer;
ifnull 18
12: StackMap locals:
StackMap stack:
new org.eclipse.jetty.setuid.RLimit
dup
invokespecial org.eclipse.jetty.setuid.RLimit.<init>:()V
astore 2
start local 2 13: aload 0
getfield io.dropwizard.server.AbstractServerFactory.nofileHardLimit:Ljava/lang/Integer;
ifnull 15
14: aload 2
aload 0
getfield io.dropwizard.server.AbstractServerFactory.nofileHardLimit:Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokevirtual org.eclipse.jetty.setuid.RLimit.setHard:(I)V
15: StackMap locals: org.eclipse.jetty.setuid.RLimit
StackMap stack:
aload 0
getfield io.dropwizard.server.AbstractServerFactory.nofileSoftLimit:Ljava/lang/Integer;
ifnull 17
16: aload 2
aload 0
getfield io.dropwizard.server.AbstractServerFactory.nofileSoftLimit:Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokevirtual org.eclipse.jetty.setuid.RLimit.setSoft:(I)V
17: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual org.eclipse.jetty.setuid.SetUIDListener.setRLimitNoFiles:(Lorg/eclipse/jetty/setuid/RLimit;)V
end local 2 18: StackMap locals:
StackMap stack:
aload 0
getfield io.dropwizard.server.AbstractServerFactory.umask:Ljava/lang/String;
ifnull 20
19: aload 1
aload 0
getfield io.dropwizard.server.AbstractServerFactory.umask:Ljava/lang/String;
invokevirtual org.eclipse.jetty.setuid.SetUIDListener.setUmaskOctal:(Ljava/lang/String;)V
20: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lio/dropwizard/server/AbstractServerFactory;
1 21 1 listener Lorg/eclipse/jetty/setuid/SetUIDListener;
13 18 2 rlimit Lorg/eclipse/jetty/setuid/RLimit;
protected org.eclipse.jetty.server.Handler addRequestLog(org.eclipse.jetty.server.Server, org.eclipse.jetty.server.Handler, java.lang.String);
descriptor: (Lorg/eclipse/jetty/server/Server;Lorg/eclipse/jetty/server/Handler;Ljava/lang/String;)Lorg/eclipse/jetty/server/Handler;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual io.dropwizard.server.AbstractServerFactory.getRequestLogFactory:()Lio/dropwizard/request/logging/RequestLogFactory;
invokeinterface io.dropwizard.request.logging.RequestLogFactory.isEnabled:()Z
ifeq 6
1: new org.eclipse.jetty.server.handler.RequestLogHandler
dup
invokespecial org.eclipse.jetty.server.handler.RequestLogHandler.<init>:()V
astore 4
start local 4 2: aload 4
aload 0
invokevirtual io.dropwizard.server.AbstractServerFactory.getRequestLogFactory:()Lio/dropwizard/request/logging/RequestLogFactory;
aload 3
invokeinterface io.dropwizard.request.logging.RequestLogFactory.build:(Ljava/lang/String;)Lorg/eclipse/jetty/server/RequestLog;
invokevirtual org.eclipse.jetty.server.handler.RequestLogHandler.setRequestLog:(Lorg/eclipse/jetty/server/RequestLog;)V
3: aload 1
aload 4
invokevirtual org.eclipse.jetty.server.handler.RequestLogHandler.getRequestLog:()Lorg/eclipse/jetty/server/RequestLog;
iconst_1
invokevirtual org.eclipse.jetty.server.Server.addBean:(Ljava/lang/Object;Z)Z
pop
4: aload 4
aload 2
invokevirtual org.eclipse.jetty.server.handler.RequestLogHandler.setHandler:(Lorg/eclipse/jetty/server/Handler;)V
5: aload 4
areturn
end local 4 6: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/dropwizard/server/AbstractServerFactory;
0 7 1 server Lorg/eclipse/jetty/server/Server;
0 7 2 handler Lorg/eclipse/jetty/server/Handler;
0 7 3 name Ljava/lang/String;
2 6 4 requestLogHandler Lorg/eclipse/jetty/server/handler/RequestLogHandler;
MethodParameters:
Name Flags
server
handler
name
protected org.eclipse.jetty.server.Handler addStatsHandler(org.eclipse.jetty.server.Handler);
descriptor: (Lorg/eclipse/jetty/server/Handler;)Lorg/eclipse/jetty/server/Handler;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new org.eclipse.jetty.server.handler.StatisticsHandler
dup
invokespecial org.eclipse.jetty.server.handler.StatisticsHandler.<init>:()V
astore 2
start local 2 1: aload 2
aload 1
invokevirtual org.eclipse.jetty.server.handler.StatisticsHandler.setHandler:(Lorg/eclipse/jetty/server/Handler;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/dropwizard/server/AbstractServerFactory;
0 3 1 handler Lorg/eclipse/jetty/server/Handler;
1 3 2 statisticsHandler Lorg/eclipse/jetty/server/handler/StatisticsHandler;
MethodParameters:
Name Flags
handler
protected org.eclipse.jetty.server.Handler buildGzipHandler(org.eclipse.jetty.server.Handler);
descriptor: (Lorg/eclipse/jetty/server/Handler;)Lorg/eclipse/jetty/server/Handler;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.server.AbstractServerFactory.gzip:Lio/dropwizard/jetty/GzipHandlerFactory;
invokevirtual io.dropwizard.jetty.GzipHandlerFactory.isEnabled:()Z
ifeq 1
aload 0
getfield io.dropwizard.server.AbstractServerFactory.gzip:Lio/dropwizard/jetty/GzipHandlerFactory;
aload 1
invokevirtual io.dropwizard.jetty.GzipHandlerFactory.build:(Lorg/eclipse/jetty/server/Handler;)Lio/dropwizard/jetty/BiDiGzipHandler;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
StackMap locals:
StackMap stack: org.eclipse.jetty.server.Handler
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/dropwizard/server/AbstractServerFactory;
0 3 1 handler Lorg/eclipse/jetty/server/Handler;
MethodParameters:
Name Flags
handler
protected void printBanner(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: getstatic io.dropwizard.server.AbstractServerFactory.WINDOWS_NEWLINE:Ljava/util/regex/Pattern;
ldc "banner.txt"
invokestatic com.google.common.io.Resources.getResource:(Ljava/lang/String;)Ljava/net/URL;
1: getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
2: invokestatic com.google.common.io.Resources.toString:(Ljava/net/URL;Ljava/nio/charset/Charset;)Ljava/lang/String;
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
3: ldc "\n"
invokevirtual java.util.regex.Matcher.replaceAll:(Ljava/lang/String;)Ljava/lang/String;
4: ldc "\n"
ldc "%n"
iconst_0
anewarray java.lang.Object
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
5: astore 2
start local 2 6: getstatic io.dropwizard.server.AbstractServerFactory.LOGGER:Lorg/slf4j/Logger;
ldc "Starting {}%n{}"
iconst_0
anewarray java.lang.Object
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 1
aload 2
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 2 7: goto 10
StackMap locals:
StackMap stack: java.lang.Exception
8: pop
9: getstatic io.dropwizard.server.AbstractServerFactory.LOGGER:Lorg/slf4j/Logger;
ldc "Starting {}"
aload 1
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;Ljava/lang/Object;)V
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/dropwizard/server/AbstractServerFactory;
0 11 1 name Ljava/lang/String;
6 7 2 banner Ljava/lang/String;
Exception table:
from to target type
0 7 8 Class java.lang.IllegalArgumentException
0 7 8 Class java.io.IOException
MethodParameters:
Name Flags
name
}
SourceFile: "AbstractServerFactory.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public Context = org.eclipse.jetty.server.handler.ContextHandler$Context of org.eclipse.jetty.server.handler.ContextHandler
public abstract Listener = org.eclipse.jetty.util.component.LifeCycle$Listener of org.eclipse.jetty.util.component.LifeCycle