Uses of Class
org.springframework.web.reactive.HandlerResult
Package
Description
Top-level package for the
spring-webflux
module that contains
DispatcherHandler
, the main entry
point for WebFlux server endpoint processing including key contracts used to
map requests to handlers, invoke them, and process the result.Classes supporting the
org.springframework.web.reactive.function.server
package.Support for various programming model styles including the invocation of
different types of handlers like an annotated controller or a simple
WebHandler
.Infrastructure for handler method processing.
Infrastructure for annotation-based handler method processing.
Support for result handling through view resolution.
Server-side support classes for WebSocket requests.
-
Uses of HandlerResult in org.springframework.web.reactive
Modifier and TypeMethodDescriptionHandlerResult.setExceptionHandler
(DispatchExceptionHandler exceptionHandler) HandlerAdapter
classes can set this to have their exception handling mechanism applied to response rendering and to deferred exceptions when invoking a handler with an asynchronous return value.Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<HandlerResult>
HandlerAdapter.handle
(ServerWebExchange exchange, Object handler) Handle the request with the given handler, previously checked viaHandlerAdapter.supports(Object)
.reactor.core.publisher.Mono<HandlerResult>
DispatchExceptionHandler.handleError
(ServerWebExchange exchange, Throwable ex) Handle the given exception, mapping it to aHandlerResult
that can then be used to render an HTTP response.Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
HandlerResultHandler.handleResult
(ServerWebExchange exchange, HandlerResult result) Process the given result modifying response headers and/or writing data to the response.boolean
HandlerResultHandler.supports
(HandlerResult result) Whether this handler supports the givenHandlerResult
. -
Uses of HandlerResult in org.springframework.web.reactive.function.server.support
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<HandlerResult>
HandlerFunctionAdapter.handle
(ServerWebExchange exchange, Object handler) Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
ServerResponseResultHandler.handleResult
(ServerWebExchange exchange, HandlerResult result) boolean
ServerResponseResultHandler.supports
(HandlerResult result) -
Uses of HandlerResult in org.springframework.web.reactive.result
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<HandlerResult>
SimpleHandlerAdapter.handle
(ServerWebExchange exchange, Object handler) Modifier and TypeMethodDescriptionprotected ReactiveAdapter
HandlerResultHandlerSupport.getAdapter
(HandlerResult result) Get aReactiveAdapter
for the top-level return value type. -
Uses of HandlerResult in org.springframework.web.reactive.result.method
Modifier and TypeMethodDescriptionSyncInvocableHandlerMethod.invokeForHandlerResult
(ServerWebExchange exchange, BindingContext bindingContext, Object... providedArgs) Invoke the method for the given exchange.Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<HandlerResult>
InvocableHandlerMethod.invoke
(ServerWebExchange exchange, BindingContext bindingContext, Object... providedArgs) Invoke the method for the given exchange. -
Uses of HandlerResult in org.springframework.web.reactive.result.method.annotation
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<HandlerResult>
RequestMappingHandlerAdapter.handle
(ServerWebExchange exchange, Object handler) reactor.core.publisher.Mono<HandlerResult>
RequestMappingHandlerAdapter.handleError
(ServerWebExchange exchange, Throwable ex) Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
ResponseBodyResultHandler.handleResult
(ServerWebExchange exchange, HandlerResult result) reactor.core.publisher.Mono<Void>
ResponseEntityResultHandler.handleResult
(ServerWebExchange exchange, HandlerResult result) boolean
ResponseBodyResultHandler.supports
(HandlerResult result) boolean
ResponseEntityResultHandler.supports
(HandlerResult result) -
Uses of HandlerResult in org.springframework.web.reactive.result.view
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
ViewResolutionResultHandler.handleResult
(ServerWebExchange exchange, HandlerResult result) boolean
ViewResolutionResultHandler.supports
(HandlerResult result) -
Uses of HandlerResult in org.springframework.web.reactive.socket.server.support
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<HandlerResult>
WebSocketHandlerAdapter.handle
(ServerWebExchange exchange, Object handler)