class org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl extends org.jboss.resteasy.tracing.api.RESTEasyTracing implements org.jboss.resteasy.tracing.RESTEasyTracingLogger
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl
super_class: org.jboss.resteasy.tracing.api.RESTEasyTracing
{
private final org.jboss.logging.Logger logger;
descriptor: Lorg/jboss/logging/Logger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jboss.resteasy.tracing.api.RESTEasyTracingLevel threshold;
descriptor: Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jboss.resteasy.tracing.api.RESTEasyTracingInfo tracingInfo;
descriptor: Lorg/jboss/resteasy/tracing/api/RESTEasyTracingInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String requestId;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final java.util.Map<java.lang.String, org.jboss.resteasy.tracing.api.RESTEasyTracingEvent> string2event;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;>;
private static volatile int[] $SWITCH_TABLE$org$jboss$resteasy$tracing$api$RESTEasyTracingLevel;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=0
0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.string2event:Ljava/util/Map;
1: invokestatic org.jboss.resteasy.tracing.api.RESTEasyServerTracingEvent.values:()[Lorg/jboss/resteasy/tracing/api/RESTEasyServerTracingEvent;
dup
astore 3
arraylength
istore 2
iconst_0
istore 1
goto 5
StackMap locals: top int int org.jboss.resteasy.tracing.api.RESTEasyTracingEvent[]
StackMap stack:
2: aload 3
iload 1
aaload
astore 0
start local 0 3: getstatic org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.string2event:Ljava/util/Map;
aload 0
invokeinterface org.jboss.resteasy.tracing.api.RESTEasyTracingEvent.name:()Ljava/lang/String;
aload 0
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 0 4: iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
iload 2
if_icmplt 2
6: invokestatic org.jboss.resteasy.tracing.api.RESTEasyMsgTraceEvent.values:()[Lorg/jboss/resteasy/tracing/api/RESTEasyMsgTraceEvent;
dup
astore 3
arraylength
istore 2
iconst_0
istore 1
goto 10
StackMap locals:
StackMap stack:
7: aload 3
iload 1
aaload
astore 0
start local 0 8: getstatic org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.string2event:Ljava/util/Map;
aload 0
invokeinterface org.jboss.resteasy.tracing.api.RESTEasyTracingEvent.name:()Ljava/lang/String;
aload 0
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 0 9: iinc 1 1
StackMap locals:
StackMap stack:
10: iload 1
iload 2
if_icmplt 7
11: return
LocalVariableTable:
Start End Slot Name Signature
3 4 0 v Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;
8 9 0 v Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;
void <init>(java.lang.String, org.jboss.resteasy.tracing.api.RESTEasyTracingLevel, java.lang.String);
descriptor: (Ljava/lang/String;Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
aconst_null
invokespecial org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.<init>:(Ljava/lang/String;Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/tracing/RESTEasyTracingLoggerImpl;
0 2 1 requestId Ljava/lang/String;
0 2 2 threshold Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;
0 2 3 loggerNameSuffix Ljava/lang/String;
MethodParameters:
Name Flags
requestId final
threshold final
loggerNameSuffix final
void <init>(java.lang.String, org.jboss.resteasy.tracing.api.RESTEasyTracingLevel, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial org.jboss.resteasy.tracing.api.RESTEasyTracing.<init>:()V
1: aload 0
aload 1
putfield org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.requestId:Ljava/lang/String;
2: aload 0
aload 2
putfield org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.threshold:Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;
3: aload 3
ifnull 6
4: aload 0
new java.lang.StringBuilder
dup
ldc "org.jboss.resteasy.tracing."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.jboss.logging.Logger.getLogger:(Ljava/lang/String;)Lorg/jboss/logging/Logger;
putfield org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.logger:Lorg/jboss/logging/Logger;
5: goto 7
6: StackMap locals: org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl java.lang.String org.jboss.resteasy.tracing.api.RESTEasyTracingLevel java.lang.String java.lang.String
StackMap stack:
aload 0
ldc "org.jboss.resteasy.tracing.general"
invokestatic org.jboss.logging.Logger.getLogger:(Ljava/lang/String;)Lorg/jboss/logging/Logger;
putfield org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.logger:Lorg/jboss/logging/Logger;
7: StackMap locals:
StackMap stack:
aload 0
aload 4
invokestatic org.jboss.resteasy.tracing.api.RESTEasyTracingInfo.get:(Ljava/lang/String;)Lorg/jboss/resteasy/tracing/api/RESTEasyTracingInfo;
putfield org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.tracingInfo:Lorg/jboss/resteasy/tracing/api/RESTEasyTracingInfo;
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jboss/resteasy/tracing/RESTEasyTracingLoggerImpl;
0 9 1 requestId Ljava/lang/String;
0 9 2 threshold Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;
0 9 3 loggerNameSuffix Ljava/lang/String;
0 9 4 format Ljava/lang/String;
MethodParameters:
Name Flags
requestId final
threshold final
loggerNameSuffix final
format final
private org.jboss.resteasy.tracing.api.RESTEasyTracingEvent getEvent(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.string2event:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jboss.resteasy.tracing.api.RESTEasyTracingEvent
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
3: StackMap locals: org.jboss.resteasy.tracing.api.RESTEasyTracingEvent
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/tracing/RESTEasyTracingLoggerImpl;
0 4 1 eventName Ljava/lang/String;
1 4 2 e Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;
MethodParameters:
Name Flags
eventName
public boolean isLogEnabled(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokevirtual org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.getEvent:(Ljava/lang/String;)Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;
invokevirtual org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.isLogEnabled:(Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/tracing/RESTEasyTracingLoggerImpl;
0 1 1 eventName Ljava/lang/String;
MethodParameters:
Name Flags
eventName
public void log(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
aload 1
invokevirtual org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.getEvent:(Ljava/lang/String;)Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;
aload 2
invokevirtual org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.log:(Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;[Ljava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/tracing/RESTEasyTracingLoggerImpl;
0 2 1 eventName Ljava/lang/String;
0 2 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
eventName
args
public void logDuration(java.lang.String, long, java.lang.Object[]);
descriptor: (Ljava/lang/String;J[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
aload 0
aload 1
invokevirtual org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.getEvent:(Ljava/lang/String;)Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;
lload 2
aload 4
invokevirtual org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.logDuration:(Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;J[Ljava/lang/Object;)V
1: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/tracing/RESTEasyTracingLoggerImpl;
0 2 1 eventName Ljava/lang/String;
0 2 2 fromTimestamp J
0 2 4 args [Ljava/lang/Object;
MethodParameters:
Name Flags
eventName
fromTimestamp
args
public long timestamp(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokevirtual org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.getEvent:(Ljava/lang/String;)Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;
invokevirtual org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.timestamp:(Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/tracing/RESTEasyTracingLoggerImpl;
0 1 1 eventName Ljava/lang/String;
MethodParameters:
Name Flags
eventName
private boolean isEnabled(org.jboss.resteasy.tracing.api.RESTEasyTracingLevel);
descriptor: (Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.threshold:Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;
invokevirtual org.jboss.resteasy.tracing.api.RESTEasyTracingLevel.ordinal:()I
aload 1
invokevirtual org.jboss.resteasy.tracing.api.RESTEasyTracingLevel.ordinal:()I
if_icmplt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/tracing/RESTEasyTracingLoggerImpl;
0 2 1 level Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;
MethodParameters:
Name Flags
level final
public boolean isLogEnabled(org.jboss.resteasy.tracing.api.RESTEasyTracingEvent);
descriptor: (Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface org.jboss.resteasy.tracing.api.RESTEasyTracingEvent.level:()Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;
invokevirtual org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.isEnabled:(Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/tracing/RESTEasyTracingLoggerImpl;
0 1 1 event Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;
MethodParameters:
Name Flags
event final
public void log(org.jboss.resteasy.tracing.api.RESTEasyTracingEvent, java.lang.Object[]);
descriptor: (Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
ldc -1
aload 2
invokevirtual org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.logDuration:(Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;J[Ljava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/tracing/RESTEasyTracingLoggerImpl;
0 2 1 event Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;
0 2 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
event final
args final
public void logDuration(org.jboss.resteasy.tracing.api.RESTEasyTracingEvent, long, java.lang.Object[]);
descriptor: (Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;J[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
aload 1
invokeinterface org.jboss.resteasy.tracing.api.RESTEasyTracingEvent.level:()Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;
invokevirtual org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.isEnabled:(Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;)Z
ifeq 9
1: lload 2
ldc -1
lcmp
ifne 4
2: ldc -1
lstore 5
start local 5 3: goto 5
end local 5 4: StackMap locals:
StackMap stack:
invokestatic java.lang.System.nanoTime:()J
lstore 5
start local 5 5: StackMap locals: long
StackMap stack:
lconst_0
lstore 7
start local 7 6: lload 2
ldc -1
lcmp
ifeq 8
lload 5
ldc -1
lcmp
ifeq 8
7: lload 5
lload 2
lsub
lstore 7
8: StackMap locals: long
StackMap stack:
aload 0
aload 1
lload 7
aload 4
invokevirtual org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.logImpl:(Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;J[Ljava/lang/Object;)V
end local 7 end local 5 9: StackMap locals:
StackMap stack:
return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jboss/resteasy/tracing/RESTEasyTracingLoggerImpl;
0 10 1 event Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;
0 10 2 fromTimestamp J
0 10 4 args [Ljava/lang/Object;
3 4 5 toTimestamp J
5 9 5 toTimestamp J
6 9 7 duration J
MethodParameters:
Name Flags
event final
fromTimestamp final
args final
private void logImpl(org.jboss.resteasy.tracing.api.RESTEasyTracingEvent, long, java.lang.Object[]);
descriptor: (Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;J[Ljava/lang/Object;)V
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=7, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
aload 1
invokeinterface org.jboss.resteasy.tracing.api.RESTEasyTracingEvent.level:()Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;
invokevirtual org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.isEnabled:(Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;)Z
ifeq 30
1: aload 4
arraylength
anewarray java.lang.String
astore 5
start local 5 2: iconst_0
istore 6
start local 6 3: goto 6
4: StackMap locals: java.lang.String[] int
StackMap stack:
aload 5
iload 6
aload 0
aload 4
iload 6
aaload
invokevirtual org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.formatInstance:(Ljava/lang/Object;)Ljava/lang/String;
aastore
5: iinc 6 1
StackMap locals:
StackMap stack:
6: iload 6
aload 4
arraylength
if_icmplt 4
end local 6 7: new org.jboss.resteasy.tracing.api.RESTEasyTracingMessage
dup
aload 1
aload 0
getfield org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.requestId:Ljava/lang/String;
lload 2
aload 5
invokespecial org.jboss.resteasy.tracing.api.RESTEasyTracingMessage.<init>:(Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;Ljava/lang/String;J[Ljava/lang/String;)V
astore 6
start local 6 8: aload 0
getfield org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.tracingInfo:Lorg/jboss/resteasy/tracing/api/RESTEasyTracingInfo;
aload 6
invokevirtual org.jboss.resteasy.tracing.api.RESTEasyTracingInfo.addMessage:(Lorg/jboss/resteasy/tracing/api/RESTEasyTracingMessage;)V
9: invokestatic org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.$SWITCH_TABLE$org$jboss$resteasy$tracing$api$RESTEasyTracingLevel:()[I
aload 1
invokeinterface org.jboss.resteasy.tracing.api.RESTEasyTracingEvent.level:()Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;
invokevirtual org.jboss.resteasy.tracing.api.RESTEasyTracingLevel.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 10
2: 12
3: 14
default: 16
}
10: StackMap locals: org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl org.jboss.resteasy.tracing.api.RESTEasyTracingEvent long java.lang.Object[] java.lang.String[] org.jboss.resteasy.tracing.api.RESTEasyTracingMessage
StackMap stack:
getstatic org.jboss.logging.Logger$Level.INFO:Lorg/jboss/logging/Logger$Level;
astore 7
start local 7 11: goto 17
end local 7 12: StackMap locals:
StackMap stack:
getstatic org.jboss.logging.Logger$Level.DEBUG:Lorg/jboss/logging/Logger$Level;
astore 7
start local 7 13: goto 17
end local 7 14: StackMap locals:
StackMap stack:
getstatic org.jboss.logging.Logger$Level.TRACE:Lorg/jboss/logging/Logger$Level;
astore 7
start local 7 15: goto 17
end local 7 16: StackMap locals:
StackMap stack:
getstatic org.jboss.logging.Logger$Level.INFO:Lorg/jboss/logging/Logger$Level;
astore 7
start local 7 17: StackMap locals: org.jboss.logging.Logger$Level
StackMap stack:
aload 0
getfield org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.logger:Lorg/jboss/logging/Logger;
aload 7
invokevirtual org.jboss.logging.Logger.isEnabled:(Lorg/jboss/logging/Logger$Level;)Z
ifeq 30
18: aload 0
getfield org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.logger:Lorg/jboss/logging/Logger;
aload 7
19: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
20: aload 0
getfield org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.requestId:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
21: bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
22: aload 1
invokeinterface org.jboss.resteasy.tracing.api.RESTEasyTracingEvent.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
23: bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
24: aload 6
invokevirtual org.jboss.resteasy.tracing.api.RESTEasyTracingMessage.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
25: ldc " ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
26: aload 0
getfield org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.tracingInfo:Lorg/jboss/resteasy/tracing/api/RESTEasyTracingInfo;
lload 2
invokevirtual org.jboss.resteasy.tracing.api.RESTEasyTracingInfo.formatDuration:(J)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
27: ldc " ms]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
28: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
29: invokevirtual org.jboss.logging.Logger.log:(Lorg/jboss/logging/Logger$Level;Ljava/lang/Object;)V
end local 7 end local 6 end local 5 30: StackMap locals:
StackMap stack:
return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/jboss/resteasy/tracing/RESTEasyTracingLoggerImpl;
0 31 1 event Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;
0 31 2 duration J
0 31 4 messageArgs [Ljava/lang/Object;
2 30 5 messageArgsStr [Ljava/lang/String;
3 7 6 i I
8 30 6 message Lorg/jboss/resteasy/tracing/api/RESTEasyTracingMessage;
11 12 7 loggingLevel Lorg/jboss/logging/Logger$Level;
13 14 7 loggingLevel Lorg/jboss/logging/Logger$Level;
15 16 7 loggingLevel Lorg/jboss/logging/Logger$Level;
17 30 7 loggingLevel Lorg/jboss/logging/Logger$Level;
MethodParameters:
Name Flags
event final
duration final
messageArgs final
private static void formatInstance(java.lang.Object, java.lang.StringBuilder);
descriptor: (Ljava/lang/Object;Ljava/lang/StringBuilder;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " @"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: aload 0
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 instance Ljava/lang/Object;
0 3 1 text Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
instance final
text final
private static void formatResponse(javax.ws.rs.core.Response, java.lang.StringBuilder);
descriptor: (Ljavax/ws/rs/core/Response;Ljava/lang/StringBuilder;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc " <"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual javax.ws.rs.core.Response.getStatusInfo:()Ljavax/ws/rs/core/Response$StatusType;
invokestatic org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.formatStatusInfo:(Ljavax/ws/rs/core/Response$StatusType;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 124
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
1: aload 0
invokevirtual javax.ws.rs.core.Response.getEntity:()Ljava/lang/Object;
astore 2
start local 2 2: goto 5
end local 2 3: StackMap locals:
StackMap stack: java.lang.IllegalStateException
pop
4: aconst_null
astore 2
start local 2 5: StackMap locals: java.lang.Object
StackMap stack:
aload 2
ifnull 8
6: aload 2
aload 1
invokestatic org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.formatInstance:(Ljava/lang/Object;Ljava/lang/StringBuilder;)V
7: goto 9
8: StackMap locals:
StackMap stack:
aload 1
ldc "-no-entity-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: StackMap locals:
StackMap stack:
aload 1
bipush 62
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 response Ljavax/ws/rs/core/Response;
0 11 1 text Ljava/lang/StringBuilder;
2 3 2 entity Ljava/lang/Object;
5 11 2 entity Ljava/lang/Object;
Exception table:
from to target type
1 2 3 Class java.lang.IllegalStateException
MethodParameters:
Name Flags
response final
text final
private static java.lang.String formatStatusInfo(javax.ws.rs.core.Response$StatusType);
descriptor: (Ljavax/ws/rs/core/Response$StatusType;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokeinterface javax.ws.rs.core.Response$StatusType.getStatusCode:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
invokeinterface javax.ws.rs.core.Response$StatusType.getFamily:()Ljavax/ws/rs/core/Response$Status$Family;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
bipush 124
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
invokeinterface javax.ws.rs.core.Response$StatusType.getReasonPhrase:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 statusInfo Ljavax/ws/rs/core/Response$StatusType;
MethodParameters:
Name Flags
statusInfo final
private java.lang.String formatInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: aload 1
ifnonnull 4
2: aload 2
ldc "null"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: goto 20
StackMap locals: java.lang.StringBuilder
StackMap stack:
4: aload 1
instanceof java.lang.Number
ifne 5
aload 1
instanceof java.lang.String
ifne 5
aload 1
instanceof java.lang.reflect.Method
ifeq 7
5: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: goto 20
StackMap locals:
StackMap stack:
7: aload 1
instanceof javax.ws.rs.core.Response$StatusType
ifeq 10
8: aload 2
aload 1
checkcast javax.ws.rs.core.Response$StatusType
invokestatic org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.formatStatusInfo:(Ljavax/ws/rs/core/Response$StatusType;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: goto 20
10: StackMap locals:
StackMap stack:
aload 2
bipush 91
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
11: aload 1
aload 2
invokestatic org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.formatInstance:(Ljava/lang/Object;Ljava/lang/StringBuilder;)V
12: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Ljavax/annotation/Priority;
invokevirtual java.lang.Class.isAnnotationPresent:(Ljava/lang/Class;)Z
ifeq 14
13: aload 2
ldc " #"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Ljavax/annotation/Priority;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast javax.annotation.Priority
invokeinterface javax.annotation.Priority.value:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
14: StackMap locals:
StackMap stack:
aload 1
instanceof javax.ws.rs.WebApplicationException
ifeq 17
15: aload 1
checkcast javax.ws.rs.WebApplicationException
invokevirtual javax.ws.rs.WebApplicationException.getResponse:()Ljavax/ws/rs/core/Response;
aload 2
invokestatic org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.formatResponse:(Ljavax/ws/rs/core/Response;Ljava/lang/StringBuilder;)V
16: goto 19
StackMap locals:
StackMap stack:
17: aload 1
instanceof javax.ws.rs.core.Response
ifeq 19
18: aload 1
checkcast javax.ws.rs.core.Response
aload 2
invokestatic org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.formatResponse:(Ljavax/ws/rs/core/Response;Ljava/lang/StringBuilder;)V
19: StackMap locals:
StackMap stack:
aload 2
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
20: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/jboss/resteasy/tracing/RESTEasyTracingLoggerImpl;
0 21 1 instance Ljava/lang/Object;
1 21 2 text Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
instance
public long timestamp(org.jboss.resteasy.tracing.api.RESTEasyTracingEvent);
descriptor: (Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface org.jboss.resteasy.tracing.api.RESTEasyTracingEvent.level:()Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;
invokevirtual org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.isEnabled:(Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;)Z
ifeq 2
1: invokestatic java.lang.System.nanoTime:()J
lreturn
2: StackMap locals:
StackMap stack:
ldc -1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/tracing/RESTEasyTracingLoggerImpl;
0 3 1 event Lorg/jboss/resteasy/tracing/api/RESTEasyTracingEvent;
MethodParameters:
Name Flags
event final
public void flush(javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.Object>);
descriptor: (Ljavax/ws/rs/core/MultivaluedMap;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.tracingInfo:Lorg/jboss/resteasy/tracing/api/RESTEasyTracingInfo;
invokevirtual org.jboss.resteasy.tracing.api.RESTEasyTracingInfo.getMessages:()[Ljava/lang/String;
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: java.lang.String[] int
StackMap stack:
aload 1
ldc "X-RESTEasy-Tracing-%03d"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 2
iload 3
aaload
invokeinterface javax.ws.rs.core.MultivaluedMap.putSingle:(Ljava/lang/Object;Ljava/lang/Object;)V
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 2
arraylength
if_icmplt 3
end local 3 6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jboss/resteasy/tracing/RESTEasyTracingLoggerImpl;
0 7 1 headers Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/Object;>;
1 7 2 messages [Ljava/lang/String;
2 6 3 i I
Signature: (Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
headers final
static int[] $SWITCH_TABLE$org$jboss$resteasy$tracing$api$RESTEasyTracingLevel();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.$SWITCH_TABLE$org$jboss$resteasy$tracing$api$RESTEasyTracingLevel:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.jboss.resteasy.tracing.api.RESTEasyTracingLevel.values:()[Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.jboss.resteasy.tracing.api.RESTEasyTracingLevel.SUMMARY:Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;
invokevirtual org.jboss.resteasy.tracing.api.RESTEasyTracingLevel.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.jboss.resteasy.tracing.api.RESTEasyTracingLevel.TRACE:Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;
invokevirtual org.jboss.resteasy.tracing.api.RESTEasyTracingLevel.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.jboss.resteasy.tracing.api.RESTEasyTracingLevel.VERBOSE:Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;
invokevirtual org.jboss.resteasy.tracing.api.RESTEasyTracingLevel.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic org.jboss.resteasy.tracing.RESTEasyTracingLoggerImpl.$SWITCH_TABLE$org$jboss$resteasy$tracing$api$RESTEasyTracingLevel:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
}
SourceFile: "RESTEasyTracingLoggerImpl.java"
InnerClasses:
public final Status = javax.ws.rs.core.Response$Status of javax.ws.rs.core.Response
public final Family = javax.ws.rs.core.Response$Status$Family of javax.ws.rs.core.Response$Status
public abstract StatusType = javax.ws.rs.core.Response$StatusType of javax.ws.rs.core.Response
public final Level = org.jboss.logging.Logger$Level of org.jboss.logging.Logger