public class jakarta.servlet.HttpMethodConstraintElement extends jakarta.servlet.HttpConstraintElement
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jakarta.servlet.HttpMethodConstraintElement
super_class: jakarta.servlet.HttpConstraintElement
{
private static final java.lang.String LSTRING_FILE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "jakarta.servlet.LocalStrings"
private static final java.util.ResourceBundle lStrings;
descriptor: Ljava/util/ResourceBundle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.String methodName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "jakarta.servlet.LocalStrings"
invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
1: putstatic jakarta.servlet.HttpMethodConstraintElement.lStrings:Ljava/util/ResourceBundle;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial jakarta.servlet.HttpConstraintElement.<init>:()V
1: aload 1
ifnull 2
aload 1
invokevirtual java.lang.String.length:()I
ifne 5
2: StackMap locals: jakarta.servlet.HttpMethodConstraintElement java.lang.String
StackMap stack:
new java.lang.IllegalArgumentException
dup
getstatic jakarta.servlet.HttpMethodConstraintElement.lStrings:Ljava/util/ResourceBundle;
3: ldc "httpMethodConstraintElement.invalidMethod"
4: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield jakarta.servlet.HttpMethodConstraintElement.methodName:Ljava/lang/String;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljakarta/servlet/HttpMethodConstraintElement;
0 7 1 methodName Ljava/lang/String;
MethodParameters:
Name Flags
methodName
public void <init>(java.lang.String, jakarta.servlet.HttpConstraintElement);
descriptor: (Ljava/lang/String;Ljakarta/servlet/HttpConstraintElement;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual jakarta.servlet.HttpConstraintElement.getEmptyRoleSemantic:()Ljakarta/servlet/annotation/ServletSecurity$EmptyRoleSemantic;
1: aload 2
invokevirtual jakarta.servlet.HttpConstraintElement.getTransportGuarantee:()Ljakarta/servlet/annotation/ServletSecurity$TransportGuarantee;
2: aload 2
invokevirtual jakarta.servlet.HttpConstraintElement.getRolesAllowed:()[Ljava/lang/String;
invokespecial jakarta.servlet.HttpConstraintElement.<init>:(Ljakarta/servlet/annotation/ServletSecurity$EmptyRoleSemantic;Ljakarta/servlet/annotation/ServletSecurity$TransportGuarantee;[Ljava/lang/String;)V
3: aload 1
ifnull 4
aload 1
invokevirtual java.lang.String.length:()I
ifne 7
4: StackMap locals: jakarta.servlet.HttpMethodConstraintElement java.lang.String jakarta.servlet.HttpConstraintElement
StackMap stack:
new java.lang.IllegalArgumentException
dup
getstatic jakarta.servlet.HttpMethodConstraintElement.lStrings:Ljava/util/ResourceBundle;
5: ldc "httpMethodConstraintElement.invalidMethod"
6: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield jakarta.servlet.HttpMethodConstraintElement.methodName:Ljava/lang/String;
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljakarta/servlet/HttpMethodConstraintElement;
0 9 1 methodName Ljava/lang/String;
0 9 2 constraint Ljakarta/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 0: aload 0
getfield jakarta.servlet.HttpMethodConstraintElement.methodName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljakarta/servlet/HttpMethodConstraintElement;
}
SourceFile: "HttpMethodConstraintElement.java"
InnerClasses:
public final EmptyRoleSemantic = jakarta.servlet.annotation.ServletSecurity$EmptyRoleSemantic of jakarta.servlet.annotation.ServletSecurity
public final TransportGuarantee = jakarta.servlet.annotation.ServletSecurity$TransportGuarantee of jakarta.servlet.annotation.ServletSecurity