java.lang.Object
cloud.piranha.core.impl.DefaultFilterMapping
- All Implemented Interfaces:
FilterMapping
The default FilterMapping.
- Author:
- Manfred Riem ([email protected])
-
Constructor Summary
ConstructorDescriptionDefaultFilterMapping
(jakarta.servlet.DispatcherType dispatcherType, String filterName, String urlPattern) Constructor.DefaultFilterMapping
(String filterName, String urlPattern) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
jakarta.servlet.DispatcherType
Returns the dispatcher type.Returns the filter name.Returns the URL pattern.int
hashCode()
-
Constructor Details
-
DefaultFilterMapping
Constructor.- Parameters:
filterName
- the filter name.urlPattern
- the URL pattern.
-
DefaultFilterMapping
public DefaultFilterMapping(jakarta.servlet.DispatcherType dispatcherType, String filterName, String urlPattern) Constructor.- Parameters:
dispatcherType
- the dispatcher type.filterName
- the filter name.urlPattern
- the URL pattern.
-
-
Method Details
-
equals
-
getDispatcherType
public jakarta.servlet.DispatcherType getDispatcherType()Description copied from interface:FilterMapping
Returns the dispatcher type.The dispatcher type is the kind of dispatch that the filter mapping applies to. Default is REQUEST, which represents the request from the user to the system.
- Specified by:
getDispatcherType
in interfaceFilterMapping
- Returns:
- the dispatcher type
-
getFilterName
Description copied from interface:FilterMapping
Returns the filter name.- Specified by:
getFilterName
in interfaceFilterMapping
- Returns:
- the filter name
-
getUrlPattern
Description copied from interface:FilterMapping
Returns the URL pattern.- Specified by:
getUrlPattern
in interfaceFilterMapping
- Returns:
- the URL pattern
-
hashCode
public int hashCode()
-