class com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterRequestEventListener implements org.glassfish.jersey.server.monitoring.RequestEventListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterRequestEventListener
super_class: java.lang.Object
{
private final java.util.concurrent.ConcurrentMap<java.lang.reflect.Method, com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterMetric> responseMeters;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/reflect/Method;Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener$ResponseMeterMetric;>;
public void <init>(java.util.concurrent.ConcurrentMap<java.lang.reflect.Method, com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterMetric>);
descriptor: (Ljava/util/concurrent/ConcurrentMap;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterRequestEventListener this
start local 1 // java.util.concurrent.ConcurrentMap responseMeters
0: .line 242
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 243
aload 0 /* this */
aload 1 /* responseMeters */
putfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterRequestEventListener.responseMeters:Ljava/util/concurrent/ConcurrentMap;
2: .line 244
return
end local 1 // java.util.concurrent.ConcurrentMap responseMeters
end local 0 // com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterRequestEventListener this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener$ResponseMeterRequestEventListener;
0 3 1 responseMeters Ljava/util/concurrent/ConcurrentMap<Ljava/lang/reflect/Method;Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener$ResponseMeterMetric;>;
Signature: (Ljava/util/concurrent/ConcurrentMap<Ljava/lang/reflect/Method;Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener$ResponseMeterMetric;>;)V
MethodParameters:
Name Flags
responseMeters final
public void onEvent(org.glassfish.jersey.server.monitoring.RequestEvent);
descriptor: (Lorg/glassfish/jersey/server/monitoring/RequestEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 // com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterRequestEventListener this
start local 1 // org.glassfish.jersey.server.monitoring.RequestEvent event
0: .line 248
aload 1 /* event */
invokeinterface org.glassfish.jersey.server.monitoring.RequestEvent.getType:()Lorg/glassfish/jersey/server/monitoring/RequestEvent$Type;
getstatic org.glassfish.jersey.server.monitoring.RequestEvent$Type.FINISHED:Lorg/glassfish/jersey/server/monitoring/RequestEvent$Type;
if_acmpne 15
1: .line 249
aload 1 /* event */
invokeinterface org.glassfish.jersey.server.monitoring.RequestEvent.getUriInfo:()Lorg/glassfish/jersey/server/ExtendedUriInfo;
invokeinterface org.glassfish.jersey.server.ExtendedUriInfo.getMatchedResourceMethod:()Lorg/glassfish/jersey/server/model/ResourceMethod;
astore 2 /* method */
start local 2 // org.glassfish.jersey.server.model.ResourceMethod method
2: .line 250
aload 2 /* method */
ifnull 4
3: .line 251
aload 0 /* this */
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterRequestEventListener.responseMeters:Ljava/util/concurrent/ConcurrentMap;
aload 2 /* method */
invokevirtual org.glassfish.jersey.server.model.ResourceMethod.getInvocable:()Lorg/glassfish/jersey/server/model/Invocable;
invokevirtual org.glassfish.jersey.server.model.Invocable.getDefinitionMethod:()Ljava/lang/reflect/Method;
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterMetric
goto 5
StackMap locals: org.glassfish.jersey.server.model.ResourceMethod
StackMap stack:
4: aconst_null
5: .line 250
StackMap locals:
StackMap stack: com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterMetric
astore 3 /* metric */
start local 3 // com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterMetric metric
6: .line 253
aload 3 /* metric */
ifnull 15
7: .line 254
aload 1 /* event */
invokeinterface org.glassfish.jersey.server.monitoring.RequestEvent.getContainerResponse:()Lorg/glassfish/jersey/server/ContainerResponse;
astore 4 /* containerResponse */
start local 4 // org.glassfish.jersey.server.ContainerResponse containerResponse
8: .line 255
aload 4 /* containerResponse */
ifnonnull 12
9: .line 256
aload 1 /* event */
invokeinterface org.glassfish.jersey.server.monitoring.RequestEvent.getException:()Ljava/lang/Throwable;
ifnull 15
10: .line 257
aload 3 /* metric */
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterMetric.meters:Ljava/util/List;
iconst_4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.codahale.metrics.Meter
invokevirtual com.codahale.metrics.Meter.mark:()V
11: .line 259
goto 15
12: .line 260
StackMap locals: com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterMetric org.glassfish.jersey.server.ContainerResponse
StackMap stack:
aload 4 /* containerResponse */
invokevirtual org.glassfish.jersey.server.ContainerResponse.getStatus:()I
bipush 100
idiv
istore 5 /* responseStatus */
start local 5 // int responseStatus
13: .line 261
iload 5 /* responseStatus */
iconst_1
if_icmplt 15
iload 5 /* responseStatus */
iconst_5
if_icmpgt 15
14: .line 262
aload 3 /* metric */
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterMetric.meters:Ljava/util/List;
iload 5 /* responseStatus */
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.codahale.metrics.Meter
invokevirtual com.codahale.metrics.Meter.mark:()V
end local 5 // int responseStatus
end local 4 // org.glassfish.jersey.server.ContainerResponse containerResponse
end local 3 // com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterMetric metric
end local 2 // org.glassfish.jersey.server.model.ResourceMethod method
15: .line 267
StackMap locals:
StackMap stack:
return
end local 1 // org.glassfish.jersey.server.monitoring.RequestEvent event
end local 0 // com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterRequestEventListener this
LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener$ResponseMeterRequestEventListener;
0 16 1 event Lorg/glassfish/jersey/server/monitoring/RequestEvent;
2 15 2 method Lorg/glassfish/jersey/server/model/ResourceMethod;
6 15 3 metric Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener$ResponseMeterMetric;
8 15 4 containerResponse Lorg/glassfish/jersey/server/ContainerResponse;
13 15 5 responseStatus I
MethodParameters:
Name Flags
event
}
SourceFile: "InstrumentedResourceMethodApplicationListener.java"
NestHost: com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener
InnerClasses:
private ResponseMeterMetric = com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterMetric of com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener
private ResponseMeterRequestEventListener = com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$ResponseMeterRequestEventListener of com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener
public final Type = org.glassfish.jersey.server.monitoring.RequestEvent$Type of org.glassfish.jersey.server.monitoring.RequestEvent