Package | Description |
---|---|
org.springframework.web.portlet |
Provides JSR-168 portlets that integrate with the application context
infrastructure, and the core interfaces and classes for the Portlet
variant of Spring's web MVC framework.
|
org.springframework.web.portlet.handler |
Provides standard HandlerMapping implementations,
including abstract base classes for custom implementations.
|
org.springframework.web.portlet.mvc |
Standard controller implementations for the portlet MVC framework that
comes with Spring.
|
org.springframework.web.portlet.mvc.annotation |
Support package for annotation-based Portlet MVC controllers.
|
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 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.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 |
WebRequestHandlerInterceptorAdapter.postHandleRender(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object handler,
ModelAndView modelAndView) |
void |
HandlerInterceptorAdapter.postHandleRender(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object handler,
ModelAndView modelAndView)
This implementation is empty.
|
void |
WebRequestHandlerInterceptorAdapter.postHandleResource(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
Object handler,
ModelAndView modelAndView) |
void |
HandlerInterceptorAdapter.postHandleResource(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
Object handler,
ModelAndView modelAndView)
This implementation is empty.
|
Modifier and Type | Method and Description |
---|---|
ModelAndView |
SimpleControllerHandlerAdapter.handleRender(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object handler) |
protected abstract ModelAndView |
AbstractCommandController.handleRender(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object command,
BindException errors)
Deprecated.
Template method for render request handling, providing a populated and validated instance
of the command class, and an Errors object containing binding and validation errors.
|
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 |
AbstractController.handleRenderRequest(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response) |
ModelAndView |
PortletModeNameViewController.handleRenderRequest(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response) |
protected ModelAndView |
PortletWrappingController.handleRenderRequestInternal(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response) |
protected ModelAndView |
AbstractCommandController.handleRenderRequestInternal(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
Deprecated.
|
protected ModelAndView |
ParameterizableViewController.handleRenderRequestInternal(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
Return a ModelAndView object with the specified view name.
|
protected ModelAndView |
AbstractFormController.handleRenderRequestInternal(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
Deprecated.
Handles render phase of two cases: form submissions and showing a new form.
|
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.
|
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.
|
protected ModelAndView |
SimpleFormController.onSubmitRender(Object command)
Deprecated.
Simplest
onSubmitRender version. |
protected ModelAndView |
SimpleFormController.onSubmitRender(Object command,
BindException errors)
Deprecated.
Simpler
onSubmitRender version. |
protected ModelAndView |
SimpleFormController.onSubmitRender(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object command,
BindException errors)
Deprecated.
Submit render phase callback with all parameters.
|
protected ModelAndView |
AbstractWizardFormController.renderCancel(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object command,
BindException errors)
Deprecated.
Template method for the render phase of the cancel action of this wizard.
|
protected ModelAndView |
AbstractWizardFormController.renderFinish(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object command,
BindException errors)
Deprecated.
Template method for the render phase of the finish action of this wizard.
|
protected ModelAndView |
SimpleFormController.renderFormSubmission(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object command,
BindException errors)
Deprecated.
This implementation calls
showForm in case of errors,
and delegates to onSubmitRender 's full version else. |
protected abstract ModelAndView |
AbstractFormController.renderFormSubmission(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object command,
BindException errors)
Deprecated.
Process render phase of form submission request.
|
protected ModelAndView |
AbstractWizardFormController.renderFormSubmission(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object command,
BindException errors)
Deprecated.
Apply wizard workflow: finish, cancel, page change.
|
protected ModelAndView |
AbstractFormController.renderInvalidSubmit(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
Deprecated.
Handle an invalid submit request, e.g.
|
protected ModelAndView |
AbstractWizardFormController.renderInvalidSubmit(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
Deprecated.
Handle an invalid submit request, e.g.
|
protected ModelAndView |
AbstractFormController.showForm(javax.portlet.RenderRequest request,
BindException errors,
String viewName)
Deprecated.
Prepare model and view for the given form, including reference and errors.
|
protected ModelAndView |
AbstractFormController.showForm(javax.portlet.RenderRequest request,
BindException errors,
String viewName,
Map controlModel)
Deprecated.
Prepare model and view for the given form, including reference and errors,
adding a controller-specific control model.
|
protected ModelAndView |
SimpleFormController.showForm(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
BindException errors)
Deprecated.
This implementation shows the configured form view, delegating to the
analogous showForm version with a controlModel argument.
|
protected abstract ModelAndView |
AbstractFormController.showForm(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
BindException errors)
Deprecated.
Prepare the form model and view, including reference and error data.
|
protected ModelAndView |
AbstractWizardFormController.showForm(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
BindException errors)
Deprecated.
Show the first page as form view.
|
protected ModelAndView |
SimpleFormController.showForm(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
BindException errors,
Map controlModel)
Deprecated.
This implementation shows the configured form view.
|
protected ModelAndView |
AbstractFormController.showNewForm(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
Deprecated.
Show a new form.
|
protected ModelAndView |
AbstractWizardFormController.showPage(javax.portlet.RenderRequest request,
BindException errors,
int page)
Deprecated.
Prepare the form model and view, including reference and error data,
for the given page.
|
Modifier and Type | Method and Description |
---|---|
protected ModelAndView |
AnnotationMethodHandlerAdapter.doHandle(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
Object handler) |
protected ModelAndView |
AnnotationMethodHandlerExceptionResolver.doResolveException(javax.portlet.PortletRequest request,
javax.portlet.MimeResponse response,
Object handler,
Exception ex) |
ModelAndView |
AnnotationMethodHandlerAdapter.handleRender(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object handler) |
ModelAndView |
AnnotationMethodHandlerAdapter.handleResource(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
Object handler) |
Copyright © 2015. All rights reserved.