java.lang.Object
cloud.piranha.webapp.impl.DefaultFilterMapping
- All Implemented Interfaces:
FilterMapping
The default FilterMapping.
- Author:
- Manfred Riem ([email protected])
-
Constructor Summary
ConstructorDescriptionDefaultFilterMapping(DispatcherType dispatcherType, String filterName, String urlPattern)
Constructor.DefaultFilterMapping(String filterName, String urlPattern)
Constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals.Returns the dispatcher type.Returns the filter name.Returns the URL pattern.int
hashCode()
Hash code.
-
Constructor Details
-
DefaultFilterMapping
Constructor.- Parameters:
filterName
- the filter name.urlPattern
- the URL pattern.
-
DefaultFilterMapping
Constructor.- Parameters:
dispatcherType
- the dispatcher type.filterName
- the filter name.urlPattern
- the URL pattern.
-
-
Method Details
-
equals
Equals. -
getDispatcherType
Returns the dispatcher type.- Specified by:
getDispatcherType
in interfaceFilterMapping
- Returns:
- the dispatcher type
-
getFilterName
Returns the filter name.- Specified by:
getFilterName
in interfaceFilterMapping
- Returns:
- the filter name
-
getUrlPattern
Returns the URL pattern.- Specified by:
getUrlPattern
in interfaceFilterMapping
- Returns:
- the URL pattern
-
hashCode
public int hashCode()Hash code.
-