org.apache.felix.http.base.internal.handler
Class ServletConfigImpl
java.lang.Object
org.apache.felix.http.base.internal.handler.ServletConfigImpl
- All Implemented Interfaces:
- ServletConfig
public final class ServletConfigImpl
- extends Object
- implements ServletConfig
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletConfigImpl
public ServletConfigImpl(String name,
ServletContext context,
initParams)
getServletName
public String getServletName()
getServletContext
public ServletContext getServletContext()
- Description copied from interface:
ServletConfig
- Returns a reference to the
ServletContext
in which the caller
is executing.
- Specified by:
getServletContext
in interface ServletConfig
- Returns:
- a
ServletContext
object, used
by the caller to interact with its servlet
container - See Also:
ServletContext
getInitParameter
public String getInitParameter(String name)
- Description copied from interface:
ServletConfig
- Returns a
String
containing the value of the
named initialization parameter, or null
if
the parameter does not exist.
- Specified by:
getInitParameter
in interface ServletConfig
- Parameters:
name
- a String
specifying the name
of the initialization parameter
- Returns:
- a
String
containing the value
of the initialization parameter
getInitParameterNames
public Enumeration getInitParameterNames()
- Description copied from interface:
ServletConfig
- Returns the names of the servlet's initialization parameters
as an
Enumeration
of String
objects,
or an empty Enumeration
if the servlet has
no initialization parameters.
- Specified by:
getInitParameterNames
in interface ServletConfig
- Returns:
- an
Enumeration
of String
objects containing the names of the servlet's
initialization parameters
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.