Uses of Interface
org.springframework.web.servlet.function.HandlerFunction
Packages that use HandlerFunction
Package
Description
Provides the types that make up Spring's functional web framework for Servlet environments.
-
Uses of HandlerFunction in org.springframework.web.servlet.function
Methods in org.springframework.web.servlet.function that return HandlerFunctionModifier and TypeMethodDescriptiondefault HandlerFunction<R>
HandlerFilterFunction.apply
(HandlerFunction<T> handler) Apply this filter to the given handler function, resulting in a filtered handler function.Methods in org.springframework.web.servlet.function that return types with arguments of type HandlerFunctionModifier and TypeMethodDescriptionRouterFunction.route
(ServerRequest request) Return the handler function that matches the given request.Methods in org.springframework.web.servlet.function with parameters of type HandlerFunctionModifier and TypeMethodDescriptiondefault RouterFunction<T>
RouterFunction.andRoute
(RequestPredicate predicate, HandlerFunction<T> handlerFunction) Return a composed routing function that routes to the given handler function if this route does not match and the given request predicate applies.default HandlerFunction<R>
HandlerFilterFunction.apply
(HandlerFunction<T> handler) Apply this filter to the given handler function, resulting in a filtered handler function.RouterFunctions.Builder.DELETE
(String pattern, HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles all HTTPDELETE
requests that match the given pattern.RouterFunctions.Builder.DELETE
(String pattern, RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles all HTTPDELETE
requests that match the given pattern and predicate.RouterFunctions.Builder.DELETE
(HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles HTTPDELETE
requests.RouterFunctions.Builder.DELETE
(RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles all HTTPDELETE
requests that match the given predicate.HandlerFilterFunction.filter
(ServerRequest request, HandlerFunction<T> next) Apply this filter to the given handler function.RouterFunctions.Builder.GET
(String pattern, HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles all HTTPGET
requests that match the given pattern.RouterFunctions.Builder.GET
(String pattern, RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles all HTTPGET
requests that match the given pattern and predicate.RouterFunctions.Builder.GET
(HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles HTTPGET
requests.RouterFunctions.Builder.GET
(RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles all HTTPGET
requests that match the given predicate.RouterFunctions.Builder.HEAD
(String pattern, HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles all HTTPHEAD
requests that match the given pattern.RouterFunctions.Builder.HEAD
(String pattern, RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles all HTTPHEAD
requests that match the given pattern and predicate.RouterFunctions.Builder.HEAD
(HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles HTTPHEAD
requests.RouterFunctions.Builder.HEAD
(RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles all HTTPHEAD
requests that match the given predicate.RouterFunctions.Builder.OPTIONS
(String pattern, HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles all HTTPOPTIONS
requests that match the given pattern.RouterFunctions.Builder.OPTIONS
(String pattern, RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles all HTTPOPTIONS
requests that match the given pattern and predicate.RouterFunctions.Builder.OPTIONS
(HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles HTTPOPTIONS
requests.RouterFunctions.Builder.OPTIONS
(RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles all HTTPOPTIONS
requests that match the given predicate.RouterFunctions.Builder.PATCH
(String pattern, HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles all HTTPPATCH
requests that match the given pattern.RouterFunctions.Builder.PATCH
(String pattern, RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles all HTTPPATCH
requests that match the given pattern and predicate.RouterFunctions.Builder.PATCH
(HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles HTTPPATCH
requests.RouterFunctions.Builder.PATCH
(RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles all HTTPPATCH
requests that match the given predicate.RouterFunctions.Builder.POST
(String pattern, HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles all HTTPPOST
requests that match the given pattern.RouterFunctions.Builder.POST
(String pattern, RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles all HTTPPOST
requests that match the given pattern and predicate.RouterFunctions.Builder.POST
(HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles HTTPPOST
requests.RouterFunctions.Builder.POST
(RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles all HTTPPOST
requests that match the given predicate.RouterFunctions.Builder.PUT
(String pattern, HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles all HTTPPUT
requests that match the given pattern.RouterFunctions.Builder.PUT
(String pattern, RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles all HTTPPUT
requests that match the given pattern and predicate.RouterFunctions.Builder.PUT
(HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles HTTPPUT
requests.RouterFunctions.Builder.PUT
(RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles all HTTPPUT
requests that match the given predicate.RouterFunctions.Builder.route
(RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction) Adds a route to the given handler function that handles all requests that match the given predicate.static <T extends ServerResponse>
RouterFunction<T>RouterFunctions.route
(RequestPredicate predicate, HandlerFunction<T> handlerFunction) Route to the given handler function if the given request predicate applies.void
RouterFunctions.Visitor.route
(RequestPredicate predicate, HandlerFunction<?> handlerFunction) Receive notification of a standard predicated route to a handler function.