public class io.dropwizard.servlets.tasks.TaskServlet extends javax.servlet.http.HttpServlet
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.servlets.tasks.TaskServlet
super_class: javax.servlet.http.HttpServlet
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 7404713218661358124
private static final org.slf4j.Logger LOGGER;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.concurrent.ConcurrentMap<java.lang.String, io.dropwizard.servlets.tasks.Task> tasks;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/String;Lio/dropwizard/servlets/tasks/Task;>;
private final java.util.concurrent.ConcurrentMap<io.dropwizard.servlets.tasks.Task, io.dropwizard.servlets.tasks.TaskServlet$TaskExecutor> taskExecutors;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Lio/dropwizard/servlets/tasks/Task;Lio/dropwizard/servlets/tasks/TaskServlet$TaskExecutor;>;
private final com.codahale.metrics.MetricRegistry metricRegistry;
descriptor: Lcom/codahale/metrics/MetricRegistry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/dropwizard/servlets/tasks/TaskServlet;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic io.dropwizard.servlets.tasks.TaskServlet.LOGGER:Lorg/slf4j/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(com.codahale.metrics.MetricRegistry);
descriptor: (Lcom/codahale/metrics/MetricRegistry;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.servlet.http.HttpServlet.<init>:()V
1: aload 0
aload 1
putfield io.dropwizard.servlets.tasks.TaskServlet.metricRegistry:Lcom/codahale/metrics/MetricRegistry;
2: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield io.dropwizard.servlets.tasks.TaskServlet.tasks:Ljava/util/concurrent/ConcurrentMap;
3: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield io.dropwizard.servlets.tasks.TaskServlet.taskExecutors:Ljava/util/concurrent/ConcurrentMap;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/dropwizard/servlets/tasks/TaskServlet;
0 5 1 metricRegistry Lcom/codahale/metrics/MetricRegistry;
MethodParameters:
Name Flags
metricRegistry
public void add(io.dropwizard.servlets.tasks.Task);
descriptor: (Lio/dropwizard/servlets/tasks/Task;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.servlets.tasks.TaskServlet.tasks:Ljava/util/concurrent/ConcurrentMap;
new java.lang.StringBuilder
dup
bipush 47
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual io.dropwizard.servlets.tasks.Task.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new io.dropwizard.servlets.tasks.TaskServlet$TaskExecutor
dup
aload 1
invokespecial io.dropwizard.servlets.tasks.TaskServlet$TaskExecutor.<init>:(Lio/dropwizard/servlets/tasks/Task;)V
astore 2
start local 2 2: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc "execute"
iconst_2
anewarray java.lang.Class
dup
iconst_0
3: ldc Lcom/google/common/collect/ImmutableMultimap;
aastore
dup
iconst_1
ldc Ljava/io/PrintWriter;
aastore
4: invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 3
start local 3 5: aload 3
ldc Lcom/codahale/metrics/annotation/Timed;
invokevirtual java.lang.reflect.Method.isAnnotationPresent:(Ljava/lang/Class;)Z
ifeq 12
6: aload 3
ldc Lcom/codahale/metrics/annotation/Timed;
invokevirtual java.lang.reflect.Method.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast com.codahale.metrics.annotation.Timed
astore 4
start local 4 7: aload 0
aload 4
invokeinterface com.codahale.metrics.annotation.Timed.name:()Ljava/lang/String;
8: aload 4
invokeinterface com.codahale.metrics.annotation.Timed.absolute:()Z
9: aload 1
iconst_0
anewarray java.lang.String
10: invokevirtual io.dropwizard.servlets.tasks.TaskServlet.chooseName:(Ljava/lang/String;ZLio/dropwizard/servlets/tasks/Task;[Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 11: new io.dropwizard.servlets.tasks.TaskServlet$TimedTask
dup
aload 2
aload 0
getfield io.dropwizard.servlets.tasks.TaskServlet.metricRegistry:Lcom/codahale/metrics/MetricRegistry;
aload 5
invokevirtual com.codahale.metrics.MetricRegistry.timer:(Ljava/lang/String;)Lcom/codahale/metrics/Timer;
invokespecial io.dropwizard.servlets.tasks.TaskServlet$TimedTask.<init>:(Lio/dropwizard/servlets/tasks/TaskServlet$TaskExecutor;Lcom/codahale/metrics/Timer;)V
astore 2
end local 5 end local 4 12: StackMap locals: io.dropwizard.servlets.tasks.TaskServlet$TaskExecutor java.lang.reflect.Method
StackMap stack:
aload 3
ldc Lcom/codahale/metrics/annotation/Metered;
invokevirtual java.lang.reflect.Method.isAnnotationPresent:(Ljava/lang/Class;)Z
ifeq 19
13: aload 3
ldc Lcom/codahale/metrics/annotation/Metered;
invokevirtual java.lang.reflect.Method.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast com.codahale.metrics.annotation.Metered
astore 4
start local 4 14: aload 0
aload 4
invokeinterface com.codahale.metrics.annotation.Metered.name:()Ljava/lang/String;
15: aload 4
invokeinterface com.codahale.metrics.annotation.Metered.absolute:()Z
16: aload 1
iconst_0
anewarray java.lang.String
17: invokevirtual io.dropwizard.servlets.tasks.TaskServlet.chooseName:(Ljava/lang/String;ZLio/dropwizard/servlets/tasks/Task;[Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 18: new io.dropwizard.servlets.tasks.TaskServlet$MeteredTask
dup
aload 2
aload 0
getfield io.dropwizard.servlets.tasks.TaskServlet.metricRegistry:Lcom/codahale/metrics/MetricRegistry;
aload 5
invokevirtual com.codahale.metrics.MetricRegistry.meter:(Ljava/lang/String;)Lcom/codahale/metrics/Meter;
invokespecial io.dropwizard.servlets.tasks.TaskServlet$MeteredTask.<init>:(Lio/dropwizard/servlets/tasks/TaskServlet$TaskExecutor;Lcom/codahale/metrics/Meter;)V
astore 2
end local 5 end local 4 19: StackMap locals:
StackMap stack:
aload 3
ldc Lcom/codahale/metrics/annotation/ExceptionMetered;
invokevirtual java.lang.reflect.Method.isAnnotationPresent:(Ljava/lang/Class;)Z
ifeq 29
20: aload 3
ldc Lcom/codahale/metrics/annotation/ExceptionMetered;
invokevirtual java.lang.reflect.Method.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast com.codahale.metrics.annotation.ExceptionMetered
astore 4
start local 4 21: aload 0
aload 4
invokeinterface com.codahale.metrics.annotation.ExceptionMetered.name:()Ljava/lang/String;
22: aload 4
invokeinterface com.codahale.metrics.annotation.ExceptionMetered.absolute:()Z
23: aload 1
iconst_1
anewarray java.lang.String
dup
iconst_0
24: ldc "exceptions"
aastore
25: invokevirtual io.dropwizard.servlets.tasks.TaskServlet.chooseName:(Ljava/lang/String;ZLio/dropwizard/servlets/tasks/Task;[Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 26: new io.dropwizard.servlets.tasks.TaskServlet$ExceptionMeteredTask
dup
aload 2
aload 0
getfield io.dropwizard.servlets.tasks.TaskServlet.metricRegistry:Lcom/codahale/metrics/MetricRegistry;
aload 5
invokevirtual com.codahale.metrics.MetricRegistry.meter:(Ljava/lang/String;)Lcom/codahale/metrics/Meter;
aload 4
invokeinterface com.codahale.metrics.annotation.ExceptionMetered.cause:()Ljava/lang/Class;
invokespecial io.dropwizard.servlets.tasks.TaskServlet$ExceptionMeteredTask.<init>:(Lio/dropwizard/servlets/tasks/TaskServlet$TaskExecutor;Lcom/codahale/metrics/Meter;Ljava/lang/Class;)V
astore 2
end local 5 end local 4 end local 3 27: goto 29
StackMap locals: io.dropwizard.servlets.tasks.TaskServlet io.dropwizard.servlets.tasks.Task io.dropwizard.servlets.tasks.TaskServlet$TaskExecutor
StackMap stack: java.lang.NoSuchMethodException
28: pop
29: StackMap locals:
StackMap stack:
aload 0
getfield io.dropwizard.servlets.tasks.TaskServlet.taskExecutors:Ljava/util/concurrent/ConcurrentMap;
aload 1
aload 2
invokeinterface java.util.concurrent.ConcurrentMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
30: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lio/dropwizard/servlets/tasks/TaskServlet;
0 31 1 task Lio/dropwizard/servlets/tasks/Task;
2 31 2 taskExecutor Lio/dropwizard/servlets/tasks/TaskServlet$TaskExecutor;
5 27 3 executeMethod Ljava/lang/reflect/Method;
7 12 4 annotation Lcom/codahale/metrics/annotation/Timed;
11 12 5 name Ljava/lang/String;
14 19 4 annotation Lcom/codahale/metrics/annotation/Metered;
18 19 5 name Ljava/lang/String;
21 27 4 annotation Lcom/codahale/metrics/annotation/ExceptionMetered;
26 27 5 name Ljava/lang/String;
Exception table:
from to target type
2 27 28 Class java.lang.NoSuchMethodException
MethodParameters:
Name Flags
task
protected void doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse);
descriptor: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface javax.servlet.http.HttpServletRequest.getPathInfo:()Ljava/lang/String;
invokestatic com.google.common.base.Strings.isNullOrEmpty:(Ljava/lang/String;)Z
ifeq 14
1: aconst_null
astore 3
aconst_null
astore 4
2: aload 2
invokeinterface javax.servlet.http.HttpServletResponse.getWriter:()Ljava/io/PrintWriter;
astore 5
start local 5 3: aload 2
getstatic com.google.common.net.MediaType.PLAIN_TEXT_UTF_8:Lcom/google/common/net/MediaType;
invokevirtual com.google.common.net.MediaType.toString:()Ljava/lang/String;
invokeinterface javax.servlet.http.HttpServletResponse.setContentType:(Ljava/lang/String;)V
4: aload 0
invokevirtual io.dropwizard.servlets.tasks.TaskServlet.getTasks:()Ljava/util/Collection;
invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
5: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
io/dropwizard/servlets/tasks/Task.getName()Ljava/lang/String; (5)
(Lio/dropwizard/servlets/tasks/Task;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
6: invokeinterface java.util.stream.Stream.sorted:()Ljava/util/stream/Stream;
7: aload 5
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/io/PrintWriter;)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
java/io/PrintWriter.println(Ljava/lang/String;)V (5)
(Ljava/lang/String;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
8: aload 5
ifnull 18
aload 5
invokevirtual java.io.PrintWriter.close:()V
goto 18
StackMap locals: io.dropwizard.servlets.tasks.TaskServlet javax.servlet.http.HttpServletRequest javax.servlet.http.HttpServletResponse java.lang.Throwable java.lang.Throwable java.io.PrintWriter
StackMap stack: java.lang.Throwable
9: astore 3
aload 5
ifnull 10
aload 5
invokevirtual java.io.PrintWriter.close:()V
end local 5 StackMap locals:
StackMap stack:
10: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 4
aload 3
ifnonnull 12
aload 4
astore 3
goto 13
StackMap locals:
StackMap stack:
12: aload 3
aload 4
if_acmpeq 13
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 3
athrow
14: StackMap locals:
StackMap stack:
aload 0
getfield io.dropwizard.servlets.tasks.TaskServlet.tasks:Ljava/util/concurrent/ConcurrentMap;
aload 1
invokeinterface javax.servlet.http.HttpServletRequest.getPathInfo:()Ljava/lang/String;
invokeinterface java.util.concurrent.ConcurrentMap.containsKey:(Ljava/lang/Object;)Z
ifeq 17
15: aload 2
sipush 405
invokeinterface javax.servlet.http.HttpServletResponse.sendError:(I)V
16: goto 18
17: StackMap locals:
StackMap stack:
aload 2
sipush 404
invokeinterface javax.servlet.http.HttpServletResponse.sendError:(I)V
18: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lio/dropwizard/servlets/tasks/TaskServlet;
0 19 1 req Ljavax/servlet/http/HttpServletRequest;
0 19 2 resp Ljavax/servlet/http/HttpServletResponse;
3 10 5 output Ljava/io/PrintWriter;
Exception table:
from to target type
3 8 9 any
2 11 11 any
Exceptions:
throws javax.servlet.ServletException, java.io.IOException
MethodParameters:
Name Flags
req
resp
protected void doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse);
descriptor: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface javax.servlet.http.HttpServletRequest.getPathInfo:()Ljava/lang/String;
astore 3
start local 3 1: aload 3
ifnull 2
aload 0
getfield io.dropwizard.servlets.tasks.TaskServlet.tasks:Ljava/util/concurrent/ConcurrentMap;
aload 3
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.dropwizard.servlets.tasks.Task
goto 3
StackMap locals: java.lang.String
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: io.dropwizard.servlets.tasks.Task
3: astore 4
start local 4 4: aload 4
ifnull 22
5: aload 2
getstatic com.google.common.net.MediaType.PLAIN_TEXT_UTF_8:Lcom/google/common/net/MediaType;
invokevirtual com.google.common.net.MediaType.toString:()Ljava/lang/String;
invokeinterface javax.servlet.http.HttpServletResponse.setContentType:(Ljava/lang/String;)V
6: aload 2
invokeinterface javax.servlet.http.HttpServletResponse.getWriter:()Ljava/io/PrintWriter;
astore 5
start local 5 7: aload 0
getfield io.dropwizard.servlets.tasks.TaskServlet.taskExecutors:Ljava/util/concurrent/ConcurrentMap;
aload 4
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.dropwizard.servlets.tasks.TaskServlet$TaskExecutor
astore 6
start local 6 8: aload 6
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.dropwizard.servlets.tasks.TaskServlet$TaskExecutor
aload 1
invokestatic io.dropwizard.servlets.tasks.TaskServlet.getParams:(Ljavax/servlet/http/HttpServletRequest;)Lcom/google/common/collect/ImmutableMultimap;
aload 0
aload 1
invokevirtual io.dropwizard.servlets.tasks.TaskServlet.getBody:(Ljavax/servlet/http/HttpServletRequest;)Ljava/lang/String;
aload 5
invokevirtual io.dropwizard.servlets.tasks.TaskServlet$TaskExecutor.executeTask:(Lcom/google/common/collect/ImmutableMultimap;Ljava/lang/String;Ljava/io/PrintWriter;)V
end local 6 9: goto 20
StackMap locals: io.dropwizard.servlets.tasks.TaskServlet javax.servlet.http.HttpServletRequest javax.servlet.http.HttpServletResponse java.lang.String io.dropwizard.servlets.tasks.Task java.io.PrintWriter
StackMap stack: java.lang.Exception
10: astore 6
start local 6 11: getstatic io.dropwizard.servlets.tasks.TaskServlet.LOGGER:Lorg/slf4j/Logger;
ldc "Error running {}"
aload 4
invokevirtual io.dropwizard.servlets.tasks.Task.getName:()Ljava/lang/String;
aload 6
invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
12: aload 2
sipush 500
invokeinterface javax.servlet.http.HttpServletResponse.setStatus:(I)V
13: aload 5
invokevirtual java.io.PrintWriter.println:()V
14: aload 5
aload 6
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
15: aload 6
aload 5
invokevirtual java.lang.Exception.printStackTrace:(Ljava/io/PrintWriter;)V
end local 6 16: aload 5
invokevirtual java.io.PrintWriter.close:()V
goto 23
17: StackMap locals:
StackMap stack: java.lang.Throwable
astore 7
18: aload 5
invokevirtual java.io.PrintWriter.close:()V
19: aload 7
athrow
20: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.io.PrintWriter.close:()V
end local 5 21: goto 23
22: StackMap locals:
StackMap stack:
aload 2
sipush 404
invokeinterface javax.servlet.http.HttpServletResponse.sendError:(I)V
23: StackMap locals:
StackMap stack:
return
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/servlets/tasks/TaskServlet;
0 24 1 req Ljavax/servlet/http/HttpServletRequest;
0 24 2 resp Ljavax/servlet/http/HttpServletResponse;
1 24 3 pathInfo Ljava/lang/String;
4 24 4 task Lio/dropwizard/servlets/tasks/Task;
7 21 5 output Ljava/io/PrintWriter;
8 9 6 taskExecutor Lio/dropwizard/servlets/tasks/TaskServlet$TaskExecutor;
11 16 6 e Ljava/lang/Exception;
Exception table:
from to target type
7 9 10 Class java.lang.Exception
7 16 17 any
Exceptions:
throws javax.servlet.ServletException, java.io.IOException
MethodParameters:
Name Flags
req
resp
private static com.google.common.collect.ImmutableMultimap<java.lang.String, java.lang.String> getParams(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)Lcom/google/common/collect/ImmutableMultimap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: invokestatic com.google.common.collect.ImmutableMultimap.builder:()Lcom/google/common/collect/ImmutableMultimap$Builder;
astore 1
start local 1 1: aload 0
invokeinterface javax.servlet.http.HttpServletRequest.getParameterNames:()Ljava/util/Enumeration;
astore 2
start local 2 2: goto 6
3: StackMap locals: com.google.common.collect.ImmutableMultimap$Builder java.util.Enumeration
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 4: aload 0
aload 3
invokeinterface javax.servlet.http.HttpServletRequest.getParameterValues:(Ljava/lang/String;)[Ljava/lang/String;
astore 4
start local 4 5: aload 1
aload 3
aload 4
invokevirtual com.google.common.collect.ImmutableMultimap$Builder.putAll:(Ljava/lang/Object;[Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMultimap$Builder;
pop
end local 4 end local 3 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 3
7: aload 1
invokevirtual com.google.common.collect.ImmutableMultimap$Builder.build:()Lcom/google/common/collect/ImmutableMultimap;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 req Ljavax/servlet/http/HttpServletRequest;
1 8 1 results Lcom/google/common/collect/ImmutableMultimap$Builder<Ljava/lang/String;Ljava/lang/String;>;
2 8 2 names Ljava/util/Enumeration<Ljava/lang/String;>;
4 6 3 name Ljava/lang/String;
5 6 4 values [Ljava/lang/String;
Signature: (Ljavax/servlet/http/HttpServletRequest;)Lcom/google/common/collect/ImmutableMultimap<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
req
private java.lang.String getBody(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new java.io.InputStreamReader
dup
aload 1
invokeinterface javax.servlet.http.HttpServletRequest.getInputStream:()Ljavax/servlet/ServletInputStream;
getstatic com.google.common.base.Charsets.UTF_8:Ljava/nio/charset/Charset;
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
invokestatic com.google.common.io.CharStreams.toString:(Ljava/lang/Readable;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/servlets/tasks/TaskServlet;
0 1 1 req Ljavax/servlet/http/HttpServletRequest;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
req
public java.util.Collection<io.dropwizard.servlets.tasks.Task> getTasks();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.servlets.tasks.TaskServlet.tasks:Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.values:()Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/servlets/tasks/TaskServlet;
Signature: ()Ljava/util/Collection<Lio/dropwizard/servlets/tasks/Task;>;
private java.lang.String chooseName(java.lang.String, boolean, io.dropwizard.servlets.tasks.Task, java.lang.String[]);
descriptor: (Ljava/lang/String;ZLio/dropwizard/servlets/tasks/Task;[Ljava/lang/String;)Ljava/lang/String;
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
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 1
ifnull 4
aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifne 4
1: iload 2
ifeq 3
2: aload 1
areturn
3: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
aastore
invokestatic com.codahale.metrics.MetricRegistry.name:(Ljava/lang/Class;[Ljava/lang/String;)Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 4
invokestatic com.codahale.metrics.MetricRegistry.name:(Ljava/lang/Class;[Ljava/lang/String;)Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/dropwizard/servlets/tasks/TaskServlet;
0 5 1 explicitName Ljava/lang/String;
0 5 2 absolute Z
0 5 3 task Lio/dropwizard/servlets/tasks/Task;
0 5 4 suffixes [Ljava/lang/String;
MethodParameters:
Name Flags
explicitName
absolute
task
suffixes
}
SourceFile: "TaskServlet.java"
NestMembers:
io.dropwizard.servlets.tasks.TaskServlet$ExceptionMeteredTask io.dropwizard.servlets.tasks.TaskServlet$MeteredTask io.dropwizard.servlets.tasks.TaskServlet$TaskExecutor io.dropwizard.servlets.tasks.TaskServlet$TimedTask
InnerClasses:
public Builder = com.google.common.collect.ImmutableMultimap$Builder of com.google.common.collect.ImmutableMultimap
private ExceptionMeteredTask = io.dropwizard.servlets.tasks.TaskServlet$ExceptionMeteredTask of io.dropwizard.servlets.tasks.TaskServlet
private MeteredTask = io.dropwizard.servlets.tasks.TaskServlet$MeteredTask of io.dropwizard.servlets.tasks.TaskServlet
private TaskExecutor = io.dropwizard.servlets.tasks.TaskServlet$TaskExecutor of io.dropwizard.servlets.tasks.TaskServlet
private TimedTask = io.dropwizard.servlets.tasks.TaskServlet$TimedTask of io.dropwizard.servlets.tasks.TaskServlet
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles