Interface java.servlet.ServletStub
All Packages Class Hierarchy This Package Previous Next Index
Interface java.servlet.ServletStub
- public interface ServletStub
- extends Object
This interface is used by the server to pass initialization information
to a servlet when it is first loaded. It contains methods to get the
context in which the servlet is running, as well as any initialization
parameters that may have been being passed to the servlet at startup.
-
getInitParameter(String)
- Gets an initialization parameter of the servlet.
-
getInitParameters()
- Returns a hashtable of initialization parameters for the servlet.
-
getServletContext()
- Returns the context for the servlet.
getServletContext
public abstract ServletContext getServletContext()
- Returns the context for the servlet.
getInitParameter
public abstract String getInitParameter(String name)
- Gets an initialization parameter of the servlet.
- Parameters:
- name - the parameter name
getInitParameters
public abstract Hashtable getInitParameters()
- Returns a hashtable of initialization parameters for the servlet.
All Packages Class Hierarchy This Package Previous Next Index