public class org.jboss.resteasy.tracing.RESTEasyTracingUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.tracing.RESTEasyTracingUtils
super_class: java.lang.Object
{
static final java.util.List<java.lang.String> ;
descriptor: Ljava/util/List;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putstatic org.jboss.resteasy.tracing.RESTEasyTracingUtils.SUMMARY_HEADERS:Ljava/util/List;
1: getstatic org.jboss.resteasy.tracing.RESTEasyTracingUtils.SUMMARY_HEADERS:Ljava/util/List;
ldc "Accept"
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: getstatic org.jboss.resteasy.tracing.RESTEasyTracingUtils.SUMMARY_HEADERS:Ljava/util/List;
ldc "Accept-Encoding"
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: getstatic org.jboss.resteasy.tracing.RESTEasyTracingUtils.SUMMARY_HEADERS:Ljava/util/List;
ldc "Accept-Charset"
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: getstatic org.jboss.resteasy.tracing.RESTEasyTracingUtils.SUMMARY_HEADERS:Ljava/util/List;
ldc "Accept-Language"
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: getstatic org.jboss.resteasy.tracing.RESTEasyTracingUtils.SUMMARY_HEADERS:Ljava/util/List;
ldc "Content-Type"
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: getstatic org.jboss.resteasy.tracing.RESTEasyTracingUtils.SUMMARY_HEADERS:Ljava/util/List;
ldc "Content-Length"
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/tracing/RESTEasyTracingUtils;
static java.lang.String getTracingThreshold(org.jboss.resteasy.tracing.api.RESTEasyTracingLevel, org.jboss.resteasy.spi.HttpRequest);
descriptor: (Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;Lorg/jboss/resteasy/spi/HttpRequest;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "X-RESTEasy-Tracing-Threshold"
invokestatic org.jboss.resteasy.tracing.RESTEasyTracingUtils.getHeaderString:(Lorg/jboss/resteasy/spi/HttpRequest;Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnonnull 2
aload 0
invokevirtual org.jboss.resteasy.tracing.api.RESTEasyTracingLevel.toString:()Ljava/lang/String;
goto 3
StackMap locals: java.lang.String
StackMap stack:
2: aload 2
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 appThreshold Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;
0 4 1 request Lorg/jboss/resteasy/spi/HttpRequest;
1 4 2 thresholdText Ljava/lang/String;
MethodParameters:
Name Flags
appThreshold
request
static java.lang.String (org.jboss.resteasy.spi.HttpRequest, java.lang.String);
descriptor: (Lorg/jboss/resteasy/spi/HttpRequest;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.jboss.resteasy.spi.HttpRequest.getHttpHeaders:()Ljavax/ws/rs/core/HttpHeaders;
ifnull 4
3: aload 0
invokeinterface org.jboss.resteasy.spi.HttpRequest.getHttpHeaders:()Ljavax/ws/rs/core/HttpHeaders;
aload 1
invokeinterface javax.ws.rs.core.HttpHeaders.getHeaderString:(Ljava/lang/String;)Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 request Lorg/jboss/resteasy/spi/HttpRequest;
0 5 1 header Ljava/lang/String;
MethodParameters:
Name Flags
request
header
static java.lang.String toStringOrNA(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: ldc "n/a"
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 object Ljava/lang/Object;
MethodParameters:
Name Flags
object
static boolean isTracingSupportEnabled(org.jboss.resteasy.tracing.api.RESTEasyTracingConfig, org.jboss.resteasy.spi.HttpRequest);
descriptor: (Lorg/jboss/resteasy/tracing/api/RESTEasyTracingConfig;Lorg/jboss/resteasy/spi/HttpRequest;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic org.jboss.resteasy.tracing.api.RESTEasyTracingConfig.ALL:Lorg/jboss/resteasy/tracing/api/RESTEasyTracingConfig;
if_acmpeq 3
1: aload 0
getstatic org.jboss.resteasy.tracing.api.RESTEasyTracingConfig.ON_DEMAND:Lorg/jboss/resteasy/tracing/api/RESTEasyTracingConfig;
if_acmpne 2
aload 1
ldc "X-RESTEasy-Tracing-Accept"
invokestatic org.jboss.resteasy.tracing.RESTEasyTracingUtils.getHeaderString:(Lorg/jboss/resteasy/spi/HttpRequest;Ljava/lang/String;)Ljava/lang/String;
ifnonnull 3
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 type Lorg/jboss/resteasy/tracing/api/RESTEasyTracingConfig;
0 4 1 request Lorg/jboss/resteasy/spi/HttpRequest;
MethodParameters:
Name Flags
type
request
static org.jboss.resteasy.tracing.api.RESTEasyTracingConfig getRESTEasyTracingConfig(javax.ws.rs.core.Configuration);
descriptor: (Ljavax/ws/rs/core/Configuration;)Lorg/jboss/resteasy/tracing/api/RESTEasyTracingConfig;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
ldc "resteasy.server.tracing.type"
invokeinterface javax.ws.rs.core.Configuration.getProperty:(Ljava/lang/String;)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
ifnull 4
2: aload 1
checkcast java.lang.String
invokestatic org.jboss.resteasy.tracing.api.RESTEasyTracingConfig.valueOf:(Ljava/lang/String;)Lorg/jboss/resteasy/tracing/api/RESTEasyTracingConfig;
astore 2
start local 2 3: goto 5
end local 2 4: StackMap locals: java.lang.Object
StackMap stack:
getstatic org.jboss.resteasy.tracing.api.RESTEasyTracingConfig.OFF:Lorg/jboss/resteasy/tracing/api/RESTEasyTracingConfig;
astore 2
start local 2 5: StackMap locals: org.jboss.resteasy.tracing.api.RESTEasyTracingConfig
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 configuration Ljavax/ws/rs/core/Configuration;
1 6 1 tracingText Ljava/lang/Object;
3 4 2 result Lorg/jboss/resteasy/tracing/api/RESTEasyTracingConfig;
5 6 2 result Lorg/jboss/resteasy/tracing/api/RESTEasyTracingConfig;
MethodParameters:
Name Flags
configuration
static java.lang.String getTracingLoggerNameSuffix(org.jboss.resteasy.spi.HttpRequest);
descriptor: (Lorg/jboss/resteasy/spi/HttpRequest;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "X-RESTEasy-Tracing-Logger"
invokestatic org.jboss.resteasy.tracing.RESTEasyTracingUtils.getHeaderString:(Lorg/jboss/resteasy/spi/HttpRequest;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 request Lorg/jboss/resteasy/spi/HttpRequest;
MethodParameters:
Name Flags
request
static org.jboss.resteasy.tracing.api.RESTEasyTracingLevel getRESTEasyTracingThreshold(javax.ws.rs.core.Configuration);
descriptor: (Ljavax/ws/rs/core/Configuration;)Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
ldc "resteasy.server.tracing.threshold"
invokeinterface javax.ws.rs.core.Configuration.getProperty:(Ljava/lang/String;)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
ifnonnull 2
getstatic org.jboss.resteasy.tracing.api.RESTEasyTracing.DEFAULT_LEVEL:Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;
goto 3
StackMap locals: java.lang.Object
StackMap stack:
2: aload 1
checkcast java.lang.String
invokestatic org.jboss.resteasy.tracing.api.RESTEasyTracingLevel.valueOf:(Ljava/lang/String;)Lorg/jboss/resteasy/tracing/api/RESTEasyTracingLevel;
StackMap locals:
StackMap stack: org.jboss.resteasy.tracing.api.RESTEasyTracingLevel
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 configuration Ljavax/ws/rs/core/Configuration;
1 4 1 thresholdText Ljava/lang/Object;
MethodParameters:
Name Flags
configuration
protected static java.lang.String getTracingInfoFormat(org.jboss.resteasy.spi.HttpRequest);
descriptor: (Lorg/jboss/resteasy/spi/HttpRequest;)Ljava/lang/String;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "X-RESTEasy-Tracing-Accept-Format"
invokestatic org.jboss.resteasy.tracing.RESTEasyTracingUtils.getHeaderString:(Lorg/jboss/resteasy/spi/HttpRequest;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 request Lorg/jboss/resteasy/spi/HttpRequest;
MethodParameters:
Name Flags
request
}
SourceFile: "RESTEasyTracingUtils.java"