public class com.codahale.metrics.servlets.HealthCheckServlet
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.codahale.metrics.servlets.HealthCheckServlet
super_class: java.lang.Object
{
public static final java.lang.String HEALTH_CHECK_REGISTRY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String HEALTH_CHECK_EXECUTOR;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String HEALTH_CHECK_FILTER;
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: -8432996484889177321
private static final java.lang.String CONTENT_TYPE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "application/json"
private transient com.codahale.metrics.health.HealthCheckRegistry registry;
descriptor: Lcom/codahale/metrics/health/HealthCheckRegistry;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient java.util.concurrent.ExecutorService executorService;
descriptor: Ljava/util/concurrent/ExecutorService;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient com.codahale.metrics.health.HealthCheckFilter filter;
descriptor: Lcom/codahale/metrics/health/HealthCheckFilter;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient com.fasterxml.jackson.databind.ObjectMapper mapper;
descriptor: Lcom/fasterxml/jackson/databind/ObjectMapper;
flags: (0x0082) ACC_PRIVATE, 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\tThe method destroy() of type HealthCheckServlet must override or implement a supertype method\n\tHttpServlet 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\tHttpServletResponse cannot be resolved to a variable\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/HealthCheckServlet;
public void <init>(com.codahale.metrics.health.HealthCheckRegistry);
descriptor: (Lcom/codahale/metrics/health/HealthCheckRegistry;)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\tThe method destroy() of type HealthCheckServlet must override or implement a supertype method\n\tHttpServlet 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\tHttpServletResponse cannot be resolved to a variable\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/HealthCheckServlet;
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/HealthCheckServlet;
Exceptions:
throws ServletException
MethodParameters:
Name Flags
config
public void destroy();
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 method destroy() of type HealthCheckServlet must override or implement a supertype method\n\tHttpServlet 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/HealthCheckServlet;
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\tHttpServletResponse cannot be resolved to a variable\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/HealthCheckServlet;
Exceptions:
throws ServletException, java.io.IOException
MethodParameters:
Name Flags
req
resp
com.fasterxml.jackson.databind.ObjectWriter getWriter(HttpServletRequest);
descriptor: (LHttpServletRequest;)Lcom/fasterxml/jackson/databind/ObjectWriter;
flags: (0x0000)
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/HealthCheckServlet;
MethodParameters:
Name Flags
request
private java.util.SortedMap<java.lang.String, com.codahale.metrics.health.HealthCheck$Result> runHealthChecks();
descriptor: ()Ljava/util/SortedMap;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
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/HealthCheckServlet;
Signature: ()Ljava/util/SortedMap<Ljava/lang/String;Lcom/codahale/metrics/health/HealthCheck$Result;>;
private static boolean isAllHealthy(java.util.Map<java.lang.String, com.codahale.metrics.health.HealthCheck$Result>);
descriptor: (Ljava/util/Map;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
Signature: (Ljava/util/Map<Ljava/lang/String;Lcom/codahale/metrics/health/HealthCheck$Result;>;)Z
MethodParameters:
Name Flags
results
}
SourceFile: "HealthCheckServlet.java"
NestMembers:
com.codahale.metrics.servlets.HealthCheckServlet$ContextListener
InnerClasses:
public Result = com.codahale.metrics.health.HealthCheck$Result of com.codahale.metrics.health.HealthCheck
public abstract ContextListener = com.codahale.metrics.servlets.HealthCheckServlet$ContextListener of com.codahale.metrics.servlets.HealthCheckServlet