类 TilesView

    • 构造器详细资料

    • 方法详细资料

      • setAlwaysInclude

        public void setAlwaysInclude​(boolean alwaysInclude)
        已过时。
        Specify whether to always include the view rather than forward to it.

        Default is "false". Switch this flag on to enforce the use of a Servlet include, even if a forward would be possible.

        从以下版本开始:
        4.1.2
        另请参阅:
        TilesViewResolver.setAlwaysInclude(java.lang.Boolean)
      • checkResource

        public boolean checkResource​(Locale locale)
                              throws Exception
        已过时。
        从类复制的说明: AbstractUrlBasedView
        Check whether the underlying resource that the configured URL points to actually exists.
        覆盖:
        checkResource 在类中 AbstractUrlBasedView
        参数:
        locale - the desired Locale that we're looking for
        返回:
        true if the resource exists (or is assumed to exist); false if we know that it does not exist
        抛出:
        Exception - if the resource exists but is invalid (e.g. could not be parsed)
      • renderMergedOutputModel

        protected void renderMergedOutputModel​(Map<String,​Object> model,
                                               HttpServletRequest request,
                                               HttpServletResponse response)
                                        throws Exception
        已过时。
        从类复制的说明: AbstractView
        Subclasses must implement this method to actually render the view.

        The first step will be preparing the request: In the JSP case, this would mean setting model objects as request attributes. The second step will be the actual rendering of the view, for example including the JSP via a RequestDispatcher.

        指定者:
        renderMergedOutputModel 在类中 AbstractView
        参数:
        model - combined output Map (never null), with dynamic values taking precedence over static attributes
        request - current HTTP request
        response - current HTTP response
        抛出:
        Exception - if rendering failed