public class LuteceFilter extends Object implements Comparable<LuteceFilter>
Modifier and Type | Field and Description |
---|---|
static int |
ORDER_NOT_DEFINED |
Constructor and Description |
---|
LuteceFilter(String strName,
javax.servlet.Filter filter,
String strMapping,
Plugin plugin,
Map<String,String> mapInitParameters)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(LuteceFilter luteceFilter) |
boolean |
equals(Object o) |
javax.servlet.Filter |
getFilter()
Returns the filter
|
Map<String,String> |
getInitParameters()
Returns init parameters
|
String |
getMappingUrlPattern()
Returns the Mapping
|
String |
getName()
Returns the Name
|
int |
getOrder()
Returns the order.
|
Plugin |
getPlugin()
Returns the Plugin
|
int |
hashCode() |
void |
setFilter(javax.servlet.Filter filter)
Sets the filter
|
void |
setMappingUrlPattern(String strMapping)
Sets the Mapping
|
void |
setName(String strName)
Sets the Name
|
void |
setOrder(int nOrder)
nOrder == == -1 means there is no priority set for the filter
|
void |
setPlugin(Plugin plugin)
Sets the Plugin
|
String |
toString()
for debug purpose
|
public static final int ORDER_NOT_DEFINED
public LuteceFilter(String strName, javax.servlet.Filter filter, String strMapping, Plugin plugin, Map<String,String> mapInitParameters)
strName
- The namefilter
- The filter classstrMapping
- The mapping url patternplugin
- The pluginmapInitParameters
- Init parameters as a mappublic String getName()
public void setName(String strName)
strName
- The Namepublic javax.servlet.Filter getFilter()
public void setFilter(javax.servlet.Filter filter)
filter
- The filterpublic String getMappingUrlPattern()
public void setMappingUrlPattern(String strMapping)
strMapping
- The Mappingpublic Plugin getPlugin()
public void setPlugin(Plugin plugin)
plugin
- The pluginpublic Map<String,String> getInitParameters()
public String toString()
public int getOrder()
getOrder()
== -1 means there is no priority set for the filterpublic void setOrder(int nOrder)
nOrder
- the orderpublic int compareTo(LuteceFilter luteceFilter)
compareTo
in interface Comparable<LuteceFilter>
Copyright © 2020 City of Paris. All rights reserved.