spring 6.1.4
spring.webmvc
org.springframework.web.servlet.function
HandlerFunction
Top
Description
Methods
org.springframework.web.servlet.function
public
Interface HandlerFunction<
T extends
ServerResponse
>
Known Direct Implementers
org.
springframework.
web.
servlet.
function.
ResourceHandlerFunction
Annotations
@FunctionalInterface
Type Parameters
<T>
the type of the response of the function
Represents a function that handles a
request
.
Author
Arjen Poutsma
Since
5.2
See Also
RouterFunction
Method Summary
Modifier and Type
Method and Description
public
T
Returns:
the response
handle
(
ServerRequest
the request to handle
request
)
Handle the given request.
Method Detail
handle
back to summary
public
T
handle
(
ServerRequest
request
)
throws
Exception
Handle the given request.
Parameters
request:
ServerRequest
the request to handle
Returns:
T
the response