public class javax.servlet.HttpMethodConstraintElement extends javax.servlet.HttpConstraintElement
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.servlet.HttpMethodConstraintElement
super_class: javax.servlet.HttpConstraintElement
{
private java.lang.String methodName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 // javax.servlet.HttpMethodConstraintElement this
start local 1 // java.lang.String methodName
0: .line 37
aload 0 /* this */
invokespecial javax.servlet.HttpConstraintElement.<init>:()V
1: .line 38
aload 1 /* methodName */
ifnull 2
aload 1 /* methodName */
invokevirtual java.lang.String.length:()I
ifne 3
2: .line 39
StackMap locals: javax.servlet.HttpMethodConstraintElement java.lang.String
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "invalid HTTP method name"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: .line 41
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 1 /* methodName */
putfield javax.servlet.HttpMethodConstraintElement.methodName:Ljava/lang/String;
4: .line 42
return
end local 1 // java.lang.String methodName
end local 0 // javax.servlet.HttpMethodConstraintElement this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/servlet/HttpMethodConstraintElement;
0 5 1 methodName Ljava/lang/String;
MethodParameters:
Name Flags
methodName
public void <init>(java.lang.String, javax.servlet.HttpConstraintElement);
descriptor: (Ljava/lang/String;Ljavax/servlet/HttpConstraintElement;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 // javax.servlet.HttpMethodConstraintElement this
start local 1 // java.lang.String methodName
start local 2 // javax.servlet.HttpConstraintElement constraint
0: .line 53
aload 0 /* this */
aload 2 /* constraint */
invokevirtual javax.servlet.HttpConstraintElement.getEmptyRoleSemantic:()Ljavax/servlet/annotation/ServletSecurity$EmptyRoleSemantic;
aload 2 /* constraint */
invokevirtual javax.servlet.HttpConstraintElement.getTransportGuarantee:()Ljavax/servlet/annotation/ServletSecurity$TransportGuarantee;
aload 2 /* constraint */
invokevirtual javax.servlet.HttpConstraintElement.getRolesAllowed:()[Ljava/lang/String;
invokespecial javax.servlet.HttpConstraintElement.<init>:(Ljavax/servlet/annotation/ServletSecurity$EmptyRoleSemantic;Ljavax/servlet/annotation/ServletSecurity$TransportGuarantee;[Ljava/lang/String;)V
1: .line 54
aload 1 /* methodName */
ifnull 2
aload 1 /* methodName */
invokevirtual java.lang.String.length:()I
ifne 3
2: .line 55
StackMap locals: javax.servlet.HttpMethodConstraintElement java.lang.String javax.servlet.HttpConstraintElement
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "invalid HTTP method name"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: .line 57
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 1 /* methodName */
putfield javax.servlet.HttpMethodConstraintElement.methodName:Ljava/lang/String;
4: .line 58
return
end local 2 // javax.servlet.HttpConstraintElement constraint
end local 1 // java.lang.String methodName
end local 0 // javax.servlet.HttpMethodConstraintElement this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/servlet/HttpMethodConstraintElement;
0 5 1 methodName Ljava/lang/String;
0 5 2 constraint Ljavax/servlet/HttpConstraintElement;
MethodParameters:
Name Flags
methodName
constraint
public java.lang.String getMethodName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // javax.servlet.HttpMethodConstraintElement this
0: .line 66
aload 0 /* this */
getfield javax.servlet.HttpMethodConstraintElement.methodName:Ljava/lang/String;
areturn
end local 0 // javax.servlet.HttpMethodConstraintElement this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/servlet/HttpMethodConstraintElement;
}
SourceFile: "HttpMethodConstraintElement.java"
InnerClasses:
public final EmptyRoleSemantic = javax.servlet.annotation.ServletSecurity$EmptyRoleSemantic of javax.servlet.annotation.ServletSecurity
public final TransportGuarantee = javax.servlet.annotation.ServletSecurity$TransportGuarantee of javax.servlet.annotation.ServletSecurity