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.Dynamic
A representation of the configuration for a filter
-
Nested Class Summary
Nested classes/interfaces inherited from interface javax.servlet.FilterRegistration
javax.servlet.FilterRegistration.DynamicNested classes/interfaces inherited from interface javax.servlet.Registration
javax.servlet.Registration.Dynamic -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInitParameter(String name, String value) Add an init parmameterbooleanvoidsetDescription(String description) Set the discription for this configvoidsetDispatchMode(int[] dispatchMode) Deprecated.Please use Servlet 3.0 methods for adding filters dynamically.voidsetDisplayName(String displayName) Set the display name for this configvoidsetFilterClassLoader(ClassLoader filterClassLoader) Set the ClassLoader this Filter should be loaded from.voidsetFilterClassName(String className) voidSet the name of this filterMethods inherited from interface javax.servlet.FilterConfig
getFilterName, getInitParameter, getInitParameterNames, getServletContextMethods inherited from interface javax.servlet.FilterRegistration
addMappingForServletNames, addMappingForUrlPatterns, getServletNameMappings, getUrlPatternMappingsMethods inherited from interface javax.servlet.Registration
getClassName, getInitParameter, getInitParameters, getName, setInitParameter, setInitParametersMethods inherited from interface javax.servlet.Registration.Dynamic
setAsyncSupported
-
Field Details
-
FILTER_REQUEST
static final int FILTER_REQUESTDeprecated.- See Also:
-
FILTER_FORWARD
static final int FILTER_FORWARDDeprecated.- See Also:
-
FILTER_INCLUDE
static final int FILTER_INCLUDEDeprecated.- See Also:
-
FILTER_ERROR
static final int FILTER_ERRORDeprecated.- See Also:
-
-
Method Details
-
setFilterClassLoader
Set the ClassLoader this Filter should be loaded from.- Parameters:
filterClassLoader-
-
addInitParameter
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
Set the display name for this config- Parameters:
displayName-
-
setDescription
Set the discription for this config- Parameters:
description-
-
setName
Set the name of this filter- Parameters:
name-
-
setFilterClassName
-
isAsyncSupported
boolean isAsyncSupported()
-