Uses of Class
org.springframework.web.reactive.HandlerResult
Packages that use HandlerResult Package Description org.springframework.web.reactive Top-level package for thespring-webflux
module that containsDispatcherHandler
, the main entry point for WebFlux server endpoint processing including key contracts used to map requests to handlers, invoke them, and process the result.org.springframework.web.reactive.function.server.support Classes supporting theorg.springframework.web.reactive.function.server
package.org.springframework.web.reactive.result Support for various programming model styles including the invocation of different types of handlers, e.g.org.springframework.web.reactive.result.method Infrastructure for handler method processing.org.springframework.web.reactive.result.method.annotation Infrastructure for annotation-based handler method processing.org.springframework.web.reactive.result.view Support for result handling through view resolution.org.springframework.web.reactive.socket.server.support Server-side support classes for WebSocket requests.Uses of HandlerResult in org.springframework.web.reactive
Methods in org.springframework.web.reactive that return HandlerResult Modifier and Type Method Description HandlerResult
HandlerResult. 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 HandlerResult Modifier and Type Method Description reactor.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 HandlerResult Modifier and Type Method Description reactor.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 HandlerResult Modifier and Type Method Description HandlerResult
HandlerResult. 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 HandlerResult Modifier and Type Method Description reactor.core.publisher.Mono<HandlerResult>
HandlerFunctionAdapter. handle(ServerWebExchange exchange, Object handler)
Methods in org.springframework.web.reactive.function.server.support with parameters of type HandlerResult Modifier and Type Method Description reactor.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 HandlerResult Modifier and Type Method Description reactor.core.publisher.Mono<HandlerResult>
SimpleHandlerAdapter. handle(ServerWebExchange exchange, Object handler)
Methods in org.springframework.web.reactive.result with parameters of type HandlerResult Modifier and Type Method Description protected 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 HandlerResult Modifier and Type Method Description HandlerResult
SyncInvocableHandlerMethod. 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 HandlerResult Modifier and Type Method Description reactor.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 HandlerResult Modifier and Type Method Description reactor.core.publisher.Mono<HandlerResult>
RequestMappingHandlerAdapter. handle(ServerWebExchange exchange, Object handler)
Methods in org.springframework.web.reactive.result.method.annotation with parameters of type HandlerResult Modifier and Type Method Description reactor.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 HandlerResult Modifier and Type Method Description reactor.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 HandlerResult Modifier and Type Method Description reactor.core.publisher.Mono<HandlerResult>
WebSocketHandlerAdapter. handle(ServerWebExchange exchange, Object handler)