public class org.jboss.resteasy.plugins.providers.RegisterBuiltin
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.plugins.providers.RegisterBuiltin
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/plugins/providers/RegisterBuiltin;
public static void register(org.jboss.resteasy.spi.ResteasyProviderFactory);
descriptor: (Lorg/jboss/resteasy/spi/ResteasyProviderFactory;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
invokestatic org.jboss.resteasy.plugins.providers.RegisterBuiltin.register:(Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Ljava/util/Set;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 factory Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
MethodParameters:
Name Flags
factory
public static void register(org.jboss.resteasy.spi.ResteasyProviderFactory, java.util.Set<java.lang.String>);
descriptor: (Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Ljava/util/Set;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
instanceof org.jboss.resteasy.core.ThreadLocalResteasyProviderFactory
ifeq 2
1: aload 0
checkcast org.jboss.resteasy.core.ThreadLocalResteasyProviderFactory
invokevirtual org.jboss.resteasy.core.ThreadLocalResteasyProviderFactory.getDelegate:()Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
goto 3
2: StackMap locals:
StackMap stack:
aload 0
3: StackMap locals:
StackMap stack: org.jboss.resteasy.spi.ResteasyProviderFactory
astore 2
start local 2 4: aload 2
dup
astore 3
monitorenter
5: aload 0
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.isBuiltinsRegistered:()Z
ifne 6
aload 0
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.isRegisterBuiltins:()Z
ifne 8
6: StackMap locals: org.jboss.resteasy.spi.ResteasyProviderFactory org.jboss.resteasy.spi.ResteasyProviderFactory
StackMap stack:
aload 3
monitorexit
7: return
8: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic org.jboss.resteasy.plugins.providers.RegisterBuiltin.registerProviders:(Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Ljava/util/Set;)V
9: goto 12
10: StackMap locals:
StackMap stack: java.lang.Exception
astore 4
start local 4 11: new java.lang.RuntimeException
dup
aload 4
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 12: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.setBuiltinsRegistered:(Z)V
13: aload 3
monitorexit
14: goto 17
StackMap locals:
StackMap stack: java.lang.Throwable
15: aload 3
monitorexit
16: athrow
17: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 factory Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
0 18 1 disabledProviders Ljava/util/Set<Ljava/lang/String;>;
4 18 2 monitor Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
11 12 4 e Ljava/lang/Exception;
Exception table:
from to target type
8 9 10 Class java.lang.Exception
5 7 15 any
8 14 15 any
15 16 15 any
Signature: (Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Ljava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
factory
disabledProviders
public static void registerProviders(org.jboss.resteasy.spi.ResteasyProviderFactory);
descriptor: (Lorg/jboss/resteasy/spi/ResteasyProviderFactory;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
invokestatic org.jboss.resteasy.plugins.providers.RegisterBuiltin.registerProviders:(Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Ljava/util/Set;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 factory Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
factory
public static void registerProviders(org.jboss.resteasy.spi.ResteasyProviderFactory, java.util.Set<java.lang.String>);
descriptor: (Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Ljava/util/Set;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnonnull 3
1: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
new java.lang.StringBuilder
dup
ldc "META-INF/services/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc Ljavax/ws/rs/ext/Providers;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.ClassLoader.getResources:(Ljava/lang/String;)Ljava/util/Enumeration;
astore 2
start local 2 2: goto 4
end local 2 3: StackMap locals:
StackMap stack:
new org.jboss.resteasy.plugins.providers.RegisterBuiltin$1
dup
invokespecial org.jboss.resteasy.plugins.providers.RegisterBuiltin$1.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.util.Enumeration
astore 2
start local 2 4: StackMap locals: java.util.Enumeration
StackMap stack:
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3
start local 3 5: goto 24
6: StackMap locals: java.util.Map
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.net.URL
astore 4
start local 4 7: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnonnull 10
8: aload 4
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
astore 5
start local 5 9: goto 11
end local 5 10: StackMap locals: java.net.URL
StackMap stack:
new org.jboss.resteasy.plugins.providers.RegisterBuiltin$2
dup
aload 4
invokespecial org.jboss.resteasy.plugins.providers.RegisterBuiltin$2.<init>:(Ljava/net/URL;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.io.InputStream
astore 5
start local 5 11: StackMap locals: java.io.InputStream
StackMap stack:
new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
aload 5
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 6
start local 6 12: goto 17
start local 7 13: StackMap locals: java.io.BufferedReader java.lang.String
StackMap stack:
aload 7
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 7
14: aload 7
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
goto 17
15: StackMap locals:
StackMap stack:
aload 1
aload 7
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 16
goto 17
16: StackMap locals:
StackMap stack:
aload 3
aload 7
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 7 17: StackMap locals:
StackMap stack:
aload 6
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
dup
astore 7
start local 7 18: ifnonnull 13
end local 7 end local 6 19: goto 23
20: StackMap locals: org.jboss.resteasy.spi.ResteasyProviderFactory java.util.Set java.util.Enumeration java.util.Map java.net.URL java.io.InputStream
StackMap stack: java.lang.Throwable
astore 8
21: aload 5
invokevirtual java.io.InputStream.close:()V
22: aload 8
athrow
23: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.io.InputStream.close:()V
end local 5 end local 4 24: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 6
25: aload 3
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 39
StackMap locals: org.jboss.resteasy.spi.ResteasyProviderFactory java.util.Set java.util.Enumeration java.util.Map top java.util.Iterator
StackMap stack:
26: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 27: aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 28: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnonnull 31
29: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
aload 6
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 7
start local 7 30: goto 32
end local 7 31: StackMap locals: org.jboss.resteasy.spi.ResteasyProviderFactory java.util.Set java.util.Enumeration java.util.Map java.util.Map$Entry java.util.Iterator java.lang.String
StackMap stack:
new org.jboss.resteasy.plugins.providers.RegisterBuiltin$3
dup
aload 6
invokespecial org.jboss.resteasy.plugins.providers.RegisterBuiltin$3.<init>:(Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.lang.Class
astore 7
start local 7 32: StackMap locals: java.lang.Class
StackMap stack:
aload 0
aload 7
iconst_1
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider:(Ljava/lang/Class;Z)V
end local 7 33: goto 39
34: StackMap locals: org.jboss.resteasy.spi.ResteasyProviderFactory java.util.Set java.util.Enumeration java.util.Map java.util.Map$Entry java.util.Iterator java.lang.String
StackMap stack: java.lang.NoClassDefFoundError
astore 7
start local 7 35: getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.LOGGER:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/LogMessages;
aload 6
aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.net.URL
aload 7
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.noClassDefFoundErrorError:(Ljava/lang/String;Ljava/net/URL;Ljava/lang/Throwable;)V
end local 7 36: goto 39
37: StackMap locals:
StackMap stack: java.lang.Exception
astore 7
start local 7 38: getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.LOGGER:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/LogMessages;
aload 6
aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.net.URL
aload 7
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.classNotFoundException:(Ljava/lang/String;Ljava/net/URL;Ljava/lang/Throwable;)V
end local 7 end local 6 end local 4 39: StackMap locals: org.jboss.resteasy.spi.ResteasyProviderFactory java.util.Set java.util.Enumeration java.util.Map top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 26
40: new org.jboss.resteasy.plugins.providers.RegisterBuiltin$4
dup
invokespecial org.jboss.resteasy.plugins.providers.RegisterBuiltin$4.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
41: ifeq 45
42: aload 0
ldc Lorg/jboss/resteasy/plugins/interceptors/encoding/AcceptEncodingGZIPFilter;
iconst_1
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider:(Ljava/lang/Class;Z)V
43: aload 0
ldc Lorg/jboss/resteasy/plugins/interceptors/encoding/GZIPDecodingInterceptor;
iconst_1
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider:(Ljava/lang/Class;Z)V
44: aload 0
ldc Lorg/jboss/resteasy/plugins/interceptors/encoding/GZIPEncodingInterceptor;
iconst_1
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider:(Ljava/lang/Class;Z)V
45: StackMap locals: org.jboss.resteasy.spi.ResteasyProviderFactory java.util.Set java.util.Enumeration java.util.Map
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 factory Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
0 46 1 disabledProviders Ljava/util/Set<Ljava/lang/String;>;
2 3 2 en Ljava/util/Enumeration<Ljava/net/URL;>;
4 46 2 en Ljava/util/Enumeration<Ljava/net/URL;>;
5 46 3 origins Ljava/util/Map<Ljava/lang/String;Ljava/net/URL;>;
7 24 4 url Ljava/net/URL;
9 10 5 is Ljava/io/InputStream;
11 24 5 is Ljava/io/InputStream;
12 19 6 reader Ljava/io/BufferedReader;
13 17 7 line Ljava/lang/String;
18 19 7 line Ljava/lang/String;
27 39 4 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/net/URL;>;
28 39 6 line Ljava/lang/String;
30 31 7 clazz Ljava/lang/Class;
32 33 7 clazz Ljava/lang/Class;
35 36 7 e Ljava/lang/NoClassDefFoundError;
38 39 7 ex Ljava/lang/Exception;
Exception table:
from to target type
11 20 20 any
28 33 34 Class java.lang.NoClassDefFoundError
28 33 37 Class java.lang.ClassNotFoundException
28 33 37 Class java.security.PrivilegedActionException
Exceptions:
throws java.lang.Exception
Signature: (Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Ljava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
factory
disabledProviders
}
SourceFile: "RegisterBuiltin.java"
NestMembers:
org.jboss.resteasy.plugins.providers.RegisterBuiltin$1 org.jboss.resteasy.plugins.providers.RegisterBuiltin$2 org.jboss.resteasy.plugins.providers.RegisterBuiltin$3 org.jboss.resteasy.plugins.providers.RegisterBuiltin$4
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
org.jboss.resteasy.plugins.providers.RegisterBuiltin$1
org.jboss.resteasy.plugins.providers.RegisterBuiltin$2
org.jboss.resteasy.plugins.providers.RegisterBuiltin$3
org.jboss.resteasy.plugins.providers.RegisterBuiltin$4