org.eclipse.jetty.servlet
Class FilterMapping

java.lang.Object
  extended by org.eclipse.jetty.servlet.FilterMapping

public class FilterMapping
extends Object


Constructor Summary
FilterMapping()
           
 
Method Summary
static int dispatch(DispatcherType type)
          Dispatch type from name
static DispatcherType dispatch(String type)
          Dispatch type from name
 String getFilterName()
           
 String[] getPathSpecs()
           
 String[] getServletNames()
           
 void setDispatcherTypes(EnumSet<DispatcherType> dispatcherTypes)
           
 void setDispatches(int dispatches)
           
 void setFilterName(String filterName)
           
 void setPathSpec(String pathSpec)
           
 void setPathSpecs(String[] pathSpecs)
           
 void setServletName(String servletName)
           
 void setServletNames(String[] servletNames)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilterMapping

public FilterMapping()
Method Detail

dispatch

public static DispatcherType dispatch(String type)
Dispatch type from name


dispatch

public static int dispatch(DispatcherType type)
Dispatch type from name


getFilterName

public String getFilterName()
Returns:
Returns the filterName.

getPathSpecs

public String[] getPathSpecs()
Returns:
Returns the pathSpec.

setDispatcherTypes

public void setDispatcherTypes(EnumSet<DispatcherType> dispatcherTypes)

setDispatches

public void setDispatches(int dispatches)
Parameters:
dispatches - The dispatches to set.
See Also:
DEFAULT, REQUEST, ERROR, FORWARD, INCLUDE

setFilterName

public void setFilterName(String filterName)
Parameters:
filterName - The filterName to set.

setPathSpecs

public void setPathSpecs(String[] pathSpecs)
Parameters:
pathSpecs - The Path specifications to which this filter should be mapped.

setPathSpec

public void setPathSpec(String pathSpec)
Parameters:
pathSpec - The pathSpec to set.

getServletNames

public String[] getServletNames()
Returns:
Returns the servletName.

setServletNames

public void setServletNames(String[] servletNames)
Parameters:
servletNames - Maps the named filter to multiple servlets
See Also:
setServletName(java.lang.String)

setServletName

public void setServletName(String servletName)
Parameters:
servletName - Maps the named filter to a single servlet
See Also:
setServletNames(java.lang.String[])

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.