Top Fields Constructors Methods
org.eclipse.jgit.http.server.glue

pack-priv final Class NoParameterFilterConfig

extends Object
implements FilterConfig
Class Inheritance
All Implemented Interfaces
jakarta.servlet.FilterConfig
Imports
java.util.Enumeration, .NoSuchElementException, jakarta.servlet.FilterConfig, .ServletContext

Field Summary

Modifier and TypeField and Description
private final ServletContext
private final String

Constructor Summary

AccessConstructor and Description
pack-priv

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(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

contextback to summary
private final ServletContext context
filterNameback to summary
private final String filterName

Constructor Detail

NoParameterFilterConfigback to summary
pack-priv NoParameterFilterConfig(String filterName, ServletContext context)

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(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