java.lang.Object
cloud.piranha.webapp.impl.DefaultFilterMapping
- All Implemented Interfaces:
FilterMapping
public class DefaultFilterMapping extends java.lang.Object implements FilterMapping
The default FilterMapping.
- Author:
- Manfred Riem ([email protected])
-
Constructor Summary
Constructors Constructor Description DefaultFilterMapping(DispatcherType dispatcherType, java.lang.String filterName, java.lang.String urlPattern)
Constructor.DefaultFilterMapping(java.lang.String filterName, java.lang.String urlPattern)
Constructor. -
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object object)
Equals.DispatcherType
getDispatcherType()
Get the dispatcher type.java.lang.String
getFilterName()
Get the filter name.java.lang.String
getUrlPattern()
Get the URL pattern.int
hashCode()
Hash code.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DefaultFilterMapping
public DefaultFilterMapping(java.lang.String filterName, java.lang.String urlPattern)Constructor.- Parameters:
filterName
- the filter name.urlPattern
- the URL pattern.
-
DefaultFilterMapping
public DefaultFilterMapping(DispatcherType dispatcherType, java.lang.String filterName, java.lang.String urlPattern)Constructor.- Parameters:
dispatcherType
- the dispatcher type.filterName
- the filter name.urlPattern
- the URL pattern.
-
-
Method Details
-
equals
public boolean equals(java.lang.Object object)Equals.- Overrides:
equals
in classjava.lang.Object
- Parameters:
object
- the object to compare against.- Returns:
- true if equal, false otherwise.
-
getDispatcherType
Get the dispatcher type.- Specified by:
getDispatcherType
in interfaceFilterMapping
- Returns:
- the dispatcher type.
-
getFilterName
public java.lang.String getFilterName()Get the filter name.- Specified by:
getFilterName
in interfaceFilterMapping
- Returns:
- the filter name.
-
getUrlPattern
public java.lang.String getUrlPattern()Get the URL pattern.- Specified by:
getUrlPattern
in interfaceFilterMapping
- Returns:
- the URL pattern.
-
hashCode
public int hashCode()Hash code.- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- the hash code.
-