code: protected ModelAndView generateResponseForAccessToken(final HttpServletRequest request,
                                                            final HttpServletResponse response,
                                                            final OAuth20AccessTokenResponseResult result) {
          val model = getAccessTokenResponseModel(request, response, result);
          return new ModelAndView(new MappingJackson2JsonView(MAPPER), model);
      }
docs: Generate response for access token model and view.
  
  @param request  the request
  @param response the response
  @param result   the result
  @return the model and view