List of usage examples for org.springframework.web.reactive HandlerResultHandler supports
boolean supports(HandlerResult result);
From source file:org.springframework.web.reactive.DispatcherHandler.java
private HandlerResultHandler getResultHandler(HandlerResult handlerResult) { if (this.resultHandlers != null) { for (HandlerResultHandler resultHandler : this.resultHandlers) { if (resultHandler.supports(handlerResult)) { return resultHandler; }//from w w w. j a va 2 s .co m } } throw new IllegalStateException("No HandlerResultHandler for " + handlerResult.getReturnValue()); }