# Uses of Interface
org.springframework.web.servlet.function.HandlerFunction

Packages that use HandlerFunction
Package
Description
org.springframework.web.servlet.function
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 HandlerFunction
Modifier and Type
Method
Description
`default 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 HandlerFunction
Modifier and Type
Method
Description
`Optional<HandlerFunction<T>>`
RouterFunction.`route(ServerRequest request)`
Return the handler function that matches the given request.
Methods in org.springframework.web.servlet.function with parameters of type HandlerFunction
Modifier and Type
Method
Description
`default 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`
RouterFunctions.Builder.`DELETE(String pattern, HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles all HTTP `DELETE` requests that match the given pattern.
`RouterFunctions.Builder`
RouterFunctions.Builder.`DELETE(String pattern, RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles all HTTP `DELETE` requests that match the given pattern and predicate.
`RouterFunctions.Builder`
RouterFunctions.Builder.`DELETE(HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles HTTP `DELETE` requests.
`RouterFunctions.Builder`
RouterFunctions.Builder.`DELETE(RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles all HTTP `DELETE` requests that match the given predicate.
`R`
HandlerFilterFunction.`filter(ServerRequest request, HandlerFunction<T> next)`
Apply this filter to the given handler function.
`RouterFunctions.Builder`
RouterFunctions.Builder.`GET(String pattern, HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles all HTTP `GET` requests that match the given pattern.
`RouterFunctions.Builder`
RouterFunctions.Builder.`GET(String pattern, RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles all HTTP `GET` requests that match the given pattern and predicate.
`RouterFunctions.Builder`
RouterFunctions.Builder.`GET(HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles HTTP `GET` requests.
`RouterFunctions.Builder`
RouterFunctions.Builder.`GET(RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles all HTTP `GET` requests that match the given predicate.
`RouterFunctions.Builder`
RouterFunctions.Builder.`HEAD(String pattern, HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles all HTTP `HEAD` requests that match the given pattern.
`RouterFunctions.Builder`
RouterFunctions.Builder.`HEAD(String pattern, RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles all HTTP `HEAD` requests that match the given pattern and predicate.
`RouterFunctions.Builder`
RouterFunctions.Builder.`HEAD(HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles HTTP `HEAD` requests.
`RouterFunctions.Builder`
RouterFunctions.Builder.`HEAD(RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles all HTTP `HEAD` requests that match the given predicate.
`RouterFunctions.Builder`
RouterFunctions.Builder.`OPTIONS(String pattern, HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles all HTTP `OPTIONS` requests that match the given pattern.
`RouterFunctions.Builder`
RouterFunctions.Builder.`OPTIONS(String pattern, RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles all HTTP `OPTIONS` requests that match the given pattern and predicate.
`RouterFunctions.Builder`
RouterFunctions.Builder.`OPTIONS(HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles HTTP `OPTIONS` requests.
`RouterFunctions.Builder`
RouterFunctions.Builder.`OPTIONS(RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles all HTTP `OPTIONS` requests that match the given predicate.
`RouterFunctions.Builder`
RouterFunctions.Builder.`PATCH(String pattern, HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles all HTTP `PATCH` requests that match the given pattern.
`RouterFunctions.Builder`
RouterFunctions.Builder.`PATCH(String pattern, RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles all HTTP `PATCH` requests that match the given pattern and predicate.
`RouterFunctions.Builder`
RouterFunctions.Builder.`PATCH(HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles HTTP `PATCH` requests.
`RouterFunctions.Builder`
RouterFunctions.Builder.`PATCH(RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles all HTTP `PATCH` requests that match the given predicate.
`RouterFunctions.Builder`
RouterFunctions.Builder.`POST(String pattern, HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles all HTTP `POST` requests that match the given pattern.
`RouterFunctions.Builder`
RouterFunctions.Builder.`POST(String pattern, RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles all HTTP `POST` requests that match the given pattern and predicate.
`RouterFunctions.Builder`
RouterFunctions.Builder.`POST(HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles HTTP `POST` requests.
`RouterFunctions.Builder`
RouterFunctions.Builder.`POST(RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles all HTTP `POST` requests that match the given predicate.
`RouterFunctions.Builder`
RouterFunctions.Builder.`PUT(String pattern, HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles all HTTP `PUT` requests that match the given pattern.
`RouterFunctions.Builder`
RouterFunctions.Builder.`PUT(String pattern, RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles all HTTP `PUT` requests that match the given pattern and predicate.
`RouterFunctions.Builder`
RouterFunctions.Builder.`PUT(HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles HTTP `PUT` requests.
`RouterFunctions.Builder`
RouterFunctions.Builder.`PUT(RequestPredicate predicate, HandlerFunction<ServerResponse> handlerFunction)`
Adds a route to the given handler function that handles all HTTP `PUT` requests that match the given predicate.
`RouterFunctions.Builder`
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.