类的使用
cn.taketoday.web.view.ModelAndView
使用ModelAndView的程序包
程序包
说明
Web Handler
Provides the types that make up Infra functional web framework.
Standard controller implementations for the MVC framework use like Framework
Provides standard View and ViewResolver implementations,
including abstract base classes for custom implementations.
-
cn.taketoday.web中ModelAndView的使用
声明为ModelAndView的cn.taketoday.web中的字段返回ModelAndView的cn.taketoday.web中的方法 -
cn.taketoday.web.handler中ModelAndView的使用
修饰符和类型方法说明protected ModelAndViewSimpleMappingExceptionHandler.getModelAndView(String viewName, Throwable ex) Return a ModelAndView for the given view name and exception.protected ModelAndViewSimpleMappingExceptionHandler.getModelAndView(String viewName, Throwable ex, RequestContext request) Return a ModelAndView for the given request, view name and exception.protected ModelAndViewSimpleMappingExceptionHandler.handleInternal(RequestContext request, Object handler, Throwable ex) Actually resolve the given exception that got thrown during on handler execution, returning a ModelAndView that represents a specific error page if appropriate. -
cn.taketoday.web.handler.function中ModelAndView的使用
修饰符和类型字段说明private final ModelAndViewModelAndViewRenderingResponseBuilder.modelAndViewprivate final ModelAndViewModelAndViewRenderingResponseBuilder.ModelAndViewRenderingResponse.modelAndView修饰符和类型方法说明RenderingResponse.create(ModelAndView view) Create a builder with the given template name.DefaultServerResponseBuilder.render(ModelAndView modelAndView) ServerResponse.BodyBuilder.render(ModelAndView modelAndView) Render the template with the givenModelAndView.限定符构造器说明ModelAndViewRenderingResponse(HttpStatusCode statusCode, HttpHeaders headers, cn.taketoday.util.MultiValueMap<String, HttpCookie> cookies, ModelAndView modelAndView) ModelAndViewRenderingResponseBuilder(ModelAndView modelAndView) -
cn.taketoday.web.handler.mvc中ModelAndView的使用
修饰符和类型方法说明protected ModelAndViewAbstractUrlViewController.handleRequestInternal(RequestContext request) Retrieves the URL path to use for lookup and delegates toAbstractUrlViewController.getViewNameForRequest(cn.taketoday.web.RequestContext).protected ModelAndViewServletForwardingController.handleRequestInternal(RequestContext request) protected ModelAndViewServletWrappingController.handleRequestInternal(RequestContext request) Invoke the wrapped Servlet instance. -
cn.taketoday.web.view中ModelAndView的使用
修饰符和类型方法说明ModelAndView.addAllObjects(Map<String, ?> modelMap) Add all attributes contained in the provided Map to the model.Add an attribute to the model using parameter name generation.Add an attribute to the model.参数类型为ModelAndView的cn.taketoday.web.view中的方法修饰符和类型方法说明voidViewReturnValueHandler.renderView(RequestContext request, ModelAndView mv) ResolveModelAndViewreturn type