Class ServletFilterMappingDescriptor
- java.lang.Object
-
- java.util.Observable
-
- org.glassfish.deployment.common.DynamicAttributesDescriptor
-
- org.glassfish.deployment.common.Descriptor
-
- org.glassfish.web.deployment.descriptor.ServletFilterMappingDescriptor
-
- All Implemented Interfaces:
ServletFilterMapping,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 org.glassfish.deployment.common.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
-
-
Constructor Summary
Constructors Constructor Description ServletFilterMappingDescriptor()generic constructorServletFilterMappingDescriptor(ServletFilterMappingDescriptor other)copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDispatcher(String dispatcher)voidaddServletName(String servletName)voidaddURLPattern(String urlPattern)booleanequals(Object obj)compare equalsSet<jakarta.servlet.DispatcherType>getDispatchers()List<String>getServletNames()List<String>getUrlPatterns()inthashCode()voidremoveDispatcher(String dispatcher)-
Methods inherited from class org.glassfish.deployment.common.Descriptor
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, 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 org.glassfish.deployment.common.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(String servletName)
- Specified by:
addServletNamein interfaceServletFilterMapping
-
getServletNames
public List<String> getServletNames()
- Specified by:
getServletNamesin interfaceServletFilterMapping
-
addURLPattern
public void addURLPattern(String urlPattern)
- Specified by:
addURLPatternin interfaceServletFilterMapping
-
getUrlPatterns
public List<String> getUrlPatterns()
- Specified by:
getUrlPatternsin interfaceServletFilterMapping
-
addDispatcher
public void addDispatcher(String dispatcher)
- Specified by:
addDispatcherin interfaceServletFilterMapping
-
removeDispatcher
public void removeDispatcher(String dispatcher)
-
getDispatchers
public Set<jakarta.servlet.DispatcherType> getDispatchers()
- Specified by:
getDispatchersin interfaceServletFilterMapping
-
-