Package org.apache.catalina.core
Class StandardWrapperFacade
- java.lang.Object
- 
- org.apache.catalina.core.StandardWrapperFacade
 
- 
- All Implemented Interfaces:
- ServletConfig
 
 public final class StandardWrapperFacade extends java.lang.Object implements ServletConfig Facade for the StandardWrapper object.- Author:
- Remy Maucherat
 
- 
- 
Constructor SummaryConstructors Constructor Description StandardWrapperFacade(StandardWrapper config)Create a new facade around a StandardWrapper.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetInitParameter(java.lang.String name)Returns aStringcontaining the value of the named initialization parameter, ornullif the parameter does not exist.java.util.Enumeration<java.lang.String>getInitParameterNames()Returns the names of the servlet's initialization parameters as anEnumerationofStringobjects, or an emptyEnumerationif the servlet has no initialization parameters.ServletContextgetServletContext()Returns a reference to theServletContextin which the caller is executing.java.lang.StringgetServletName()Returns the name of this servlet instance.
 
- 
- 
- 
Constructor Detail- 
StandardWrapperFacadepublic StandardWrapperFacade(StandardWrapper config) Create a new facade around a StandardWrapper.- Parameters:
- config- the associated wrapper
 
 
- 
 - 
Method Detail- 
getServletNamepublic java.lang.String getServletName() Description copied from interface:javax.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
 
 - 
getServletContextpublic ServletContext getServletContext() Description copied from interface:javax.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:
- ServletContext
 
 - 
getInitParameterpublic java.lang.String getInitParameter(java.lang.String name) Description copied from interface:javax.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
 
 - 
getInitParameterNamespublic java.util.Enumeration<java.lang.String> getInitParameterNames() Description copied from interface:javax.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
 
 
- 
 
-