Top Description Methods
org.springframework.web.reactive.function.server

public Interface HandlerFunction<T extends ServerResponse>

Known Direct Implementers
org.springframework.web.reactive.function.server.ResourceHandlerFunction
Annotations
@FunctionalInterface
Type Parameters
<T>
the type of the response of the function
Imports
reactor.core.publisher.Mono

Represents a function that handles a request.
Author
Arjen Poutsma
Since
5.0
See Also
RouterFunction

Method Summary

Modifier and TypeMethod and Description
public Mono<T>

Returns:

the response
handle
(ServerRequest
the request to handle
request
)

Handle the given request.

Method Detail

handleback to summary
public Mono<T> handle(ServerRequest request)

Handle the given request.

Parameters
request:ServerRequest

the request to handle

Returns:Mono<T>

the response