public abstract class jakarta.servlet.GenericServlet implements jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: jakarta.servlet.GenericServlet
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -8592279577370996712
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 java.util.ResourceBundle lStrings;
descriptor: Ljava/util/ResourceBundle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private transient jakarta.servlet.ServletConfig config;
descriptor: Ljakarta/servlet/ServletConfig;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
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;
putstatic jakarta.servlet.GenericServlet.lStrings:Ljava/util/ResourceBundle;
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
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljakarta/servlet/GenericServlet;
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljakarta/servlet/GenericServlet;
public java.lang.String getInitParameter(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jakarta.servlet.GenericServlet.getServletConfig:()Ljakarta/servlet/ServletConfig;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new java.lang.IllegalStateException
dup
getstatic jakarta.servlet.GenericServlet.lStrings:Ljava/util/ResourceBundle;
ldc "err.servlet_config_not_initialized"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: jakarta.servlet.ServletConfig
StackMap stack:
aload 2
aload 1
invokeinterface jakarta.servlet.ServletConfig.getInitParameter:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljakarta/servlet/GenericServlet;
0 4 1 name Ljava/lang/String;
1 4 2 sc Ljakarta/servlet/ServletConfig;
MethodParameters:
Name Flags
name
public java.util.Enumeration<java.lang.String> getInitParameterNames();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jakarta.servlet.GenericServlet.getServletConfig:()Ljakarta/servlet/ServletConfig;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new java.lang.IllegalStateException
dup
getstatic jakarta.servlet.GenericServlet.lStrings:Ljava/util/ResourceBundle;
ldc "err.servlet_config_not_initialized"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: jakarta.servlet.ServletConfig
StackMap stack:
aload 1
invokeinterface jakarta.servlet.ServletConfig.getInitParameterNames:()Ljava/util/Enumeration;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljakarta/servlet/GenericServlet;
1 4 1 sc Ljakarta/servlet/ServletConfig;
Signature: ()Ljava/util/Enumeration<Ljava/lang/String;>;
public jakarta.servlet.ServletConfig getServletConfig();
descriptor: ()Ljakarta/servlet/ServletConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jakarta.servlet.GenericServlet.config:Ljakarta/servlet/ServletConfig;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljakarta/servlet/GenericServlet;
public jakarta.servlet.ServletContext getServletContext();
descriptor: ()Ljakarta/servlet/ServletContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jakarta.servlet.GenericServlet.getServletConfig:()Ljakarta/servlet/ServletConfig;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new java.lang.IllegalStateException
dup
getstatic jakarta.servlet.GenericServlet.lStrings:Ljava/util/ResourceBundle;
ldc "err.servlet_config_not_initialized"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: jakarta.servlet.ServletConfig
StackMap stack:
aload 1
invokeinterface jakarta.servlet.ServletConfig.getServletContext:()Ljakarta/servlet/ServletContext;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljakarta/servlet/GenericServlet;
1 4 1 sc Ljakarta/servlet/ServletConfig;
public java.lang.String getServletInfo();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc ""
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljakarta/servlet/GenericServlet;
public void init(jakarta.servlet.ServletConfig);
descriptor: (Ljakarta/servlet/ServletConfig;)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 jakarta.servlet.GenericServlet.config:Ljakarta/servlet/ServletConfig;
1: aload 0
invokevirtual jakarta.servlet.GenericServlet.init:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljakarta/servlet/GenericServlet;
0 3 1 config Ljakarta/servlet/ServletConfig;
Exceptions:
throws jakarta.servlet.ServletException
MethodParameters:
Name Flags
config
public void init();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljakarta/servlet/GenericServlet;
Exceptions:
throws jakarta.servlet.ServletException
public void log(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
invokevirtual jakarta.servlet.GenericServlet.getServletContext:()Ljakarta/servlet/ServletContext;
new java.lang.StringBuilder
dup
aload 0
invokevirtual jakarta.servlet.GenericServlet.getServletName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface jakarta.servlet.ServletContext.log:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljakarta/servlet/GenericServlet;
0 2 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
public void log(java.lang.String, java.lang.Throwable);
descriptor: (Ljava/lang/String;Ljava/lang/Throwable;)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
invokevirtual jakarta.servlet.GenericServlet.getServletContext:()Ljakarta/servlet/ServletContext;
new java.lang.StringBuilder
dup
aload 0
invokevirtual jakarta.servlet.GenericServlet.getServletName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokeinterface jakarta.servlet.ServletContext.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljakarta/servlet/GenericServlet;
0 2 1 message Ljava/lang/String;
0 2 2 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
message
t
public abstract void service(jakarta.servlet.ServletRequest, jakarta.servlet.ServletResponse);
descriptor: (Ljakarta/servlet/ServletRequest;Ljakarta/servlet/ServletResponse;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws jakarta.servlet.ServletException, java.io.IOException
MethodParameters:
Name Flags
req
res
public java.lang.String getServletName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jakarta.servlet.GenericServlet.getServletConfig:()Ljakarta/servlet/ServletConfig;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new java.lang.IllegalStateException
dup
getstatic jakarta.servlet.GenericServlet.lStrings:Ljava/util/ResourceBundle;
ldc "err.servlet_config_not_initialized"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: jakarta.servlet.ServletConfig
StackMap stack:
aload 1
invokeinterface jakarta.servlet.ServletConfig.getServletName:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljakarta/servlet/GenericServlet;
1 4 1 sc Ljakarta/servlet/ServletConfig;
}
SourceFile: "GenericServlet.java"