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.
|
Java Source File Name | Type | Comment |
DispatcherPortlet.java | Class | Central dispatcher for use within the Portlet MVC framework, e.g. |
FrameworkPortlet.java | Class | Base portlet for Spring's portlet framework. |
GenericPortletBean.java | Class | Simple extension of javax.portlet.GenericPortlet that treats
its config parameters as bean properties.
A very handy superclass for any type of portlet. |
HandlerAdapter.java | Interface | Portlet MVC framework SPI interface, allowing parameterization of core MVC workflow.
Interface that must be implemented for each handler type to handle a request.
This interface is used to allow the DispatcherPortlet to be indefinitely
extensible. |
HandlerExceptionResolver.java | Interface | Interface to be implemented by objects than can resolve exceptions thrown
during handler mapping or execution, in the typical case to error views.
Implementors are typically registered as beans in the application context.
Error views are analogous to the error page JSPs, but can be used with
any kind of exception including any checked exception, with potentially
fine-granular mappings for specific handlers.
author: Juergen Hoeller author: John A. |
HandlerExecutionChain.java | Class | Handler execution chain, consisting of handler object and any handler interceptors.
Returned by HandlerMapping's
HandlerMapping.getHandler method.
author: Juergen Hoeller author: John A. |
HandlerInterceptor.java | Interface | Workflow interface that allows for customized handler execution chains.
Applications can register any number of existing or custom interceptors
for certain groups of handlers, to add common preprocessing behavior
without needing to modify each handler implementation.
A HandlerInterceptor gets called before the appropriate
org.springframework.web.portlet.HandlerAdapter triggers the
execution of the handler itself. |
HandlerMapping.java | Interface | Interface to be implemented by objects that define a mapping between
requests and handler objects.
This class can be implemented by application developers, although this is not
necessary, as
org.springframework.web.portlet.handler.PortletModeHandlerMapping ,
org.springframework.web.portlet.handler.ParameterHandlerMapping and
org.springframework.web.portlet.handler.PortletModeParameterHandlerMapping are included in the framework. |
ModelAndView.java | Class | Holder for both Model and View in the web MVC framework.
Note that these are entirely distinct. |
ModelAndViewDefiningException.java | Class | Exception to be thrown on error conditions that should forward
to a specific view with a specific model. |