Top Description Fields Constructors Methods
org.glassfish.grizzly.servlet

public Class FilterMap

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
java.io.CharConversionException, .Serializable, java.util.EnumSet, .Set, org.glassfish.grizzly.http.util.URLDecoder, jakarta.servlet.DispatcherType

Representation of a filter mapping for a web application, as represented in a <filter-mapping> element in the deployment descriptor. Each filter mapping must contain a filter name plus either a URL pattern or a servlet name.
Author
Craig R. McClanahan
Version
$Revision: 1.3 $ $Date: 2007/01/23 00:06:56 $

Field Summary

Modifier and TypeField and Description
private static final EnumSet<DispatcherType>
private Set<DispatcherType>
dispatcherTypes

The dispatcher types of this filter mapping

private String
filterName

The name of the filter with which this filter mapping is associated

private String
servletName

The servlet name for which this filter mapping applies

private String
urlPattern

The URL pattern for which this filter mapping applies

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Set<DispatcherType>
public String
public String
public String
public void
public void
setFilterName(String filterName)

public void
setServletName(String servletName)

public void
setURLPattern(String urlPattern)

public String
toString()

Overrides java.lang.Object.toString.

Render a String representation of this object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

DEFAULT_DISPATCHERback to summary
private static final EnumSet<DispatcherType> DEFAULT_DISPATCHER
dispatcherTypesback to summary
private Set<DispatcherType> dispatcherTypes

The dispatcher types of this filter mapping

filterNameback to summary
private String filterName

The name of the filter with which this filter mapping is associated

servletNameback to summary
private String servletName

The servlet name for which this filter mapping applies

urlPatternback to summary
private String urlPattern

The URL pattern for which this filter mapping applies

Constructor Detail

FilterMapback to summary
public FilterMap()

Method Detail

getDispatcherTypesback to summary
public Set<DispatcherType> getDispatcherTypes()
getFilterNameback to summary
public String getFilterName()
getServletNameback to summary
public String getServletName()
getURLPatternback to summary
public String getURLPattern()
setDispatcherTypesback to summary
public void setDispatcherTypes(Set<DispatcherType> dispatcherTypes)
setFilterNameback to summary
public void setFilterName(String filterName)
setServletNameback to summary
public void setServletName(String servletName)
setURLPatternback to summary
public void setURLPattern(String urlPattern)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Render a String representation of this object.

Annotations
@Override