public class io.dropwizard.server.DefaultServerFactory extends io.dropwizard.server.AbstractServerFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.server.DefaultServerFactory
super_class: io.dropwizard.server.AbstractServerFactory
{
private static final org.slf4j.Logger LOGGER;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.util.List<io.dropwizard.jetty.ConnectorFactory> applicationConnectors;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lio/dropwizard/jetty/ConnectorFactory;>;
RuntimeVisibleAnnotations:
javax.validation.Valid()
javax.validation.constraints.NotNull()
private java.util.List<io.dropwizard.jetty.ConnectorFactory> adminConnectors;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lio/dropwizard/jetty/ConnectorFactory;>;
RuntimeVisibleAnnotations:
javax.validation.Valid()
javax.validation.constraints.NotNull()
private int adminMaxThreads;
descriptor: I
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
javax.validation.constraints.Min(value = 2)
private int adminMinThreads;
descriptor: I
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
javax.validation.constraints.Min(value = 1)
private java.lang.String applicationContextPath;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.hibernate.validator.constraints.NotEmpty()
private java.lang.String adminContextPath;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.hibernate.validator.constraints.NotEmpty()
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/dropwizard/server/DefaultServerFactory;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic io.dropwizard.server.DefaultServerFactory.LOGGER:Lorg/slf4j/Logger;
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 io.dropwizard.server.AbstractServerFactory.<init>:()V
1: aload 0
invokestatic io.dropwizard.jetty.HttpConnectorFactory.application:()Lio/dropwizard/jetty/ConnectorFactory;
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
putfield io.dropwizard.server.DefaultServerFactory.applicationConnectors:Ljava/util/List;
2: aload 0
invokestatic io.dropwizard.jetty.HttpConnectorFactory.admin:()Lio/dropwizard/jetty/ConnectorFactory;
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
putfield io.dropwizard.server.DefaultServerFactory.adminConnectors:Ljava/util/List;
3: aload 0
bipush 64
putfield io.dropwizard.server.DefaultServerFactory.adminMaxThreads:I
4: aload 0
iconst_1
putfield io.dropwizard.server.DefaultServerFactory.adminMinThreads:I
5: aload 0
ldc "/"
putfield io.dropwizard.server.DefaultServerFactory.applicationContextPath:Ljava/lang/String;
6: aload 0
ldc "/"
putfield io.dropwizard.server.DefaultServerFactory.adminContextPath:Ljava/lang/String;
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/dropwizard/server/DefaultServerFactory;
public java.util.List<io.dropwizard.jetty.ConnectorFactory> getApplicationConnectors();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.server.DefaultServerFactory.applicationConnectors:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/DefaultServerFactory;
Signature: ()Ljava/util/List<Lio/dropwizard/jetty/ConnectorFactory;>;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setApplicationConnectors(java.util.List<io.dropwizard.jetty.ConnectorFactory>);
descriptor: (Ljava/util/List;)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.DefaultServerFactory.applicationConnectors:Ljava/util/List;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/DefaultServerFactory;
0 2 1 connectors Ljava/util/List<Lio/dropwizard/jetty/ConnectorFactory;>;
Signature: (Ljava/util/List<Lio/dropwizard/jetty/ConnectorFactory;>;)V
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
connectors
public java.util.List<io.dropwizard.jetty.ConnectorFactory> getAdminConnectors();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.server.DefaultServerFactory.adminConnectors:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/DefaultServerFactory;
Signature: ()Ljava/util/List<Lio/dropwizard/jetty/ConnectorFactory;>;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setAdminConnectors(java.util.List<io.dropwizard.jetty.ConnectorFactory>);
descriptor: (Ljava/util/List;)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.DefaultServerFactory.adminConnectors:Ljava/util/List;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/DefaultServerFactory;
0 2 1 connectors Ljava/util/List<Lio/dropwizard/jetty/ConnectorFactory;>;
Signature: (Ljava/util/List<Lio/dropwizard/jetty/ConnectorFactory;>;)V
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
connectors
public int getAdminMaxThreads();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.server.DefaultServerFactory.adminMaxThreads:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/DefaultServerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setAdminMaxThreads(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.DefaultServerFactory.adminMaxThreads:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/DefaultServerFactory;
0 2 1 adminMaxThreads I
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
adminMaxThreads
public int getAdminMinThreads();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.server.DefaultServerFactory.adminMinThreads:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/DefaultServerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setAdminMinThreads(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.DefaultServerFactory.adminMinThreads:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/DefaultServerFactory;
0 2 1 adminMinThreads I
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
adminMinThreads
public java.lang.String getApplicationContextPath();
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.DefaultServerFactory.applicationContextPath:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/DefaultServerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setApplicationContextPath(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.DefaultServerFactory.applicationContextPath:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/DefaultServerFactory;
0 2 1 applicationContextPath Ljava/lang/String;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
applicationContextPath final
public java.lang.String getAdminContextPath();
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.DefaultServerFactory.adminContextPath:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/server/DefaultServerFactory;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setAdminContextPath(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.DefaultServerFactory.adminContextPath:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/server/DefaultServerFactory;
0 2 1 adminContextPath Ljava/lang/String;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
adminContextPath final
public org.eclipse.jetty.server.Server build(io.dropwizard.setup.Environment);
descriptor: (Lio/dropwizard/setup/Environment;)Lorg/eclipse/jetty/server/Server;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=8, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual io.dropwizard.setup.Environment.getName:()Ljava/lang/String;
invokevirtual io.dropwizard.server.DefaultServerFactory.printBanner:(Ljava/lang/String;)V
1: aload 0
aload 1
invokevirtual io.dropwizard.setup.Environment.metrics:()Lcom/codahale/metrics/MetricRegistry;
invokevirtual io.dropwizard.server.DefaultServerFactory.createThreadPool:(Lcom/codahale/metrics/MetricRegistry;)Lorg/eclipse/jetty/util/thread/ThreadPool;
astore 2
start local 2 2: aload 0
aload 1
invokevirtual io.dropwizard.setup.Environment.lifecycle:()Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
aload 2
invokevirtual io.dropwizard.server.DefaultServerFactory.buildServer:(Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;Lorg/eclipse/jetty/util/thread/ThreadPool;)Lorg/eclipse/jetty/server/Server;
astore 3
start local 3 3: aload 0
aload 3
4: aload 1
invokevirtual io.dropwizard.setup.Environment.jersey:()Lio/dropwizard/jersey/setup/JerseyEnvironment;
5: aload 1
invokevirtual io.dropwizard.setup.Environment.getObjectMapper:()Lcom/fasterxml/jackson/databind/ObjectMapper;
6: aload 1
invokevirtual io.dropwizard.setup.Environment.getValidator:()Ljavax/validation/Validator;
7: aload 1
invokevirtual io.dropwizard.setup.Environment.getApplicationContext:()Lio/dropwizard/jetty/MutableServletContextHandler;
8: aload 1
invokevirtual io.dropwizard.setup.Environment.getJerseyServletContainer:()Ljavax/servlet/Servlet;
9: aload 1
invokevirtual io.dropwizard.setup.Environment.metrics:()Lcom/codahale/metrics/MetricRegistry;
10: invokevirtual io.dropwizard.server.DefaultServerFactory.createAppServlet:(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;
astore 4
start local 4 11: aload 0
aload 3
12: aload 1
invokevirtual io.dropwizard.setup.Environment.getAdminContext:()Lio/dropwizard/jetty/MutableServletContextHandler;
13: aload 1
invokevirtual io.dropwizard.setup.Environment.metrics:()Lcom/codahale/metrics/MetricRegistry;
14: aload 1
invokevirtual io.dropwizard.setup.Environment.healthChecks:()Lcom/codahale/metrics/health/HealthCheckRegistry;
15: invokevirtual io.dropwizard.server.DefaultServerFactory.createAdminServlet:(Lorg/eclipse/jetty/server/Server;Lio/dropwizard/jetty/MutableServletContextHandler;Lcom/codahale/metrics/MetricRegistry;Lcom/codahale/metrics/health/HealthCheckRegistry;)Lorg/eclipse/jetty/server/Handler;
astore 5
start local 5 16: aload 0
aload 1
invokevirtual io.dropwizard.setup.Environment.metrics:()Lcom/codahale/metrics/MetricRegistry;
17: aload 3
18: aload 4
19: aload 5
20: invokevirtual io.dropwizard.server.DefaultServerFactory.buildRoutingHandler:(Lcom/codahale/metrics/MetricRegistry;Lorg/eclipse/jetty/server/Server;Lorg/eclipse/jetty/server/Handler;Lorg/eclipse/jetty/server/Handler;)Lio/dropwizard/jetty/RoutingHandler;
astore 6
start local 6 21: aload 0
aload 6
invokevirtual io.dropwizard.server.DefaultServerFactory.buildGzipHandler:(Lorg/eclipse/jetty/server/Handler;)Lorg/eclipse/jetty/server/Handler;
astore 7
start local 7 22: aload 3
aload 0
aload 0
aload 3
aload 7
aload 1
invokevirtual io.dropwizard.setup.Environment.getName:()Ljava/lang/String;
invokevirtual io.dropwizard.server.DefaultServerFactory.addRequestLog:(Lorg/eclipse/jetty/server/Server;Lorg/eclipse/jetty/server/Handler;Ljava/lang/String;)Lorg/eclipse/jetty/server/Handler;
invokevirtual io.dropwizard.server.DefaultServerFactory.addStatsHandler:(Lorg/eclipse/jetty/server/Handler;)Lorg/eclipse/jetty/server/Handler;
invokevirtual org.eclipse.jetty.server.Server.setHandler:(Lorg/eclipse/jetty/server/Handler;)V
23: aload 3
areturn
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 24 0 this Lio/dropwizard/server/DefaultServerFactory;
0 24 1 environment Lio/dropwizard/setup/Environment;
2 24 2 threadPool Lorg/eclipse/jetty/util/thread/ThreadPool;
3 24 3 server Lorg/eclipse/jetty/server/Server;
11 24 4 applicationHandler Lorg/eclipse/jetty/server/Handler;
16 24 5 adminHandler Lorg/eclipse/jetty/server/Handler;
21 24 6 routingHandler Lio/dropwizard/jetty/RoutingHandler;
22 24 7 gzipHandler Lorg/eclipse/jetty/server/Handler;
MethodParameters:
Name Flags
environment
public void configure(io.dropwizard.setup.Environment);
descriptor: (Lio/dropwizard/setup/Environment;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic io.dropwizard.server.DefaultServerFactory.LOGGER:Lorg/slf4j/Logger;
ldc "Registering jersey handler with root path prefix: {}"
aload 0
getfield io.dropwizard.server.DefaultServerFactory.applicationContextPath:Ljava/lang/String;
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;Ljava/lang/Object;)V
1: aload 1
invokevirtual io.dropwizard.setup.Environment.getApplicationContext:()Lio/dropwizard/jetty/MutableServletContextHandler;
aload 0
getfield io.dropwizard.server.DefaultServerFactory.applicationContextPath:Ljava/lang/String;
invokevirtual io.dropwizard.jetty.MutableServletContextHandler.setContextPath:(Ljava/lang/String;)V
2: getstatic io.dropwizard.server.DefaultServerFactory.LOGGER:Lorg/slf4j/Logger;
ldc "Registering admin handler with root path prefix: {}"
aload 0
getfield io.dropwizard.server.DefaultServerFactory.adminContextPath:Ljava/lang/String;
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;Ljava/lang/Object;)V
3: aload 1
invokevirtual io.dropwizard.setup.Environment.getAdminContext:()Lio/dropwizard/jetty/MutableServletContextHandler;
aload 0
getfield io.dropwizard.server.DefaultServerFactory.adminContextPath:Ljava/lang/String;
invokevirtual io.dropwizard.jetty.MutableServletContextHandler.setContextPath:(Ljava/lang/String;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/dropwizard/server/DefaultServerFactory;
0 5 1 environment Lio/dropwizard/setup/Environment;
MethodParameters:
Name Flags
environment
private io.dropwizard.jetty.RoutingHandler buildRoutingHandler(com.codahale.metrics.MetricRegistry, org.eclipse.jetty.server.Server, org.eclipse.jetty.server.Handler, org.eclipse.jetty.server.Handler);
descriptor: (Lcom/codahale/metrics/MetricRegistry;Lorg/eclipse/jetty/server/Server;Lorg/eclipse/jetty/server/Handler;Lorg/eclipse/jetty/server/Handler;)Lio/dropwizard/jetty/RoutingHandler;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
invokevirtual io.dropwizard.server.DefaultServerFactory.buildAppConnectors:(Lcom/codahale/metrics/MetricRegistry;Lorg/eclipse/jetty/server/Server;)Ljava/util/List;
astore 5
start local 5 1: aload 0
aload 1
aload 2
invokevirtual io.dropwizard.server.DefaultServerFactory.buildAdminConnectors:(Lcom/codahale/metrics/MetricRegistry;Lorg/eclipse/jetty/server/Server;)Ljava/util/List;
astore 6
start local 6 2: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 7
start local 7 3: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 7
StackMap locals: io.dropwizard.server.DefaultServerFactory com.codahale.metrics.MetricRegistry org.eclipse.jetty.server.Server org.eclipse.jetty.server.Handler org.eclipse.jetty.server.Handler java.util.List java.util.List java.util.Map top java.util.Iterator
StackMap stack:
4: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jetty.server.Connector
astore 8
start local 8 5: aload 2
aload 8
invokevirtual org.eclipse.jetty.server.Server.addConnector:(Lorg/eclipse/jetty/server/Connector;)V
6: aload 7
aload 8
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 8 7: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: aload 6
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 12
StackMap locals:
StackMap stack:
9: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jetty.server.Connector
astore 8
start local 8 10: aload 2
aload 8
invokevirtual org.eclipse.jetty.server.Server.addConnector:(Lorg/eclipse/jetty/server/Connector;)V
11: aload 7
aload 8
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 8 12: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
13: new io.dropwizard.jetty.RoutingHandler
dup
aload 7
invokespecial io.dropwizard.jetty.RoutingHandler.<init>:(Ljava/util/Map;)V
areturn
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 14 0 this Lio/dropwizard/server/DefaultServerFactory;
0 14 1 metricRegistry Lcom/codahale/metrics/MetricRegistry;
0 14 2 server Lorg/eclipse/jetty/server/Server;
0 14 3 applicationHandler Lorg/eclipse/jetty/server/Handler;
0 14 4 adminHandler Lorg/eclipse/jetty/server/Handler;
1 14 5 appConnectors Ljava/util/List<Lorg/eclipse/jetty/server/Connector;>;
2 14 6 adConnectors Ljava/util/List<Lorg/eclipse/jetty/server/Connector;>;
3 14 7 handlers Ljava/util/Map<Lorg/eclipse/jetty/server/Connector;Lorg/eclipse/jetty/server/Handler;>;
5 7 8 connector Lorg/eclipse/jetty/server/Connector;
10 12 8 connector Lorg/eclipse/jetty/server/Connector;
MethodParameters:
Name Flags
metricRegistry
server
applicationHandler
adminHandler
private java.util.List<org.eclipse.jetty.server.Connector> buildAdminConnectors(com.codahale.metrics.MetricRegistry, org.eclipse.jetty.server.Server);
descriptor: (Lcom/codahale/metrics/MetricRegistry;Lorg/eclipse/jetty/server/Server;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: new com.codahale.metrics.jetty9.InstrumentedQueuedThreadPool
dup
aload 1
aload 0
getfield io.dropwizard.server.DefaultServerFactory.adminMaxThreads:I
aload 0
getfield io.dropwizard.server.DefaultServerFactory.adminMinThreads:I
invokespecial com.codahale.metrics.jetty9.InstrumentedQueuedThreadPool.<init>:(Lcom/codahale/metrics/MetricRegistry;II)V
astore 3
start local 3 1: aload 3
ldc "dw-admin"
invokevirtual org.eclipse.jetty.util.thread.QueuedThreadPool.setName:(Ljava/lang/String;)V
2: aload 2
aload 3
invokevirtual org.eclipse.jetty.server.Server.addBean:(Ljava/lang/Object;)Z
pop
3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 4: aload 0
getfield io.dropwizard.server.DefaultServerFactory.adminConnectors:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 10
StackMap locals: io.dropwizard.server.DefaultServerFactory com.codahale.metrics.MetricRegistry org.eclipse.jetty.server.Server org.eclipse.jetty.util.thread.QueuedThreadPool java.util.List top java.util.Iterator
StackMap stack:
5: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.dropwizard.jetty.ConnectorFactory
astore 5
start local 5 6: aload 5
aload 2
aload 1
ldc "admin"
aload 3
invokeinterface io.dropwizard.jetty.ConnectorFactory.build:(Lorg/eclipse/jetty/server/Server;Lcom/codahale/metrics/MetricRegistry;Ljava/lang/String;Lorg/eclipse/jetty/util/thread/ThreadPool;)Lorg/eclipse/jetty/server/Connector;
astore 7
start local 7 7: aload 7
instanceof org.eclipse.jetty.util.component.ContainerLifeCycle
ifeq 9
8: aload 7
checkcast org.eclipse.jetty.util.component.ContainerLifeCycle
aload 3
invokevirtual org.eclipse.jetty.util.component.ContainerLifeCycle.unmanage:(Ljava/lang/Object;)V
9: StackMap locals: io.dropwizard.server.DefaultServerFactory com.codahale.metrics.MetricRegistry org.eclipse.jetty.server.Server org.eclipse.jetty.util.thread.QueuedThreadPool java.util.List io.dropwizard.jetty.ConnectorFactory java.util.Iterator org.eclipse.jetty.server.Connector
StackMap stack:
aload 4
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 5 10: StackMap locals: io.dropwizard.server.DefaultServerFactory com.codahale.metrics.MetricRegistry org.eclipse.jetty.server.Server org.eclipse.jetty.util.thread.QueuedThreadPool java.util.List top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
11: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/dropwizard/server/DefaultServerFactory;
0 12 1 metricRegistry Lcom/codahale/metrics/MetricRegistry;
0 12 2 server Lorg/eclipse/jetty/server/Server;
1 12 3 threadPool Lorg/eclipse/jetty/util/thread/QueuedThreadPool;
4 12 4 connectors Ljava/util/List<Lorg/eclipse/jetty/server/Connector;>;
6 10 5 factory Lio/dropwizard/jetty/ConnectorFactory;
7 10 7 connector Lorg/eclipse/jetty/server/Connector;
Signature: (Lcom/codahale/metrics/MetricRegistry;Lorg/eclipse/jetty/server/Server;)Ljava/util/List<Lorg/eclipse/jetty/server/Connector;>;
MethodParameters:
Name Flags
metricRegistry
server
private java.util.List<org.eclipse.jetty.server.Connector> buildAppConnectors(com.codahale.metrics.MetricRegistry, org.eclipse.jetty.server.Server);
descriptor: (Lcom/codahale/metrics/MetricRegistry;Lorg/eclipse/jetty/server/Server;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: aload 0
getfield io.dropwizard.server.DefaultServerFactory.applicationConnectors:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 4
StackMap locals: io.dropwizard.server.DefaultServerFactory com.codahale.metrics.MetricRegistry org.eclipse.jetty.server.Server java.util.List top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.dropwizard.jetty.ConnectorFactory
astore 4
start local 4 3: aload 3
aload 4
aload 2
aload 1
ldc "application"
aconst_null
invokeinterface io.dropwizard.jetty.ConnectorFactory.build:(Lorg/eclipse/jetty/server/Server;Lcom/codahale/metrics/MetricRegistry;Ljava/lang/String;Lorg/eclipse/jetty/util/thread/ThreadPool;)Lorg/eclipse/jetty/server/Connector;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 4: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/dropwizard/server/DefaultServerFactory;
0 6 1 metricRegistry Lcom/codahale/metrics/MetricRegistry;
0 6 2 server Lorg/eclipse/jetty/server/Server;
1 6 3 connectors Ljava/util/List<Lorg/eclipse/jetty/server/Connector;>;
3 4 4 factory Lio/dropwizard/jetty/ConnectorFactory;
Signature: (Lcom/codahale/metrics/MetricRegistry;Lorg/eclipse/jetty/server/Server;)Ljava/util/List<Lorg/eclipse/jetty/server/Connector;>;
MethodParameters:
Name Flags
metricRegistry
server
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.MoreObjects.toStringHelper:(Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
1: ldc "applicationConnectors"
aload 0
getfield io.dropwizard.server.DefaultServerFactory.applicationConnectors:Ljava/util/List;
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
2: ldc "adminConnectors"
aload 0
getfield io.dropwizard.server.DefaultServerFactory.adminConnectors:Ljava/util/List;
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
3: ldc "adminMaxThreads"
aload 0
getfield io.dropwizard.server.DefaultServerFactory.adminMaxThreads:I
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;I)Lcom/google/common/base/MoreObjects$ToStringHelper;
4: ldc "adminMinThreads"
aload 0
getfield io.dropwizard.server.DefaultServerFactory.adminMinThreads:I
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;I)Lcom/google/common/base/MoreObjects$ToStringHelper;
5: ldc "applicationContextPath"
aload 0
getfield io.dropwizard.server.DefaultServerFactory.applicationContextPath:Ljava/lang/String;
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
6: ldc "adminContextPath"
aload 0
getfield io.dropwizard.server.DefaultServerFactory.adminContextPath:Ljava/lang/String;
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
7: invokevirtual com.google.common.base.MoreObjects$ToStringHelper.toString:()Ljava/lang/String;
8: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/dropwizard/server/DefaultServerFactory;
}
SourceFile: "DefaultServerFactory.java"
InnerClasses:
public final ToStringHelper = com.google.common.base.MoreObjects$ToStringHelper of com.google.common.base.MoreObjects
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonTypeName(value = "default")