Package com.ibm.websphere.servlet.filter
Interface IFilterConfig
-
- All Superinterfaces:
javax.servlet.FilterConfig,javax.servlet.FilterRegistration,javax.servlet.FilterRegistration.Dynamic,javax.servlet.Registration,javax.servlet.Registration.Dynamic
- All Known Subinterfaces:
IFilterConfig
public interface IFilterConfig extends javax.servlet.FilterConfig, javax.servlet.FilterRegistration.DynamicA representation of the configuration for a filter
-
-
Field Summary
Fields Modifier and Type Field Description static intFILTER_ERRORDeprecated.static intFILTER_FORWARDDeprecated.static intFILTER_INCLUDEDeprecated.static intFILTER_REQUESTDeprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidaddInitParameter(java.lang.String name, java.lang.String value)Add an init parmameterbooleanisAsyncSupported()voidsetDescription(java.lang.String description)Set the discription for this configvoidsetDispatchMode(int[] dispatchMode)Deprecated.Please use Servlet 3.0 methods for adding filters dynamically.voidsetDisplayName(java.lang.String displayName)Set the display name for this configvoidsetFilterClassLoader(java.lang.ClassLoader filterClassLoader)Set the ClassLoader this Filter should be loaded from.voidsetFilterClassName(java.lang.String className)voidsetName(java.lang.String name)Set the name of this filter-
Methods inherited from interface javax.servlet.FilterConfig
getFilterName, getInitParameter, getInitParameterNames, getServletContext
-
Methods inherited from interface javax.servlet.FilterRegistration
addMappingForServletNames, addMappingForUrlPatterns, getServletNameMappings, getUrlPatternMappings
-
-
-
-
Field Detail
-
FILTER_REQUEST
static final int FILTER_REQUEST
Deprecated.- See Also:
- Constant Field Values
-
FILTER_FORWARD
static final int FILTER_FORWARD
Deprecated.- See Also:
- Constant Field Values
-
FILTER_INCLUDE
static final int FILTER_INCLUDE
Deprecated.- See Also:
- Constant Field Values
-
FILTER_ERROR
static final int FILTER_ERROR
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
setFilterClassLoader
void setFilterClassLoader(java.lang.ClassLoader filterClassLoader)
Set the ClassLoader this Filter should be loaded from.- Parameters:
filterClassLoader-
-
addInitParameter
void addInitParameter(java.lang.String name, java.lang.String value)Add an init parmameter- Parameters:
name-value-
-
setDispatchMode
void setDispatchMode(int[] dispatchMode)
Deprecated.Please use Servlet 3.0 methods for adding filters dynamically.Set the dispatch mode this filter should run for- Parameters:
dispatchMode-
-
setDisplayName
void setDisplayName(java.lang.String displayName)
Set the display name for this config- Parameters:
displayName-
-
setDescription
void setDescription(java.lang.String description)
Set the discription for this config- Parameters:
description-
-
setName
void setName(java.lang.String name)
Set the name of this filter- Parameters:
name-
-
setFilterClassName
void setFilterClassName(java.lang.String className)
-
isAsyncSupported
boolean isAsyncSupported()
-
-