public class org.glassfish.jersey.moxy.json.MoxyJsonFeature implements javax.ws.rs.core.Feature
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.jersey.moxy.json.MoxyJsonFeature
super_class: java.lang.Object
{
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/moxy/json/MoxyJsonFeature;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
putstatic org.glassfish.jersey.moxy.json.MoxyJsonFeature.JSON_FEATURE:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
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/glassfish/jersey/moxy/json/MoxyJsonFeature;
public boolean configure(javax.ws.rs.core.FeatureContext);
descriptor: (Ljavax/ws/rs/core/FeatureContext;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, 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.disableMoxyJson"
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
ldc Ljava/lang/Boolean;
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.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
4: ifeq 6
5: iconst_0
ireturn
6: StackMap locals: javax.ws.rs.core.Configuration
StackMap stack:
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;
7: ldc "jersey.config.jsonFeature"
getstatic org.glassfish.jersey.moxy.json.MoxyJsonFeature.JSON_FEATURE:Ljava/lang/String;
ldc Ljava/lang/String;
8: 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 9: getstatic org.glassfish.jersey.moxy.json.MoxyJsonFeature.JSON_FEATURE:Ljava/lang/String;
aload 3
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 11
10: iconst_0
ireturn
11: StackMap locals: 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;
12: getstatic org.glassfish.jersey.moxy.json.MoxyJsonFeature.JSON_FEATURE:Ljava/lang/String;
13: invokeinterface javax.ws.rs.core.FeatureContext.property:(Ljava/lang/String;Ljava/lang/Object;)Ljavax/ws/rs/core/Configurable;
pop
14: aload 2
invokestatic org.glassfish.jersey.message.filtering.EntityFilteringFeature.enabled:(Ljavax/ws/rs/core/Configuration;)Z
ifeq 18
15: aload 1
ldc Lorg/glassfish/jersey/moxy/internal/MoxyFilteringFeature;
invokeinterface javax.ws.rs.core.FeatureContext.register:(Ljava/lang/Class;)Ljavax/ws/rs/core/Configurable;
pop
16: aload 1
ldc Lorg/glassfish/jersey/moxy/json/internal/FilteringMoxyJsonProvider;
sipush 7000
invokeinterface javax.ws.rs.core.FeatureContext.register:(Ljava/lang/Class;I)Ljavax/ws/rs/core/Configurable;
pop
17: goto 19
18: StackMap locals:
StackMap stack:
aload 1
ldc Lorg/glassfish/jersey/moxy/json/internal/ConfigurableMoxyJsonProvider;
sipush 7000
invokeinterface javax.ws.rs.core.FeatureContext.register:(Ljava/lang/Class;I)Ljavax/ws/rs/core/Configurable;
pop
19: 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 20 0 this Lorg/glassfish/jersey/moxy/json/MoxyJsonFeature;
0 20 1 context Ljavax/ws/rs/core/FeatureContext;
1 20 2 config Ljavax/ws/rs/core/Configuration;
9 20 3 jsonFeature Ljava/lang/String;
MethodParameters:
Name Flags
context final
}
SourceFile: "MoxyJsonFeature.java"