接口 ResourceAwareController

    • 方法详细资料

      • handleResourceRequest

        ModelAndView handleResourceRequest​(ResourceRequest request,
                                           ResourceResponse response)
                                    throws Exception
        Process the resource request and return a ModelAndView object which the DispatcherPortlet will render. A null return value is not an error: It indicates that this object completed request processing itself, thus there is no ModelAndView to render.
        参数:
        request - current portlet resource request
        response - current portlet resource response
        返回:
        a ModelAndView to render, or null if handled directly
        抛出:
        Exception - in case of errors