class org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition$ConsumeMediaTypeExpression extends org.springframework.web.servlet.mvc.condition.AbstractMediaTypeExpression
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition$ConsumeMediaTypeExpression
super_class: org.springframework.web.servlet.mvc.condition.AbstractMediaTypeExpression
{
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition$ConsumeMediaTypeExpression this
start local 1 // java.lang.String expression
0: .line 221
aload 0 /* this */
aload 1 /* expression */
invokespecial org.springframework.web.servlet.mvc.condition.AbstractMediaTypeExpression.<init>:(Ljava/lang/String;)V
1: .line 222
return
end local 1 // java.lang.String expression
end local 0 // org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition$ConsumeMediaTypeExpression this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/servlet/mvc/condition/ConsumesRequestCondition$ConsumeMediaTypeExpression;
0 2 1 expression Ljava/lang/String;
MethodParameters:
Name Flags
expression
void <init>(org.springframework.http.MediaType, boolean);
descriptor: (Lorg/springframework/http/MediaType;Z)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 // org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition$ConsumeMediaTypeExpression this
start local 1 // org.springframework.http.MediaType mediaType
start local 2 // boolean negated
0: .line 225
aload 0 /* this */
aload 1 /* mediaType */
iload 2 /* negated */
invokespecial org.springframework.web.servlet.mvc.condition.AbstractMediaTypeExpression.<init>:(Lorg/springframework/http/MediaType;Z)V
1: .line 226
return
end local 2 // boolean negated
end local 1 // org.springframework.http.MediaType mediaType
end local 0 // org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition$ConsumeMediaTypeExpression this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/servlet/mvc/condition/ConsumesRequestCondition$ConsumeMediaTypeExpression;
0 2 1 mediaType Lorg/springframework/http/MediaType;
0 2 2 negated Z
MethodParameters:
Name Flags
mediaType
negated
public final boolean match(org.springframework.http.MediaType);
descriptor: (Lorg/springframework/http/MediaType;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 // org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition$ConsumeMediaTypeExpression this
start local 1 // org.springframework.http.MediaType contentType
0: .line 229
aload 0 /* this */
invokevirtual org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition$ConsumeMediaTypeExpression.getMediaType:()Lorg/springframework/http/MediaType;
aload 1 /* contentType */
invokevirtual org.springframework.http.MediaType.includes:(Lorg/springframework/http/MediaType;)Z
istore 2 /* match */
start local 2 // boolean match
1: .line 230
aload 0 /* this */
invokevirtual org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition$ConsumeMediaTypeExpression.isNegated:()Z
ifne 2
iload 2 /* match */
goto 4
StackMap locals: int
StackMap stack:
2: iload 2 /* match */
ifeq 3
iconst_0
goto 4
StackMap locals:
StackMap stack:
3: iconst_1
StackMap locals:
StackMap stack: int
4: ireturn
end local 2 // boolean match
end local 1 // org.springframework.http.MediaType contentType
end local 0 // org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition$ConsumeMediaTypeExpression this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/web/servlet/mvc/condition/ConsumesRequestCondition$ConsumeMediaTypeExpression;
0 5 1 contentType Lorg/springframework/http/MediaType;
1 5 2 match Z
MethodParameters:
Name Flags
contentType
}
SourceFile: "ConsumesRequestCondition.java"
NestHost: org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition
InnerClasses:
ConsumeMediaTypeExpression = org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition$ConsumeMediaTypeExpression of org.springframework.web.servlet.mvc.condition.ConsumesRequestCondition