Top Description Fields Constructors Methods
org.apache.catalina.core

public final Class StandardWrapperFacade

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

Facade for the StandardWrapper object.
Author
Remy Maucherat

Field Summary

Modifier and TypeField and Description
private final ServletConfig
config

Wrapped config.

private ServletContext
context

Wrapped context (facade).

Constructor Summary

AccessConstructor and Description
public
StandardWrapperFacade(StandardWrapper
the associated wrapper
config
)

Create a new facade around a StandardWrapper.

Method Summary

Modifier and TypeMethod and Description
public String
getInitParameter(String
a String specifying the name of the initialization parameter
name
)

Implements jakarta.servlet.ServletConfig.getInitParameter.

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

public Enumeration<String>
getInitParameterNames()

Implements jakarta.servlet.ServletConfig.getInitParameterNames.

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

public ServletContext
getServletContext()

Implements jakarta.servlet.ServletConfig.getServletContext.

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

public String
getServletName()

Implements jakarta.servlet.ServletConfig.getServletName.

Returns the name of this servlet instance.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

configback to summary
private final ServletConfig config

Wrapped config.

contextback to summary
private ServletContext context

Wrapped context (facade).

Constructor Detail

StandardWrapperFacadeback to summary
public StandardWrapperFacade(StandardWrapper config)

Create a new facade around a StandardWrapper.

Parameters
config:StandardWrapper

the associated wrapper

Method Detail

getInitParameterback to summary
public String getInitParameter(String name)

Implements jakarta.servlet.ServletConfig.getInitParameter.

Doc from jakarta.servlet.ServletConfig.getInitParameter.

Returns a String containing the value of the named initialization parameter, or null if the 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

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

Implements jakarta.servlet.ServletConfig.getInitParameterNames.

Doc from jakarta.servlet.ServletConfig.getInitParameterNames.

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

Returns:Enumeration<String>

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

Annotations
@Override
getServletContextback to summary
public ServletContext getServletContext()

Implements jakarta.servlet.ServletConfig.getServletContext.

Doc from jakarta.servlet.ServletConfig.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
getServletNameback to summary
public String getServletName()

Implements jakarta.servlet.ServletConfig.getServletName.

Doc from jakarta.servlet.ServletConfig.getServletName.

Returns the name of this servlet instance. The name may be provided via server administration, assigned in the web application deployment descriptor, or for an unregistered (and thus unnamed) servlet instance it will be the servlet's class name.

Returns:String

the name of the servlet instance

Annotations
@Override