public class org.springframework.web.util.CookieGenerator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.web.util.CookieGenerator
super_class: java.lang.Object
{
public static final java.lang.String DEFAULT_COOKIE_PATH;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "/"
protected final org.apache.commons.logging.Log logger;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private java.lang.String cookieName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private java.lang.String cookieDomain;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private java.lang.String cookiePath;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.Integer cookieMaxAge;
descriptor: Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private boolean cookieSecure;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean cookieHttpOnly;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putfield org.springframework.web.util.CookieGenerator.logger:Lorg/apache/commons/logging/Log;
2: aload 0
ldc "/"
putfield org.springframework.web.util.CookieGenerator.cookiePath:Ljava/lang/String;
3: aload 0
iconst_0
putfield org.springframework.web.util.CookieGenerator.cookieSecure:Z
4: aload 0
iconst_0
putfield org.springframework.web.util.CookieGenerator.cookieHttpOnly:Z
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/web/util/CookieGenerator;
public void setCookieName(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.springframework.web.util.CookieGenerator.cookieName:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/util/CookieGenerator;
0 2 1 cookieName Ljava/lang/String;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
cookieName
public java.lang.String getCookieName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.util.CookieGenerator.cookieName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/util/CookieGenerator;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void setCookieDomain(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.springframework.web.util.CookieGenerator.cookieDomain:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/util/CookieGenerator;
0 2 1 cookieDomain Ljava/lang/String;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
cookieDomain
public java.lang.String getCookieDomain();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.util.CookieGenerator.cookieDomain:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/util/CookieGenerator;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void setCookiePath(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.springframework.web.util.CookieGenerator.cookiePath:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/util/CookieGenerator;
0 2 1 cookiePath Ljava/lang/String;
MethodParameters:
Name Flags
cookiePath
public java.lang.String getCookiePath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.util.CookieGenerator.cookiePath:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/util/CookieGenerator;
public void setCookieMaxAge(java.lang.Integer);
descriptor: (Ljava/lang/Integer;)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.springframework.web.util.CookieGenerator.cookieMaxAge:Ljava/lang/Integer;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/util/CookieGenerator;
0 2 1 cookieMaxAge Ljava/lang/Integer;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
cookieMaxAge
public java.lang.Integer getCookieMaxAge();
descriptor: ()Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.util.CookieGenerator.cookieMaxAge:Ljava/lang/Integer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/util/CookieGenerator;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void setCookieSecure(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.springframework.web.util.CookieGenerator.cookieSecure:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/util/CookieGenerator;
0 2 1 cookieSecure Z
MethodParameters:
Name Flags
cookieSecure
public boolean isCookieSecure();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.util.CookieGenerator.cookieSecure:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/util/CookieGenerator;
public void setCookieHttpOnly(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.springframework.web.util.CookieGenerator.cookieHttpOnly:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/util/CookieGenerator;
0 2 1 cookieHttpOnly Z
MethodParameters:
Name Flags
cookieHttpOnly
public boolean isCookieHttpOnly();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.util.CookieGenerator.cookieHttpOnly:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/util/CookieGenerator;
public void addCookie(javax.servlet.http.HttpServletResponse, java.lang.String);
descriptor: (Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tThe method setHttpOnly(boolean) is undefined for the type Cookie\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/util/CookieGenerator;
MethodParameters:
Name Flags
response
cookieValue
public void removeCookie(javax.servlet.http.HttpServletResponse);
descriptor: (Ljavax/servlet/http/HttpServletResponse;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tThe method setHttpOnly(boolean) is undefined for the type Cookie\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/util/CookieGenerator;
MethodParameters:
Name Flags
response
protected javax.servlet.http.Cookie createCookie(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/servlet/http/Cookie;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new javax.servlet.http.Cookie
dup
aload 0
invokevirtual org.springframework.web.util.CookieGenerator.getCookieName:()Ljava/lang/String;
aload 1
invokespecial javax.servlet.http.Cookie.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 2
start local 2 1: aload 0
invokevirtual org.springframework.web.util.CookieGenerator.getCookieDomain:()Ljava/lang/String;
ifnull 3
2: aload 2
aload 0
invokevirtual org.springframework.web.util.CookieGenerator.getCookieDomain:()Ljava/lang/String;
invokevirtual javax.servlet.http.Cookie.setDomain:(Ljava/lang/String;)V
3: StackMap locals: javax.servlet.http.Cookie
StackMap stack:
aload 2
aload 0
invokevirtual org.springframework.web.util.CookieGenerator.getCookiePath:()Ljava/lang/String;
invokevirtual javax.servlet.http.Cookie.setPath:(Ljava/lang/String;)V
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/web/util/CookieGenerator;
0 5 1 cookieValue Ljava/lang/String;
1 5 2 cookie Ljavax/servlet/http/Cookie;
MethodParameters:
Name Flags
cookieValue
}
SourceFile: "CookieGenerator.java"