final class org.springframework.web.servlet.function.RouterFunctions$DefaultRouterFunction<T extends org.springframework.web.servlet.function.ServerResponse> extends org.springframework.web.servlet.function.RouterFunctions$AbstractRouterFunction<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.springframework.web.servlet.function.RouterFunctions$DefaultRouterFunction
super_class: org.springframework.web.servlet.function.RouterFunctions$AbstractRouterFunction
{
private final org.springframework.web.servlet.function.RequestPredicate predicate;
descriptor: Lorg/springframework/web/servlet/function/RequestPredicate;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction;
descriptor: Lorg/springframework/web/servlet/function/HandlerFunction;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/springframework/web/servlet/function/HandlerFunction<TT;>;
public void <init>(org.springframework.web.servlet.function.RequestPredicate, org.springframework.web.servlet.function.HandlerFunction<T>);
descriptor: (Lorg/springframework/web/servlet/function/RequestPredicate;Lorg/springframework/web/servlet/function/HandlerFunction;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.springframework.web.servlet.function.RouterFunctions$AbstractRouterFunction.<init>:()V
1: aload 1
ldc "Predicate must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 2
ldc "HandlerFunction must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
3: aload 0
aload 1
putfield org.springframework.web.servlet.function.RouterFunctions$DefaultRouterFunction.predicate:Lorg/springframework/web/servlet/function/RequestPredicate;
4: aload 0
aload 2
putfield org.springframework.web.servlet.function.RouterFunctions$DefaultRouterFunction.handlerFunction:Lorg/springframework/web/servlet/function/HandlerFunction;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/web/servlet/function/RouterFunctions$DefaultRouterFunction<TT;>;
0 6 1 predicate Lorg/springframework/web/servlet/function/RequestPredicate;
0 6 2 handlerFunction Lorg/springframework/web/servlet/function/HandlerFunction<TT;>;
Signature: (Lorg/springframework/web/servlet/function/RequestPredicate;Lorg/springframework/web/servlet/function/HandlerFunction<TT;>;)V
MethodParameters:
Name Flags
predicate
handlerFunction
public java.util.Optional<org.springframework.web.servlet.function.HandlerFunction<T>> route(org.springframework.web.servlet.function.ServerRequest);
descriptor: (Lorg/springframework/web/servlet/function/ServerRequest;)Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.web.servlet.function.RouterFunctions$DefaultRouterFunction.predicate:Lorg/springframework/web/servlet/function/RequestPredicate;
aload 1
invokeinterface org.springframework.web.servlet.function.RequestPredicate.test:(Lorg/springframework/web/servlet/function/ServerRequest;)Z
ifeq 4
1: getstatic org.springframework.web.servlet.function.RouterFunctions.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isTraceEnabled:()Z
ifeq 3
2: getstatic org.springframework.web.servlet.function.RouterFunctions.logger:Lorg/apache/commons/logging/Log;
ldc "Predicate \"%s\" matches against \"%s\""
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.springframework.web.servlet.function.RouterFunctions$DefaultRouterFunction.predicate:Lorg/springframework/web/servlet/function/RequestPredicate;
aastore
dup
iconst_1
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.trace:(Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.web.servlet.function.RouterFunctions$DefaultRouterFunction.handlerFunction:Lorg/springframework/web/servlet/function/HandlerFunction;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
4: StackMap locals:
StackMap stack:
invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/web/servlet/function/RouterFunctions$DefaultRouterFunction<TT;>;
0 5 1 request Lorg/springframework/web/servlet/function/ServerRequest;
Signature: (Lorg/springframework/web/servlet/function/ServerRequest;)Ljava/util/Optional<Lorg/springframework/web/servlet/function/HandlerFunction<TT;>;>;
MethodParameters:
Name Flags
request
public void accept(org.springframework.web.servlet.function.RouterFunctions$Visitor);
descriptor: (Lorg/springframework/web/servlet/function/RouterFunctions$Visitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.springframework.web.servlet.function.RouterFunctions$DefaultRouterFunction.predicate:Lorg/springframework/web/servlet/function/RequestPredicate;
aload 0
getfield org.springframework.web.servlet.function.RouterFunctions$DefaultRouterFunction.handlerFunction:Lorg/springframework/web/servlet/function/HandlerFunction;
invokeinterface org.springframework.web.servlet.function.RouterFunctions$Visitor.route:(Lorg/springframework/web/servlet/function/RequestPredicate;Lorg/springframework/web/servlet/function/HandlerFunction;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/servlet/function/RouterFunctions$DefaultRouterFunction<TT;>;
0 2 1 visitor Lorg/springframework/web/servlet/function/RouterFunctions$Visitor;
MethodParameters:
Name Flags
visitor
}
Signature: <T::Lorg/springframework/web/servlet/function/ServerResponse;>Lorg/springframework/web/servlet/function/RouterFunctions$AbstractRouterFunction<TT;>;
SourceFile: "RouterFunctions.java"
NestHost: org.springframework.web.servlet.function.RouterFunctions
InnerClasses:
abstract AbstractRouterFunction = org.springframework.web.servlet.function.RouterFunctions$AbstractRouterFunction of org.springframework.web.servlet.function.RouterFunctions
private final DefaultRouterFunction = org.springframework.web.servlet.function.RouterFunctions$DefaultRouterFunction of org.springframework.web.servlet.function.RouterFunctions
public abstract Visitor = org.springframework.web.servlet.function.RouterFunctions$Visitor of org.springframework.web.servlet.function.RouterFunctions