net.officefloor.plugin.servlet.filter
Class FilterServicerImpl

java.lang.Object
  extended by net.officefloor.plugin.servlet.filter.FilterServicerImpl
All Implemented Interfaces:
FilterServicer

public class FilterServicerImpl
extends Object
implements FilterServicer

FilterServicer implementation.

Author:
Daniel Sagenschneider

Constructor Summary
FilterServicerImpl(String filterMapping, String servletName, MappingType[] mappingTypes, FilterContainerFactory factory)
          Initiate.
 
Method Summary
 FilterContainerFactory getFilterContainerFactory()
          Obtains the FilterContainerFactory.
 String getFilterMapping()
          Obtains the URL pattern matching path to the Filter Container.
 MappingType[] getMappingTypes()
          Obtains the MappingType instances on which this FilterServicer is applicable.
 String getServletName()
          Obtains the name of HttpServlet to apply the Filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterServicerImpl

public FilterServicerImpl(String filterMapping,
                          String servletName,
                          MappingType[] mappingTypes,
                          FilterContainerFactory factory)
Initiate.

Parameters:
filterMapping - Filter mapping.
servletName - Servlet name.
mappingTypes - MappingType instances.
factory - FilterContainerFactory.
Method Detail

getFilterMapping

public String getFilterMapping()
Description copied from interface: FilterServicer
Obtains the URL pattern matching path to the Filter Container.

Specified by:
getFilterMapping in interface FilterServicer
Returns:
URL pattern. May be null if being matched on FilterServicer.getServletName().

getServletName

public String getServletName()
Description copied from interface: FilterServicer
Obtains the name of HttpServlet to apply the Filter.

Specified by:
getServletName in interface FilterServicer
Returns:
Name of HttpServlet. May be null if being matched on FilterServicer.getFilterMapping().

getMappingTypes

public MappingType[] getMappingTypes()
Description copied from interface: FilterServicer
Obtains the MappingType instances on which this FilterServicer is applicable.

Specified by:
getMappingTypes in interface FilterServicer
Returns:
MappingType instances.

getFilterContainerFactory

public FilterContainerFactory getFilterContainerFactory()
Description copied from interface: FilterServicer
Obtains the FilterContainerFactory.

Specified by:
getFilterContainerFactory in interface FilterServicer
Returns:
FilterContainerFactory.


Copyright © 2005-2012. All Rights Reserved.