| java.lang.Object es.udc.mypersonalizer.kernel.controller.requestprocessor.AbstractPreProcessingFilter
All known Subclasses: es.udc.mypersonalizer.portal.controller.filters.AuthenticationPreProcessingFilter, es.udc.mypersonalizer.portal.controller.filters.SessionPreProcessingFilter,
AbstractPreProcessingFilter | abstract public class AbstractPreProcessingFilter implements PreProcessingFilter(Code) | | This abstract class implements some of the common functionality to all
PreProcessingFilters like chaining next filter or establishing its own
configuration parameters.
author: Daniel Fernandez since: 1.0 |
doProcess | abstract protected ActionForward doProcess(HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form, ActionMapping mapping) throws InternalErrorException(Code) | | Really applies the filter by processing the request te way it may need
Parameters: request - the HttpServletRequest to be processed Parameters: response - the HttpServletResponse associated Parameters: action - the Struts' Action Parameters: form - the Struts' ActionForm Parameters: mapping - the Struts' ActionMapping a ActionForward with the result of the filter execution, nullif filter processing did not raise any error. throws: InternalErrorException - if a fatal error ocurrs. |
getConfigurationParameters | protected Map getConfigurationParameters()(Code) | | Returns this filter's configuration parameters
a Map with the filter configuration parameters |
getNextFilter | protected PreProcessingFilter getNextFilter()(Code) | | Returns the next filter in the chain
a PreProcessingFilter with the next filter in the chain |
process | public ActionForward process(HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form, ActionMapping mapping) throws InternalErrorException(Code) | | Executes this filter with doProcess and, depending on whether result of
execution be correct or not, executes next filter or returns an
error-handling ActionForward
Parameters: request - the HttpServletRequest to be processed Parameters: response - the HttpServletResponse associated Parameters: action - the Struts' Action Parameters: form - the Struts' ActionForm Parameters: mapping - the Struts' ActionMapping a ActionForward with the result of the filter execution, nullif filter processing did not raise any error. throws: InternalErrorException - if a fatal error ocurrs. |
setConfigurationParameters | public void setConfigurationParameters(Map configurationParameters)(Code) | | Sets the configuration parameters for this filter
Parameters: configurationParameters - a Map with its configuration parameters |
setNextFilter | public void setNextFilter(PreProcessingFilter filter)(Code) | | Sets the next filter in the filter chain
Parameters: filter - the filter to be chained |
|
|