public interface ResourceAwareController
Controller interface that allows for handling Portlet 2.0 resource requests as well.
Can also be implemented by AbstractController subclasses.ResourceServingPortlet,
Controller,
EventAwareController| Modifier and Type | Method and Description |
|---|---|
ModelAndView |
handleResourceRequest(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response)
Process the resource request and return a ModelAndView object which the DispatcherPortlet will render.
|
ModelAndView handleResourceRequest(javax.portlet.ResourceRequest request, javax.portlet.ResourceResponse response) throws Exception
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 requestresponse - current portlet resource responseException - in case of errorsCopyright © 2019 Liferay, Inc.. All rights reserved.