@Override
  public void handleReturnValue(
      Object returnValue,
      MethodParameter returnType,
      ModelAndViewContainer mavContainer,
      NativeWebRequest webRequest)
      throws Exception {

    Class<? extends BaseView> viewClass = getDeclaredViewClass(returnType);
    if (viewClass != null) {
      returnValue = wrapResult(returnValue, viewClass);
    }

    delegate.handleReturnValue(returnValue, returnType, mavContainer, webRequest);
  }
 @Override
 public boolean supportsReturnType(MethodParameter returnType) {
   return delegate.supportsReturnType(returnType);
 }