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, e.g.
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
(Function<Throwable, reactor.core.publisher.Mono<HandlerResult>> function) Configure an exception handler that may be used to produce an alternative result when result handling fails.Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<HandlerResult>
HandlerResult.applyExceptionHandler
(Throwable failure) Apply the exception handler and return the alternative result.reactor.core.publisher.Mono<HandlerResult>
HandlerAdapter.handle
(ServerWebExchange exchange, Object handler) Handle the request with the given handler.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
.Modifier and TypeMethodDescriptionHandlerResult.setExceptionHandler
(Function<Throwable, reactor.core.publisher.Mono<HandlerResult>> function) Configure an exception handler that may be used to produce an alternative result when result handling fails. -
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) 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)