public class org.glassfish.jersey.jackson.JacksonFeature implements javax.ws.rs.core.Feature
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.jersey.jackson.JacksonFeature
super_class: java.lang.Object
{
private final boolean registerExceptionMappers;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final java.lang.String JSON_FEATURE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/glassfish/jersey/jackson/JacksonFeature;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
putstatic org.glassfish.jersey.jackson.JacksonFeature.JSON_FEATURE:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokespecial org.glassfish.jersey.jackson.JacksonFeature.<init>:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/jersey/jackson/JacksonFeature;
private void <init>(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield org.glassfish.jersey.jackson.JacksonFeature.registerExceptionMappers:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/jersey/jackson/JacksonFeature;
0 3 1 registerExceptionMappers Z
MethodParameters:
Name Flags
registerExceptionMappers
public static org.glassfish.jersey.jackson.JacksonFeature withExceptionMappers();
descriptor: ()Lorg/glassfish/jersey/jackson/JacksonFeature;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.glassfish.jersey.jackson.JacksonFeature
dup
invokespecial org.glassfish.jersey.jackson.JacksonFeature.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.glassfish.jersey.jackson.JacksonFeature withoutExceptionMappers();
descriptor: ()Lorg/glassfish/jersey/jackson/JacksonFeature;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new org.glassfish.jersey.jackson.JacksonFeature
dup
iconst_0
invokespecial org.glassfish.jersey.jackson.JacksonFeature.<init>:(Z)V
areturn
LocalVariableTable:
Start End Slot Name Signature
public boolean configure(javax.ws.rs.core.FeatureContext);
descriptor: (Ljavax/ws/rs/core/FeatureContext;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface javax.ws.rs.core.FeatureContext.getConfiguration:()Ljavax/ws/rs/core/Configuration;
astore 2
start local 2 1: aload 2
invokeinterface javax.ws.rs.core.Configuration.getProperties:()Ljava/util/Map;
aload 2
invokeinterface javax.ws.rs.core.Configuration.getRuntimeType:()Ljavax/ws/rs/RuntimeType;
2: ldc "jersey.config.jsonFeature"
getstatic org.glassfish.jersey.jackson.JacksonFeature.JSON_FEATURE:Ljava/lang/String;
ldc Ljava/lang/String;
3: invokestatic org.glassfish.jersey.CommonProperties.getValue:(Ljava/util/Map;Ljavax/ws/rs/RuntimeType;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 4: getstatic org.glassfish.jersey.jackson.JacksonFeature.JSON_FEATURE:Ljava/lang/String;
aload 3
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 6
5: iconst_0
ireturn
6: StackMap locals: javax.ws.rs.core.Configuration java.lang.String
StackMap stack:
aload 1
ldc "jersey.config.jsonFeature"
aload 2
invokeinterface javax.ws.rs.core.Configuration.getRuntimeType:()Ljavax/ws/rs/RuntimeType;
invokestatic org.glassfish.jersey.internal.util.PropertiesHelper.getPropertyNameForRuntime:(Ljava/lang/String;Ljavax/ws/rs/RuntimeType;)Ljava/lang/String;
7: getstatic org.glassfish.jersey.jackson.JacksonFeature.JSON_FEATURE:Ljava/lang/String;
8: invokeinterface javax.ws.rs.core.FeatureContext.property:(Ljava/lang/String;Ljava/lang/Object;)Ljavax/ws/rs/core/Configurable;
pop
9: aload 2
ldc Lorg/glassfish/jersey/jackson/internal/jackson/jaxrs/json/JacksonJaxbJsonProvider;
invokeinterface javax.ws.rs.core.Configuration.isRegistered:(Ljava/lang/Class;)Z
ifne 18
10: aload 0
getfield org.glassfish.jersey.jackson.JacksonFeature.registerExceptionMappers:Z
ifeq 13
11: aload 1
ldc Lorg/glassfish/jersey/jackson/internal/jackson/jaxrs/base/JsonParseExceptionMapper;
invokeinterface javax.ws.rs.core.FeatureContext.register:(Ljava/lang/Class;)Ljavax/ws/rs/core/Configurable;
pop
12: aload 1
ldc Lorg/glassfish/jersey/jackson/internal/jackson/jaxrs/base/JsonMappingExceptionMapper;
invokeinterface javax.ws.rs.core.FeatureContext.register:(Ljava/lang/Class;)Ljavax/ws/rs/core/Configurable;
pop
13: StackMap locals:
StackMap stack:
aload 2
invokestatic org.glassfish.jersey.message.filtering.EntityFilteringFeature.enabled:(Ljavax/ws/rs/core/Configuration;)Z
ifeq 17
14: aload 1
ldc Lorg/glassfish/jersey/jackson/internal/JacksonFilteringFeature;
invokeinterface javax.ws.rs.core.FeatureContext.register:(Ljava/lang/Class;)Ljavax/ws/rs/core/Configurable;
pop
15: aload 1
ldc Lorg/glassfish/jersey/jackson/internal/FilteringJacksonJaxbJsonProvider;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljavax/ws/rs/ext/MessageBodyReader;
aastore
dup
iconst_1
ldc Ljavax/ws/rs/ext/MessageBodyWriter;
aastore
invokeinterface javax.ws.rs.core.FeatureContext.register:(Ljava/lang/Class;[Ljava/lang/Class;)Ljavax/ws/rs/core/Configurable;
pop
16: goto 18
17: StackMap locals:
StackMap stack:
aload 1
ldc Lorg/glassfish/jersey/jackson/internal/jackson/jaxrs/json/JacksonJaxbJsonProvider;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljavax/ws/rs/ext/MessageBodyReader;
aastore
dup
iconst_1
ldc Ljavax/ws/rs/ext/MessageBodyWriter;
aastore
invokeinterface javax.ws.rs.core.FeatureContext.register:(Ljava/lang/Class;[Ljava/lang/Class;)Ljavax/ws/rs/core/Configurable;
pop
18: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/glassfish/jersey/jackson/JacksonFeature;
0 19 1 context Ljavax/ws/rs/core/FeatureContext;
1 19 2 config Ljavax/ws/rs/core/Configuration;
4 19 3 jsonFeature Ljava/lang/String;
MethodParameters:
Name Flags
context final
}
SourceFile: "JacksonFeature.java"