Class IntegrationHandlerResultHandler
java.lang.Object
org.springframework.integration.webflux.inbound.IntegrationHandlerResultHandler
- All Implemented Interfaces:
org.springframework.core.Ordered,org.springframework.web.reactive.HandlerResultHandler
public class IntegrationHandlerResultHandler
extends Object
implements org.springframework.web.reactive.HandlerResultHandler, org.springframework.core.Ordered
A
HandlerResultHandler implementation to handle the result of the
WebFluxInboundEndpoint execution. Actually just return the
result.getReturnValue() which essentially is expected Mono<Void>.- Since:
- 5.0
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetOrder()reactor.core.publisher.Mono<Void>handleResult(org.springframework.web.server.ServerWebExchange exchange, org.springframework.web.reactive.HandlerResult result) booleansupports(org.springframework.web.reactive.HandlerResult result)
-
Constructor Details
-
IntegrationHandlerResultHandler
public IntegrationHandlerResultHandler()
-
-
Method Details
-
supports
public boolean supports(org.springframework.web.reactive.HandlerResult result) - Specified by:
supportsin interfaceorg.springframework.web.reactive.HandlerResultHandler
-
handleResult
public reactor.core.publisher.Mono<Void> handleResult(org.springframework.web.server.ServerWebExchange exchange, org.springframework.web.reactive.HandlerResult result) - Specified by:
handleResultin interfaceorg.springframework.web.reactive.HandlerResultHandler
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-