public abstract class javax.ws.rs.ext.RuntimeDelegate
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.ws.rs.ext.RuntimeDelegate
super_class: java.lang.Object
{
public static final java.lang.String JAXRS_RUNTIME_DELEGATE_PROPERTY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "javax.ws.rs.ext.RuntimeDelegate"
private static final java.lang.String JAXRS_DEFAULT_RUNTIME_DELEGATE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "org.glassfish.jersey.internal.RuntimeDelegateImpl"
private static final java.lang.Object RD_LOCK;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static java.lang.reflect.ReflectPermission suppressAccessChecksPermission;
descriptor: Ljava/lang/reflect/ReflectPermission;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static volatile javax.ws.rs.ext.RuntimeDelegate cachedDelegate;
descriptor: Ljavax/ws/rs/ext/RuntimeDelegate;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic javax.ws.rs.ext.RuntimeDelegate.RD_LOCK:Ljava/lang/Object;
1: new java.lang.reflect.ReflectPermission
dup
ldc "suppressAccessChecks"
invokespecial java.lang.reflect.ReflectPermission.<init>:(Ljava/lang/String;)V
putstatic javax.ws.rs.ext.RuntimeDelegate.suppressAccessChecksPermission:Ljava/lang/reflect/ReflectPermission;
2: return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
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 Ljavax/ws/rs/ext/RuntimeDelegate;
public static javax.ws.rs.ext.RuntimeDelegate getInstance();
descriptor: ()Ljavax/ws/rs/ext/RuntimeDelegate;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: getstatic javax.ws.rs.ext.RuntimeDelegate.cachedDelegate:Ljavax/ws/rs/ext/RuntimeDelegate;
astore 0
start local 0 1: aload 0
ifnonnull 10
2: getstatic javax.ws.rs.ext.RuntimeDelegate.RD_LOCK:Ljava/lang/Object;
dup
astore 1
monitorenter
3: getstatic javax.ws.rs.ext.RuntimeDelegate.cachedDelegate:Ljavax/ws/rs/ext/RuntimeDelegate;
astore 0
4: aload 0
ifnonnull 6
5: invokestatic javax.ws.rs.ext.RuntimeDelegate.findDelegate:()Ljavax/ws/rs/ext/RuntimeDelegate;
dup
astore 0
putstatic javax.ws.rs.ext.RuntimeDelegate.cachedDelegate:Ljavax/ws/rs/ext/RuntimeDelegate;
6: StackMap locals: javax.ws.rs.ext.RuntimeDelegate java.lang.Object
StackMap stack:
aload 1
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 1
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 11 0 result Ljavax/ws/rs/ext/RuntimeDelegate;
Exception table:
from to target type
3 7 8 any
8 9 8 any
private static javax.ws.rs.ext.RuntimeDelegate findDelegate();
descriptor: ()Ljavax/ws/rs/ext/RuntimeDelegate;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=0
0: ldc "javax.ws.rs.ext.RuntimeDelegate"
1: ldc "org.glassfish.jersey.internal.RuntimeDelegateImpl"
2: ldc Ljavax/ws/rs/ext/RuntimeDelegate;
3: invokestatic javax.ws.rs.ext.FactoryFinder.find:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
astore 0
start local 0 4: aload 0
instanceof javax.ws.rs.ext.RuntimeDelegate
ifne 15
5: ldc Ljavax/ws/rs/ext/RuntimeDelegate;
astore 1
start local 1 6: new java.lang.StringBuilder
dup
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 7: aload 1
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 3
start local 3 8: aload 3
ifnonnull 10
9: invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
astore 3
10: StackMap locals: java.lang.Object java.lang.Class java.lang.String java.lang.ClassLoader
StackMap stack:
aload 3
aload 2
invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 4
start local 4 11: new java.lang.LinkageError
dup
new java.lang.StringBuilder
dup
ldc "ClassCastException: attempting to cast"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
12: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
aload 2
invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
13: ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
14: invokespecial java.lang.LinkageError.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 2 end local 1 15: StackMap locals:
StackMap stack:
aload 0
checkcast javax.ws.rs.ext.RuntimeDelegate
16: areturn
end local 0 17: StackMap locals:
StackMap stack: java.lang.Exception
astore 0
start local 0 18: new java.lang.RuntimeException
dup
aload 0
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
4 17 0 delegate Ljava/lang/Object;
6 15 1 pClass Ljava/lang/Class;
7 15 2 classnameAsResource Ljava/lang/String;
8 15 3 loader Ljava/lang/ClassLoader;
11 15 4 targetTypeURL Ljava/net/URL;
18 19 0 ex Ljava/lang/Exception;
Exception table:
from to target type
0 16 17 Class java.lang.Exception
public static void setInstance(javax.ws.rs.ext.RuntimeDelegate);
descriptor: (Ljavax/ws/rs/ext/RuntimeDelegate;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
getstatic javax.ws.rs.ext.RuntimeDelegate.suppressAccessChecksPermission:Ljava/lang/reflect/ReflectPermission;
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
getstatic javax.ws.rs.ext.RuntimeDelegate.RD_LOCK:Ljava/lang/Object;
dup
astore 2
monitorenter
4: aload 0
putstatic javax.ws.rs.ext.RuntimeDelegate.cachedDelegate:Ljavax/ws/rs/ext/RuntimeDelegate;
5: aload 2
monitorexit
6: goto 9
StackMap locals: javax.ws.rs.ext.RuntimeDelegate java.lang.SecurityManager java.lang.Object
StackMap stack: java.lang.Throwable
7: aload 2
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 rd Ljavax/ws/rs/ext/RuntimeDelegate;
1 10 1 security Ljava/lang/SecurityManager;
Exception table:
from to target type
4 6 7 any
7 8 7 any
MethodParameters:
Name Flags
rd final
public abstract javax.ws.rs.core.UriBuilder createUriBuilder();
descriptor: ()Ljavax/ws/rs/core/UriBuilder;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract javax.ws.rs.core.Response$ResponseBuilder createResponseBuilder();
descriptor: ()Ljavax/ws/rs/core/Response$ResponseBuilder;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract javax.ws.rs.core.Variant$VariantListBuilder createVariantListBuilder();
descriptor: ()Ljavax/ws/rs/core/Variant$VariantListBuilder;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract <T> T createEndpoint(javax.ws.rs.core.Application, java.lang.Class<T>);
descriptor: (Ljavax/ws/rs/core/Application;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.lang.IllegalArgumentException, java.lang.UnsupportedOperationException
Signature: <T:Ljava/lang/Object;>(Ljavax/ws/rs/core/Application;Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
application
endpointType
public abstract <T> javax.ws.rs.ext.RuntimeDelegate$HeaderDelegate<T> createHeaderDelegate(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljavax/ws/rs/ext/RuntimeDelegate$HeaderDelegate;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.lang.IllegalArgumentException
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)Ljavax/ws/rs/ext/RuntimeDelegate$HeaderDelegate<TT;>;
MethodParameters:
Name Flags
type
public abstract javax.ws.rs.core.Link$Builder createLinkBuilder();
descriptor: ()Ljavax/ws/rs/core/Link$Builder;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
}
SourceFile: "RuntimeDelegate.java"
NestMembers:
javax.ws.rs.ext.RuntimeDelegate$HeaderDelegate
InnerClasses:
public abstract Builder = javax.ws.rs.core.Link$Builder of javax.ws.rs.core.Link
public abstract ResponseBuilder = javax.ws.rs.core.Response$ResponseBuilder of javax.ws.rs.core.Response
public abstract VariantListBuilder = javax.ws.rs.core.Variant$VariantListBuilder of javax.ws.rs.core.Variant
public abstract HeaderDelegate = javax.ws.rs.ext.RuntimeDelegate$HeaderDelegate of javax.ws.rs.ext.RuntimeDelegate