public class io.dropwizard.jersey.sessions.Flash<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.jersey.sessions.Flash
super_class: java.lang.Object
{
private static final java.lang.String ATTRIBUTE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "flash"
private final javax.servlet.http.HttpSession session;
descriptor: Ljavax/servlet/http/HttpSession;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final T value;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: TT;
void <init>(javax.servlet.http.HttpSession);
descriptor: (Ljavax/servlet/http/HttpSession;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.dropwizard.jersey.sessions.Flash.session:Ljavax/servlet/http/HttpSession;
2: aload 0
aload 1
ldc "flash"
invokeinterface javax.servlet.http.HttpSession.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
putfield io.dropwizard.jersey.sessions.Flash.value:Ljava/lang/Object;
3: aload 0
getfield io.dropwizard.jersey.sessions.Flash.value:Ljava/lang/Object;
ifnull 5
4: aload 1
ldc "flash"
invokeinterface javax.servlet.http.HttpSession.removeAttribute:(Ljava/lang/String;)V
5: StackMap locals: io.dropwizard.jersey.sessions.Flash javax.servlet.http.HttpSession
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/dropwizard/jersey/sessions/Flash<TT;>;
0 6 1 session Ljavax/servlet/http/HttpSession;
MethodParameters:
Name Flags
session
public java.util.Optional<T> get();
descriptor: ()Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jersey.sessions.Flash.value:Ljava/lang/Object;
invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jersey/sessions/Flash<TT;>;
Signature: ()Ljava/util/Optional<TT;>;
public void set();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.jersey.sessions.Flash.session:Ljavax/servlet/http/HttpSession;
ldc "flash"
aload 1
invokeinterface javax.servlet.http.HttpSession.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jersey/sessions/Flash<TT;>;
0 2 1 value TT;
Signature: (TT;)V
MethodParameters:
Name Flags
value
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "Flash.java"