Package com.luciad.ogc.common
Class TLcdServletConfigWrapper
java.lang.Object
com.luciad.ogc.common.TLcdServletConfigWrapper
- All Implemented Interfaces:
ILcdInitializationConfig
An implementation of
ILcdInitializationConfig
that wraps around
a ServletConfig
object.-
Constructor Summary
ConstructorDescriptionTLcdServletConfigWrapper
(jakarta.servlet.ServletConfig aConfig) Create a wrapper for the given servlet configuration. -
Method Summary
Modifier and TypeMethodDescriptiongetParameter
(String aParameterName) Returns the value of the parameter with the given name.Returns an enumeration of all available parameter names.Returns a context configuration object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.luciad.ogc.common.ILcdInitializationConfig
getParameter
-
Constructor Details
-
TLcdServletConfigWrapper
public TLcdServletConfigWrapper(jakarta.servlet.ServletConfig aConfig) Create a wrapper for the given servlet configuration.- Parameters:
aConfig
- AServletConfig
object.
-
-
Method Details
-
getParameter
Description copied from interface:ILcdInitializationConfig
Returns the value of the parameter with the given name.- Specified by:
getParameter
in interfaceILcdInitializationConfig
- Returns:
- the value of the parameter with the given name, or
null
if the parameter does not exist.
-
getParameterNames
Description copied from interface:ILcdInitializationConfig
Returns an enumeration of all available parameter names.- Specified by:
getParameterNames
in interfaceILcdInitializationConfig
-
getServletContext
Description copied from interface:ILcdInitializationConfig
Returns a context configuration object.- Specified by:
getServletContext
in interfaceILcdInitializationConfig
- Returns:
- a context configuration object.
-