Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.web.portlet.mvc
Interface ResourceAwareController

All Known Implementing Classes:
  PortletWrappingController

    public interface ResourceAwareController

Extension of the Portlet `Controller` interface that allows for handling Portlet 2.0 resource requests as well. Can also be implemented by `AbstractController` subclasses.

Since:
  3.0
Author:
  Juergen Hoeller
See Also:
  `ResourceServingPortlet`, `Controller`, `EventAwareController`

Method Summary
`ModelAndView` | `handleResourceRequest(javax.portlet.ResourceRequest request, javax.portlet.ResourceResponse response)` Process the resource request and return a ModelAndView object which the DispatcherPortlet will render.

Method Detail

### handleResourceRequest

    ModelAndView handleResourceRequest(javax.portlet.ResourceRequest request,
                                       javax.portlet.ResourceResponse response)
                                       throws java.lang.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.

  Parameters:
    `request` - current portlet resource request
    `response` - current portlet resource response
  Returns:
    a ModelAndView to render, or null if handled directly
  Throws:
    `java.lang.Exception` - in case of errors

Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD