Package | Description |
---|---|
com.liferay.portletmvc4spring |
Provides JSR-362 portlets that integrate with the application context infrastructure, and the core interfaces and
classes for PortletMVC4Spring.
|
com.liferay.portletmvc4spring.handler |
Provides standard HandlerMapping implementations, including abstract base classes for custom implementations.
|
com.liferay.portletmvc4spring.mvc |
Standard controller implementations for the PortletMVC4Spring framework.
|
com.liferay.portletmvc4spring.mvc.annotation |
Support package for annotation-based PortletMVC4Spring controllers.
|
com.liferay.portletmvc4spring.mvc.method | |
com.liferay.portletmvc4spring.mvc.method.annotation |
Modifier and Type | Method and Description |
---|---|
ModelAndView |
ModelAndView.addAllObjects(Map<String,?> modelMap)
Add all attributes contained in the provided Map to the model.
|
ModelAndView |
ModelAndView.addObject(Object attributeValue)
Add an attribute to the model using parameter name generation.
|
ModelAndView |
ModelAndView.addObject(String attributeName,
Object attributeValue)
Add an attribute to the model.
|
ModelAndView |
ModelAndViewDefiningException.getModelAndView()
Return the ModelAndView that this exception contains for forwarding to.
|
ModelAndView |
HandlerAdapter.handleRender(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object handler)
Use the given handler to handle this render request.
|
ModelAndView |
HandlerAdapter.handleResource(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
Object handler)
Use the given handler to handle this resource request.
|
protected ModelAndView |
DispatcherPortlet.processHandlerException(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object handler,
Exception ex)
Determine an error ModelAndView via the registered HandlerExceptionResolvers.
|
protected ModelAndView |
DispatcherPortlet.processHandlerException(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
Object handler,
Exception ex)
Determine an error ModelAndView via the registered HandlerExceptionResolvers.
|
ModelAndView |
HandlerExceptionResolver.resolveException(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object handler,
Exception ex)
Try to resolve the given exception that got thrown during on handler execution, returning a ModelAndView that
represents a specific error page if appropriate.
|
ModelAndView |
HandlerExceptionResolver.resolveException(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
Object handler,
Exception ex)
Try to resolve the given exception that got thrown during on handler execution, returning a ModelAndView that
represents a specific error page if appropriate.
|
Modifier and Type | Method and Description |
---|---|
void |
HandlerInterceptor.postHandleRender(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object handler,
ModelAndView modelAndView)
Intercept the execution of a handler in the render phase.
|
void |
HandlerInterceptor.postHandleResource(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
Object handler,
ModelAndView modelAndView)
Intercept the execution of a handler in the render phase.
|
protected void |
DispatcherPortlet.render(ModelAndView mv,
javax.portlet.PortletRequest request,
javax.portlet.MimeResponse response)
Render the given ModelAndView.
|
Constructor and Description |
---|
ModelAndViewDefiningException(ModelAndView modelAndView)
Create new ModelAndViewDefiningException with the given ModelAndView, typically representing a specific error
page.
|
Modifier and Type | Method and Description |
---|---|
protected ModelAndView |
SimpleMappingExceptionResolver.doResolveException(javax.portlet.PortletRequest request,
javax.portlet.MimeResponse response,
Object handler,
Exception ex)
Actually resolve the given exception that got thrown during on handler execution, returning a ModelAndView that
represents a specific error page if appropriate.
|
protected abstract ModelAndView |
AbstractHandlerExceptionResolver.doResolveException(javax.portlet.PortletRequest request,
javax.portlet.MimeResponse response,
Object handler,
Exception ex)
Actually resolve the given exception that got thrown during on handler execution, returning a ModelAndView that
represents a specific error page if appropriate.
|
protected ModelAndView |
SimpleMappingExceptionResolver.getModelAndView(String viewName,
Exception ex)
Return a ModelAndView for the given view name and exception.
|
protected ModelAndView |
SimpleMappingExceptionResolver.getModelAndView(String viewName,
Exception ex,
javax.portlet.PortletRequest request)
Return a ModelAndView for the given request, view name and exception.
|
ModelAndView |
SimplePortletHandlerAdapter.handleRender(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object handler) |
ModelAndView |
SimplePortletHandlerAdapter.handleResource(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
Object handler) |
ModelAndView |
AbstractHandlerExceptionResolver.resolveException(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object handler,
Exception ex)
Checks whether this resolver is supposed to apply (i.e.
|
ModelAndView |
AbstractHandlerExceptionResolver.resolveException(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
Object handler,
Exception ex) |
Modifier and Type | Method and Description |
---|---|
void |
HandlerInterceptorAdapter.postHandleRender(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object handler,
ModelAndView modelAndView)
This implementation is empty.
|
void |
WebRequestHandlerInterceptorAdapter.postHandleRender(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object handler,
ModelAndView modelAndView) |
void |
HandlerInterceptorAdapter.postHandleResource(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
Object handler,
ModelAndView modelAndView)
This implementation is empty.
|
void |
WebRequestHandlerInterceptorAdapter.postHandleResource(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
Object handler,
ModelAndView modelAndView) |
Modifier and Type | Method and Description |
---|---|
ModelAndView |
SimpleControllerHandlerAdapter.handleRender(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object handler) |
ModelAndView |
AbstractController.handleRenderRequest(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response) |
ModelAndView |
Controller.handleRenderRequest(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
Process the render request and return a ModelAndView object which the DispatcherPortlet will render.
|
ModelAndView |
PortletModeNameViewController.handleRenderRequest(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response) |
protected ModelAndView |
AbstractController.handleRenderRequestInternal(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
Subclasses are meant to override this method if the controller is expected to handle render requests.
|
protected ModelAndView |
PortletWrappingController.handleRenderRequestInternal(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response) |
protected ModelAndView |
ParameterizableViewController.handleRenderRequestInternal(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
Return a ModelAndView object with the specified view name.
|
ModelAndView |
SimpleControllerHandlerAdapter.handleResource(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
Object handler) |
ModelAndView |
PortletWrappingController.handleResourceRequest(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response) |
ModelAndView |
ResourceAwareController.handleResourceRequest(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response)
Process the resource request and return a ModelAndView object which the DispatcherPortlet will render.
|
Modifier and Type | Method and Description |
---|---|
protected ModelAndView |
AnnotationMethodHandlerExceptionResolver.doResolveException(javax.portlet.PortletRequest request,
javax.portlet.MimeResponse response,
Object handler,
Exception ex) |
Modifier and Type | Method and Description |
---|---|
ModelAndView |
AbstractPortletHandlerMethodAdapter.handleRender(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object handler) |
protected abstract ModelAndView |
AbstractPortletHandlerMethodAdapter.handleRenderInternal(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object handler)
Use the given handler method to handle the request.
|
ModelAndView |
AbstractPortletHandlerMethodAdapter.handleResource(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
Object handler) |
protected abstract ModelAndView |
AbstractPortletHandlerMethodAdapter.handleResourceInternal(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
Object handler)
Use the given handler method to handle the request.
|
Modifier and Type | Method and Description |
---|---|
protected ModelAndView |
PortletRequestMappingHandlerAdapter.doHandle(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
HandlerMethod handlerMethod) |
protected ModelAndView |
PortletRequestMappingHandlerAdapter.doHandle(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
Object handler) |
protected ModelAndView |
PortletRequestMappingHandlerAdapter.handleRenderInternal(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object handler) |
protected ModelAndView |
PortletRequestMappingHandlerAdapter.handleResourceInternal(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
Object handler) |
Copyright © 2019 Liferay, Inc.. All rights reserved.