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 java.lang.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:
WebFluxInboundEndpoint
-
Field Summary
-
Constructor Summary
Constructors Constructor Description IntegrationHandlerResultHandler() -
Method Summary
Modifier and Type Method Description intgetOrder()reactor.core.publisher.Mono<java.lang.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<java.lang.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
-