com.sun.grizzly.http.servlet
Class ServletConfigImpl

java.lang.Object
  extended by com.sun.grizzly.http.servlet.ServletConfigImpl
All Implemented Interfaces:
ServletConfig

public class ServletConfigImpl
extends Object
implements ServletConfig

Author:
Jeanfrancois Arcand

Constructor Summary
ServletConfigImpl(ServletContextImpl servletContextImpl)
           
 
Method Summary
protected  String findInitParameter(String name)
          Return the value for the specified initialization parameter name, if any; otherwise return null.
 String getInitParameter(String name)
          
 Enumeration getInitParameterNames()
          
 ServletContext getServletContext()
          
 String getServletName()
          
protected  void setServletName(String name)
          Set the name of this servlet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletConfigImpl

public ServletConfigImpl(ServletContextImpl servletContextImpl)
Method Detail

getServletName

public String getServletName()

Specified by:
getServletName in interface ServletConfig

getServletContext

public ServletContext getServletContext()

Specified by:
getServletContext in interface ServletConfig

getInitParameter

public String getInitParameter(String name)

Specified by:
getInitParameter in interface ServletConfig

setServletName

protected void setServletName(String name)
Set the name of this servlet.

Parameters:
name - The new name of this servlet

findInitParameter

protected String findInitParameter(String name)
Return the value for the specified initialization parameter name, if any; otherwise return null.

Parameters:
name - Name of the requested initialization parameter

getInitParameterNames

public Enumeration getInitParameterNames()

Specified by:
getInitParameterNames in interface ServletConfig


Copyright © 2010 SUN Microsystems. All Rights Reserved.