Uses of Class
org.springframework.web.reactive.HandlerResult
Packages that use 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
Methods in org.springframework.web.reactive that return HandlerResultModifier 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.Methods in org.springframework.web.reactive that return types with arguments of type HandlerResultModifier 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.Methods in org.springframework.web.reactive with parameters of type HandlerResultModifier 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
.Method parameters in org.springframework.web.reactive with type arguments of type HandlerResultModifier 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
Methods in org.springframework.web.reactive.function.server.support that return types with arguments of type HandlerResultModifier and TypeMethodDescriptionreactor.core.publisher.Mono<HandlerResult>
HandlerFunctionAdapter.handle
(ServerWebExchange exchange, Object handler) Methods in org.springframework.web.reactive.function.server.support with parameters of type HandlerResultModifier 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
Methods in org.springframework.web.reactive.result that return types with arguments of type HandlerResultModifier and TypeMethodDescriptionreactor.core.publisher.Mono<HandlerResult>
SimpleHandlerAdapter.handle
(ServerWebExchange exchange, Object handler) Methods in org.springframework.web.reactive.result with parameters of type HandlerResultModifier 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
Methods in org.springframework.web.reactive.result.method that return HandlerResultModifier and TypeMethodDescriptionSyncInvocableHandlerMethod.invokeForHandlerResult
(ServerWebExchange exchange, BindingContext bindingContext, Object... providedArgs) Invoke the method for the given exchange.Methods in org.springframework.web.reactive.result.method that return types with arguments of type HandlerResultModifier 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
Methods in org.springframework.web.reactive.result.method.annotation that return types with arguments of type HandlerResultModifier and TypeMethodDescriptionreactor.core.publisher.Mono<HandlerResult>
RequestMappingHandlerAdapter.handle
(ServerWebExchange exchange, Object handler) Methods in org.springframework.web.reactive.result.method.annotation with parameters of type HandlerResultModifier 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
Methods in org.springframework.web.reactive.result.view with parameters of type HandlerResultModifier 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
Methods in org.springframework.web.reactive.socket.server.support that return types with arguments of type HandlerResultModifier and TypeMethodDescriptionreactor.core.publisher.Mono<HandlerResult>
WebSocketHandlerAdapter.handle
(ServerWebExchange exchange, Object handler)