public class implements org.springframework.web.server.session.WebSessionIdResolver
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.web.server.session.HeaderWebSessionIdResolver
super_class: java.lang.Object
{
public static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "SESSION"
private java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void ();
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
ldc "SESSION"
putfield org.springframework.web.server.session.HeaderWebSessionIdResolver.headerName:Ljava/lang/String;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/server/session/HeaderWebSessionIdResolver;
public void (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 1
ldc "'headerName' must not be empty"
invokestatic org.springframework.util.Assert.hasText:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
aload 1
putfield org.springframework.web.server.session.HeaderWebSessionIdResolver.headerName:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/server/session/HeaderWebSessionIdResolver;
0 3 1 headerName Ljava/lang/String;
MethodParameters:
Name Flags
headerName
public java.lang.String ();
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.server.session.HeaderWebSessionIdResolver.headerName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/server/session/HeaderWebSessionIdResolver;
public java.util.List<java.lang.String> resolveSessionIds(org.springframework.web.server.ServerWebExchange);
descriptor: (Lorg/springframework/web/server/ServerWebExchange;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.springframework.web.server.ServerWebExchange.getRequest:()Lorg/springframework/http/server/reactive/ServerHttpRequest;
invokeinterface org.springframework.http.server.reactive.ServerHttpRequest.getHeaders:()Lorg/springframework/http/HttpHeaders;
astore 2
start local 2 1: aload 2
aload 0
invokevirtual org.springframework.web.server.session.HeaderWebSessionIdResolver.getHeaderName:()Ljava/lang/String;
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
invokevirtual org.springframework.http.HttpHeaders.getOrDefault:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/server/session/HeaderWebSessionIdResolver;
0 2 1 exchange Lorg/springframework/web/server/ServerWebExchange;
1 2 2 headers Lorg/springframework/http/HttpHeaders;
Signature: (Lorg/springframework/web/server/ServerWebExchange;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
exchange
public void (org.springframework.web.server.ServerWebExchange, java.lang.String);
descriptor: (Lorg/springframework/web/server/ServerWebExchange;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "'id' is required."
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 1
invokeinterface org.springframework.web.server.ServerWebExchange.getResponse:()Lorg/springframework/http/server/reactive/ServerHttpResponse;
invokeinterface org.springframework.http.server.reactive.ServerHttpResponse.getHeaders:()Lorg/springframework/http/HttpHeaders;
aload 0
invokevirtual org.springframework.web.server.session.HeaderWebSessionIdResolver.getHeaderName:()Ljava/lang/String;
aload 2
invokevirtual org.springframework.http.HttpHeaders.set:(Ljava/lang/String;Ljava/lang/String;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/server/session/HeaderWebSessionIdResolver;
0 3 1 exchange Lorg/springframework/web/server/ServerWebExchange;
0 3 2 id Ljava/lang/String;
MethodParameters:
Name Flags
exchange
id
public void (org.springframework.web.server.ServerWebExchange);
descriptor: (Lorg/springframework/web/server/ServerWebExchange;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc ""
invokevirtual org.springframework.web.server.session.HeaderWebSessionIdResolver.setSessionId:(Lorg/springframework/web/server/ServerWebExchange;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/server/session/HeaderWebSessionIdResolver;
0 2 1 exchange Lorg/springframework/web/server/ServerWebExchange;
MethodParameters:
Name Flags
exchange
}
SourceFile: "HeaderWebSessionIdResolver.java"