Top Fields Constructors Methods
io.undertow.servlet.spec

public Class FilterConfigImpl

extends Object
implements FilterConfig
Class Inheritance
All Implemented Interfaces
jakarta.servlet.FilterConfig
Imports
java.util.Enumeration, jakarta.servlet.FilterConfig, .ServletContext, io.undertow.servlet.api.FilterInfo, io.undertow.servlet.util.IteratorEnumeration

Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
private final FilterInfo
private final ServletContext

Constructor Summary

AccessConstructor and Description
public
FilterConfigImpl(final FilterInfo filterInfo, final ServletContext servletContext)

Method Summary

Modifier and TypeMethod and Description
public String
getFilterName()

Implements jakarta.servlet.FilterConfig.getFilterName.

Returns the filter-name of this filter as defined in the deployment descriptor.

public String
getInitParameter(final String
a String specifying the name of the initialization parameter
name
)

Implements jakarta.servlet.FilterConfig.getInitParameter.

Returns a String containing the value of the named initialization parameter, or null if the initialization parameter does not exist.

public Enumeration<String>
getInitParameterNames()

Implements jakarta.servlet.FilterConfig.getInitParameterNames.

Returns the names of the filter's initialization parameters as an Enumeration of String objects, or an empty Enumeration if the filter has no initialization parameters.

public ServletContext
getServletContext()

Implements jakarta.servlet.FilterConfig.getServletContext.

Returns a reference to the ServletContext in which the caller is executing.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

filterInfoback to summary
private final FilterInfo filterInfo
servletContextback to summary
private final ServletContext servletContext

Constructor Detail

FilterConfigImplback to summary
public FilterConfigImpl(final FilterInfo filterInfo, final ServletContext servletContext)

Method Detail

getFilterNameback to summary
public String getFilterName()

Implements jakarta.servlet.FilterConfig.getFilterName.

Doc from jakarta.servlet.FilterConfig.getFilterName.

Returns the filter-name of this filter as defined in the deployment descriptor.

Returns:String

the filter name of this filter

Annotations
@Override
getInitParameterback to summary
public String getInitParameter(final String name)

Implements jakarta.servlet.FilterConfig.getInitParameter.

Doc from jakarta.servlet.FilterConfig.getInitParameter.

Returns a String containing the value of the named initialization parameter, or null if the initialization parameter does not exist.

Parameters
name:String

a String specifying the name of the initialization parameter

Returns:String

a String containing the value of the initialization parameter, or null if the initialization parameter does not exist

Annotations
@Override
getInitParameterNamesback to summary
public Enumeration<String> getInitParameterNames()

Implements jakarta.servlet.FilterConfig.getInitParameterNames.

Doc from jakarta.servlet.FilterConfig.getInitParameterNames.

Returns the names of the filter's initialization parameters as an Enumeration of String objects, or an empty Enumeration if the filter has no initialization parameters.

Returns:Enumeration<String>

an Enumeration of String objects containing the names of the filter's initialization parameters

Annotations
@Override
getServletContextback to summary
public ServletContext getServletContext()

Implements jakarta.servlet.FilterConfig.getServletContext.

Doc from jakarta.servlet.FilterConfig.getServletContext.

Returns a reference to the ServletContext in which the caller is executing.

Returns:ServletContext

a ServletContext object, used by the caller to interact with its servlet container

Annotations
@Override