Package org.apache.catalina.core
Class StandardWrapperFacade
java.lang.Object
org.apache.catalina.core.StandardWrapperFacade
- All Implemented Interfaces:
- ServletConfig
Facade for the StandardWrapper object.
- Author:
- Remy Maucherat
- 
Constructor SummaryConstructorsConstructorDescriptionStandardWrapperFacade(StandardWrapper config) Create a new facade around a StandardWrapper.
- 
Method SummaryModifier and TypeMethodDescriptiongetInitParameter(String name) Returns aStringcontaining the value of the named initialization parameter, ornullif the parameter does not exist.Returns the names of the servlet's initialization parameters as anEnumerationofStringobjects, or an emptyEnumerationif the servlet has no initialization parameters.Returns a reference to theServletContextin which the caller is executing.Returns the name of this servlet instance.
- 
Constructor Details- 
StandardWrapperFacadeCreate a new facade around a StandardWrapper.- Parameters:
- config- the associated wrapper
 
 
- 
- 
Method Details- 
getServletNameDescription copied from interface:jakarta.servlet.ServletConfigReturns 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.- Specified by:
- getServletNamein interface- ServletConfig
- Returns:
- the name of the servlet instance
 
- 
getServletContextDescription copied from interface:jakarta.servlet.ServletConfigReturns a reference to theServletContextin which the caller is executing.- Specified by:
- getServletContextin interface- ServletConfig
- Returns:
- a ServletContextobject, used by the caller to interact with its servlet container
- See Also:
 
- 
getInitParameterDescription copied from interface:jakarta.servlet.ServletConfigReturns aStringcontaining the value of the named initialization parameter, ornullif the parameter does not exist.- Specified by:
- getInitParameterin interface- ServletConfig
- Parameters:
- name- a- Stringspecifying the name of the initialization parameter
- Returns:
- a Stringcontaining the value of the initialization parameter
 
- 
getInitParameterNamesDescription copied from interface:jakarta.servlet.ServletConfigReturns the names of the servlet's initialization parameters as anEnumerationofStringobjects, or an emptyEnumerationif the servlet has no initialization parameters.- Specified by:
- getInitParameterNamesin interface- ServletConfig
- Returns:
- an EnumerationofStringobjects containing the names of the servlet's initialization parameters
 
 
-