com.sun.enterprise.deployment
Class ServletFilterMappingDescriptor

java.lang.Object
  extended by java.util.Observable
      extended by com.sun.enterprise.deployment.DynamicAttributesDescriptor
          extended by com.sun.enterprise.deployment.Descriptor
              extended by com.sun.enterprise.deployment.ServletFilterMappingDescriptor
All Implemented Interfaces:
ServletFilterMapping, java.io.Serializable

public final class ServletFilterMappingDescriptor
extends Descriptor
implements ServletFilterMapping

Deployment object representing the servlet filter mapping spec

Author:
Martin D. Flynn
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sun.enterprise.deployment.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
 
Constructor Summary
ServletFilterMappingDescriptor()
          generic constructor
ServletFilterMappingDescriptor(ServletFilterMappingDescriptor other)
          copy constructor
 
Method Summary
 void addDispatcher(java.lang.String dispatcher)
           
 void addServletName(java.lang.String servletName)
           
 void addURLPattern(java.lang.String urlPattern)
           
 boolean equals(java.lang.Object obj)
          compare equals
static java.util.Set<javax.servlet.DispatcherType> getAllowedDispatchers()
           
 java.util.Set<javax.servlet.DispatcherType> getDispatchers()
           
 java.util.List<java.lang.String> getServletNames()
           
 java.util.List<java.lang.String> getURLPatterns()
           
 int hashCode()
           
 void removeDispatcher(java.lang.String dispatcher)
           
 
Methods inherited from class com.sun.enterprise.deployment.Descriptor
addDeploymentExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, print, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visit
 
Methods inherited from class com.sun.enterprise.deployment.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sun.enterprise.deployment.web.ServletFilterMapping
getName, setName
 

Constructor Detail

ServletFilterMappingDescriptor

public ServletFilterMappingDescriptor()
generic constructor


ServletFilterMappingDescriptor

public ServletFilterMappingDescriptor(ServletFilterMappingDescriptor other)
copy constructor

Method Detail

addServletName

public void addServletName(java.lang.String servletName)
Specified by:
addServletName in interface ServletFilterMapping

getServletNames

public java.util.List<java.lang.String> getServletNames()
Specified by:
getServletNames in interface ServletFilterMapping

addURLPattern

public void addURLPattern(java.lang.String urlPattern)
Specified by:
addURLPattern in interface ServletFilterMapping

getURLPatterns

public java.util.List<java.lang.String> getURLPatterns()
Specified by:
getURLPatterns in interface ServletFilterMapping

addDispatcher

public void addDispatcher(java.lang.String dispatcher)
Specified by:
addDispatcher in interface ServletFilterMapping

removeDispatcher

public void removeDispatcher(java.lang.String dispatcher)

getDispatchers

public java.util.Set<javax.servlet.DispatcherType> getDispatchers()
Specified by:
getDispatchers in interface ServletFilterMapping

getAllowedDispatchers

public static java.util.Set<javax.servlet.DispatcherType> getAllowedDispatchers()

equals

public boolean equals(java.lang.Object obj)
compare equals

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2012 GlassFish Community. All Rights Reserved.