public class com.codahale.metrics.servlets.MetricsServlet
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.codahale.metrics.servlets.MetricsServlet
super_class: java.lang.Object
{
public static final java.lang.String RATE_UNIT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String DURATION_UNIT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String SHOW_SAMPLES;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String METRICS_REGISTRY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String ALLOWED_ORIGIN;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String METRIC_FILTER;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String CALLBACK_PARAM;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1049773947734939602
private static final java.lang.String CONTENT_TYPE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "application/json"
protected java.lang.String allowedOrigin;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String jsonpParamName;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected transient com.codahale.metrics.MetricRegistry registry;
descriptor: Lcom/codahale/metrics/MetricRegistry;
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
protected transient com.fasterxml.jackson.databind.ObjectMapper mapper;
descriptor: Lcom/fasterxml/jackson/databind/ObjectMapper;
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tThe import javax.servlet cannot be resolved\n\tThe import javax.servlet cannot be resolved\n\tThe import javax.servlet cannot be resolved\n\tThe import javax.servlet cannot be resolved\n\tThe import javax.servlet cannot be resolved\n\tThe import javax.servlet cannot be resolved\n\tThe import javax.servlet cannot be resolved\n\tThe import javax.servlet cannot be resolved\n\tHttpServlet cannot be resolved to a type\n\tServletContextListener cannot be resolved to a type\n\tServletContextEvent cannot be resolved to a type\n\tServletContext cannot be resolved to a type\n\tServletContextEvent cannot be resolved to a type\n\tServletConfig cannot be resolved to a type\n\tServletException cannot be resolved to a type\n\tServletContext cannot be resolved to a type\n\tServletException cannot be resolved to a type\n\tServletContext cannot be resolved to a type\n\tHttpServletRequest cannot be resolved to a type\n\tHttpServletResponse cannot be resolved to a type\n\tServletException cannot be resolved to a type\n\tHttpServletResponse cannot be resolved to a variable\n\tHttpServletRequest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/codahale/metrics/servlets/MetricsServlet;
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 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tThe import javax.servlet cannot be resolved\n\tThe import javax.servlet cannot be resolved\n\tThe import javax.servlet cannot be resolved\n\tThe import javax.servlet cannot be resolved\n\tThe import javax.servlet cannot be resolved\n\tThe import javax.servlet cannot be resolved\n\tThe import javax.servlet cannot be resolved\n\tThe import javax.servlet cannot be resolved\n\tHttpServlet cannot be resolved to a type\n\tServletContextListener cannot be resolved to a type\n\tServletContextEvent cannot be resolved to a type\n\tServletContext cannot be resolved to a type\n\tServletContextEvent cannot be resolved to a type\n\tServletConfig cannot be resolved to a type\n\tServletException cannot be resolved to a type\n\tServletContext cannot be resolved to a type\n\tServletException cannot be resolved to a type\n\tServletContext cannot be resolved to a type\n\tHttpServletRequest cannot be resolved to a type\n\tHttpServletResponse cannot be resolved to a type\n\tServletException cannot be resolved to a type\n\tHttpServletResponse cannot be resolved to a variable\n\tHttpServletRequest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/codahale/metrics/servlets/MetricsServlet;
MethodParameters:
Name Flags
registry
public void init(ServletConfig);
descriptor: (LServletConfig;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tServletConfig cannot be resolved to a type\n\tServletException cannot be resolved to a type\n\tServletContext cannot be resolved to a type\n\tServletException cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/codahale/metrics/servlets/MetricsServlet;
Exceptions:
throws ServletException
MethodParameters:
Name Flags
config
protected void setupMetricsModule(ServletContext);
descriptor: (LServletContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tServletContext cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/codahale/metrics/servlets/MetricsServlet;
MethodParameters:
Name Flags
context
protected void doGet(HttpServletRequest, HttpServletResponse);
descriptor: (LHttpServletRequest;LHttpServletResponse;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tHttpServletRequest cannot be resolved to a type\n\tHttpServletResponse cannot be resolved to a type\n\tServletException cannot be resolved to a type\n\tHttpServletResponse cannot be resolved to a variable\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/codahale/metrics/servlets/MetricsServlet;
Exceptions:
throws ServletException, java.io.IOException
MethodParameters:
Name Flags
req
resp
protected com.fasterxml.jackson.databind.ObjectWriter getWriter(HttpServletRequest);
descriptor: (LHttpServletRequest;)Lcom/fasterxml/jackson/databind/ObjectWriter;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tHttpServletRequest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/codahale/metrics/servlets/MetricsServlet;
MethodParameters:
Name Flags
request
protected java.util.concurrent.TimeUnit parseTimeUnit(java.lang.String, java.util.concurrent.TimeUnit);
descriptor: (Ljava/lang/String;Ljava/util/concurrent/TimeUnit;)Ljava/util/concurrent/TimeUnit;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/codahale/metrics/servlets/MetricsServlet;
MethodParameters:
Name Flags
value
defaultValue
}
SourceFile: "MetricsServlet.java"
NestMembers:
com.codahale.metrics.servlets.MetricsServlet$ContextListener
InnerClasses:
public abstract ContextListener = com.codahale.metrics.servlets.MetricsServlet$ContextListener of com.codahale.metrics.servlets.MetricsServlet