org.apache.felix.http.base.internal.handler
Class ServletConfigImpl

java.lang.Object
  extended by org.apache.felix.http.base.internal.handler.ServletConfigImpl
All Implemented Interfaces:
ServletConfig

public final class ServletConfigImpl
extends Object
implements ServletConfig


Constructor Summary
ServletConfigImpl(String name, ServletContext context,  initParams)
           
 
Method Summary
 String getInitParameter(String name)
          Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.
 Enumeration getInitParameterNames()
          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.
 ServletContext getServletContext()
          Returns a reference to the ServletContext in which the caller is executing.
 String getServletName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletConfigImpl

public ServletConfigImpl(String name,
                         ServletContext context,
                          initParams)
Method Detail

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 © 2011 Apache Software Foundation. All Rights Reserved.