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
ConstructorsConstructorDescriptionTLcdServletConfigWrapper(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, waitMethods 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- AServletConfigobject.
-
-
Method Details
-
getParameter
Description copied from interface:ILcdInitializationConfigReturns the value of the parameter with the given name.- Specified by:
getParameterin interfaceILcdInitializationConfig- Returns:
- the value of the parameter with the given name, or
nullif the parameter does not exist.
-
getParameterNames
Description copied from interface:ILcdInitializationConfigReturns an enumeration of all available parameter names.- Specified by:
getParameterNamesin interfaceILcdInitializationConfig
-
getServletContext
Description copied from interface:ILcdInitializationConfigReturns a context configuration object.- Specified by:
getServletContextin interfaceILcdInitializationConfig- Returns:
- a context configuration object.
-