List of usage examples for org.springframework.web.reactive HandlerResult getReturnType
public ResolvableType getReturnType()
From source file:org.springframework.web.reactive.result.HandlerResultHandlerSupport.java
/** * Get a {@code ReactiveAdapter} for the top-level return value type. * @return the matching adapter or {@code null} */// w w w . j a v a 2 s . c o m @Nullable protected ReactiveAdapter getAdapter(HandlerResult result) { Class<?> returnType = result.getReturnType().getRawClass(); return getAdapterRegistry().getAdapter(returnType, result.getReturnValue()); }