public class org.glassfish.grizzly.servlet.ServletRegistration extends org.glassfish.grizzly.servlet.Registration implements jakarta.servlet.ServletRegistration$Dynamic, java.lang.Comparable<org.glassfish.grizzly.servlet.ServletRegistration>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.servlet.ServletRegistration
super_class: org.glassfish.grizzly.servlet.Registration
{
protected java.lang.Class<? extends jakarta.servlet.Servlet> servletClass;
descriptor: Ljava/lang/Class;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/lang/Class<+Ljakarta/servlet/Servlet;>;
protected final org.glassfish.grizzly.utils.ArraySet<java.lang.String> urlPatterns;
descriptor: Lorg/glassfish/grizzly/utils/ArraySet;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Lorg/glassfish/grizzly/utils/ArraySet<Ljava/lang/String;>;
protected jakarta.servlet.Servlet servlet;
descriptor: Ljakarta/servlet/Servlet;
flags: (0x0004) ACC_PROTECTED
protected int loadOnStartup;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected org.glassfish.grizzly.servlet.ExpectationHandler expectationHandler;
descriptor: Lorg/glassfish/grizzly/servlet/ExpectationHandler;
flags: (0x0004) ACC_PROTECTED
protected boolean isAsyncSupported;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
private java.lang.String runAs;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
protected void <init>(org.glassfish.grizzly.servlet.WebappContext, java.lang.String, java.lang.String);
descriptor: (Lorg/glassfish/grizzly/servlet/WebappContext;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokespecial org.glassfish.grizzly.servlet.Registration.<init>:(Lorg/glassfish/grizzly/servlet/WebappContext;Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
new org.glassfish.grizzly.utils.ArraySet
dup
ldc Ljava/lang/String;
invokespecial org.glassfish.grizzly.utils.ArraySet.<init>:(Ljava/lang/Class;)V
putfield org.glassfish.grizzly.servlet.ServletRegistration.urlPatterns:Lorg/glassfish/grizzly/utils/ArraySet;
2: aload 0
iconst_m1
putfield org.glassfish.grizzly.servlet.ServletRegistration.loadOnStartup:I
3: aload 0
aconst_null
putfield org.glassfish.grizzly.servlet.ServletRegistration.runAs:Ljava/lang/String;
4: aload 0
aload 2
putfield org.glassfish.grizzly.servlet.ServletRegistration.name:Ljava/lang/String;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/servlet/ServletRegistration;
0 6 1 ctx Lorg/glassfish/grizzly/servlet/WebappContext;
0 6 2 name Ljava/lang/String;
0 6 3 servletClassName Ljava/lang/String;
MethodParameters:
Name Flags
ctx final
name final
servletClassName final
protected void <init>(org.glassfish.grizzly.servlet.WebappContext, java.lang.String, jakarta.servlet.Servlet);
descriptor: (Lorg/glassfish/grizzly/servlet/WebappContext;Ljava/lang/String;Ljakarta/servlet/Servlet;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokespecial org.glassfish.grizzly.servlet.ServletRegistration.<init>:(Lorg/glassfish/grizzly/servlet/WebappContext;Ljava/lang/String;Ljava/lang/Class;)V
1: aload 0
aload 3
putfield org.glassfish.grizzly.servlet.ServletRegistration.servlet:Ljakarta/servlet/Servlet;
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/servlet/ServletRegistration;
0 3 1 ctx Lorg/glassfish/grizzly/servlet/WebappContext;
0 3 2 name Ljava/lang/String;
0 3 3 servlet Ljakarta/servlet/Servlet;
MethodParameters:
Name Flags
ctx final
name final
servlet final
protected void <init>(org.glassfish.grizzly.servlet.WebappContext, java.lang.String, java.lang.Class<? extends jakarta.servlet.Servlet>);
descriptor: (Lorg/glassfish/grizzly/servlet/WebappContext;Ljava/lang/String;Ljava/lang/Class;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokespecial org.glassfish.grizzly.servlet.ServletRegistration.<init>:(Lorg/glassfish/grizzly/servlet/WebappContext;Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
aload 3
putfield org.glassfish.grizzly.servlet.ServletRegistration.servletClass:Ljava/lang/Class;
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/servlet/ServletRegistration;
0 3 1 ctx Lorg/glassfish/grizzly/servlet/WebappContext;
0 3 2 name Ljava/lang/String;
0 3 3 servletClass Ljava/lang/Class<+Ljakarta/servlet/Servlet;>;
Signature: (Lorg/glassfish/grizzly/servlet/WebappContext;Ljava/lang/String;Ljava/lang/Class<+Ljakarta/servlet/Servlet;>;)V
MethodParameters:
Name Flags
ctx final
name final
servletClass final
public java.util.Set<java.lang.String> addMapping(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Ljava/util/Set;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.servlet.ServletRegistration.ctx:Lorg/glassfish/grizzly/servlet/WebappContext;
getfield org.glassfish.grizzly.servlet.WebappContext.deployed:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "WebappContext has already been deployed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 1
arraylength
ifne 4
3: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "'urlPatterns' cannot be null or zero-length"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.servlet.ServletRegistration.urlPatterns:Lorg/glassfish/grizzly/utils/ArraySet;
aload 1
invokevirtual org.glassfish.grizzly.utils.ArraySet.addAll:([Ljava/lang/Object;)Z
pop
5: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/servlet/ServletRegistration;
0 6 1 urlPatterns [Ljava/lang/String;
Signature: ([Ljava/lang/String;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
urlPatterns
public java.util.Collection<java.lang.String> getMappings();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.servlet.ServletRegistration.urlPatterns:Lorg/glassfish/grizzly/utils/ArraySet;
invokevirtual org.glassfish.grizzly.utils.ArraySet.getArrayCopy:()[Ljava/lang/Object;
checkcast java.lang.String[]
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/servlet/ServletRegistration;
Signature: ()Ljava/util/Collection<Ljava/lang/String;>;
public void setLoadOnStartup(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.servlet.ServletRegistration.ctx:Lorg/glassfish/grizzly/servlet/WebappContext;
getfield org.glassfish.grizzly.servlet.WebappContext.deployed:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "WebappContext has already been deployed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 1
ifge 5
3: aload 0
iconst_m1
putfield org.glassfish.grizzly.servlet.ServletRegistration.loadOnStartup:I
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.glassfish.grizzly.servlet.ServletRegistration.loadOnStartup:I
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/servlet/ServletRegistration;
0 7 1 loadOnStartup I
MethodParameters:
Name Flags
loadOnStartup
public org.glassfish.grizzly.servlet.ExpectationHandler getExpectationHandler();
descriptor: ()Lorg/glassfish/grizzly/servlet/ExpectationHandler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.servlet.ServletRegistration.expectationHandler:Lorg/glassfish/grizzly/servlet/ExpectationHandler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/servlet/ServletRegistration;
public java.util.Set<java.lang.String> setServletSecurity(jakarta.servlet.ServletSecurityElement);
descriptor: (Ljakarta/servlet/ServletSecurityElement;)Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/servlet/ServletRegistration;
0 1 1 constraint Ljakarta/servlet/ServletSecurityElement;
Signature: (Ljakarta/servlet/ServletSecurityElement;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
constraint
public void setMultipartConfig(jakarta.servlet.MultipartConfigElement);
descriptor: (Ljakarta/servlet/MultipartConfigElement;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
ldc "Not supported yet."
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/servlet/ServletRegistration;
0 1 1 multipartConfig Ljakarta/servlet/MultipartConfigElement;
MethodParameters:
Name Flags
multipartConfig
public java.lang.String getRunAsRole();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.servlet.ServletRegistration.runAs:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/servlet/ServletRegistration;
public void setRunAsRole(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.glassfish.grizzly.servlet.ServletRegistration.runAs:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/servlet/ServletRegistration;
0 2 1 roleName Ljava/lang/String;
MethodParameters:
Name Flags
roleName
public void setAsyncSupported(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.glassfish.grizzly.servlet.ServletRegistration.isAsyncSupported:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/servlet/ServletRegistration;
0 2 1 isAsyncSupported Z
MethodParameters:
Name Flags
isAsyncSupported
public void setExpectationHandler(org.glassfish.grizzly.servlet.ExpectationHandler);
descriptor: (Lorg/glassfish/grizzly/servlet/ExpectationHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.glassfish.grizzly.servlet.ServletRegistration.expectationHandler:Lorg/glassfish/grizzly/servlet/ExpectationHandler;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/servlet/ServletRegistration;
0 2 1 expectationHandler Lorg/glassfish/grizzly/servlet/ExpectationHandler;
MethodParameters:
Name Flags
expectationHandler
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "ServletRegistration"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
ldc "{ servletName="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.glassfish.grizzly.servlet.ServletRegistration.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
ldc ", servletClass="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.glassfish.grizzly.servlet.ServletRegistration.className:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 1
ldc ", urlPatterns="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.glassfish.grizzly.servlet.ServletRegistration.urlPatterns:Lorg/glassfish/grizzly/utils/ArraySet;
invokevirtual org.glassfish.grizzly.utils.ArraySet.getArray:()[Ljava/lang/Object;
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 1
ldc ", loadOnStartup="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.glassfish.grizzly.servlet.ServletRegistration.loadOnStartup:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
6: aload 1
ldc ", isAsyncSupported="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.glassfish.grizzly.servlet.ServletRegistration.isAsyncSupported:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
pop
7: aload 1
ldc " }"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/glassfish/grizzly/servlet/ServletRegistration;
1 9 1 sb Ljava/lang/StringBuilder;
public int compareTo(org.glassfish.grizzly.servlet.ServletRegistration);
descriptor: (Lorg/glassfish/grizzly/servlet/ServletRegistration;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.servlet.ServletRegistration.loadOnStartup:I
aload 1
getfield org.glassfish.grizzly.servlet.ServletRegistration.loadOnStartup:I
if_icmpne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.servlet.ServletRegistration.loadOnStartup:I
ifge 4
aload 1
getfield org.glassfish.grizzly.servlet.ServletRegistration.loadOnStartup:I
ifge 4
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.servlet.ServletRegistration.loadOnStartup:I
iflt 7
aload 1
getfield org.glassfish.grizzly.servlet.ServletRegistration.loadOnStartup:I
iflt 7
5: aload 0
getfield org.glassfish.grizzly.servlet.ServletRegistration.loadOnStartup:I
aload 1
getfield org.glassfish.grizzly.servlet.ServletRegistration.loadOnStartup:I
if_icmpge 7
6: iconst_m1
ireturn
7: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/grizzly/servlet/ServletRegistration;
0 8 1 o Lorg/glassfish/grizzly/servlet/ServletRegistration;
MethodParameters:
Name Flags
o
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.glassfish.grizzly.servlet.ServletRegistration
invokevirtual org.glassfish.grizzly.servlet.ServletRegistration.compareTo:(Lorg/glassfish/grizzly/servlet/ServletRegistration;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/glassfish/grizzly/servlet/Registration;Ljakarta/servlet/ServletRegistration$Dynamic;Ljava/lang/Comparable<Lorg/glassfish/grizzly/servlet/ServletRegistration;>;
SourceFile: "ServletRegistration.java"
InnerClasses:
public abstract Dynamic = jakarta.servlet.ServletRegistration$Dynamic of jakarta.servlet.ServletRegistration