Class StandardWrapperFacade
java.lang.Object
org.apache.catalina.core.StandardWrapperFacade
- All Implemented Interfaces:
ServletConfig
Facade for the StandardWrapper object.
- Author:
- Remy Maucherat
-
Constructor Summary
ConstructorsConstructorDescriptionStandardWrapperFacade(StandardWrapper config) Create a new facade around a StandardWrapper. -
Method Summary
Modifier 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
-
StandardWrapperFacade
Create a new facade around a StandardWrapper.- Parameters:
config- the associated wrapper
-
-
Method Details
-
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 interfaceServletConfig- Returns:
- the name of the servlet instance
-
getServletContext
Description copied from interface:javax.servlet.ServletConfigReturns a reference to theServletContextin which the caller is executing.- Specified by:
getServletContextin interfaceServletConfig- Returns:
- a
ServletContextobject, used by the caller to interact with its servlet container - See Also:
-
getInitParameter
Description copied from interface:javax.servlet.ServletConfigReturns aStringcontaining the value of the named initialization parameter, ornullif the parameter does not exist.- Specified by:
getInitParameterin interfaceServletConfig- Parameters:
name- aStringspecifying the name of the initialization parameter- Returns:
- a
Stringcontaining the value of the initialization parameter
-
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 interfaceServletConfig- Returns:
- an
EnumerationofStringobjects containing the names of the servlet's initialization parameters
-