JML

javax.servlet
Class GenericServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig
Direct Known Subclasses:
HttpServlet

public abstract class GenericServlet
extends Object
implements Servlet, ServletConfig, Serializable


Class Specifications

Specifications inherited from class Object
represents objectState <- org.jmlspecs.lang.JMLDataGroup.IT;
public represents _getClass <- \typeof(this);

Model Field Summary
 
Model fields inherited from class java.lang.Object
_getClass, objectState, theString
 
Ghost Field Summary
 
Ghost fields inherited from class java.lang.Object
objectTimesFinalized, owner
 
Constructor Summary
GenericServlet()
           
 
Model Method Summary
 
Model methods inherited from class java.lang.Object
hashValue
 
Method Summary
 void destroy()
           
 String getInitParameter(non_null String name)
           
 Enumeration getInitParameterNames()
           
 ServletConfig getServletConfig()
           
 ServletContext getServletContext()
           
 String getServletInfo()
           
 String getServletName()
           
 void init()
           
 void init(non_null ServletConfig config)
           
 void log(non_null String msg)
           
 void log(non_null String message, non_null Throwable t)
           
abstract  void service(non_null ServletRequest req, non_null ServletResponse res)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericServlet

public GenericServlet()
Method Detail

destroy

public void destroy()
Specified by:
destroy in interface Servlet
Specifications inherited from overridden method in interface Servlet:
      --- None ---

getInitParameter

public String getInitParameter(non_null String name)
Specified by:
getInitParameter in interface ServletConfig
Specifications: nullable
Specifications inherited from overridden method in interface ServletConfig:
       nullable

getInitParameterNames

public Enumeration getInitParameterNames()
Specified by:
getInitParameterNames in interface ServletConfig
Specifications: non_null
Specifications inherited from overridden method in interface ServletConfig:
       non_null

getServletConfig

public ServletConfig getServletConfig()
Specified by:
getServletConfig in interface Servlet
Specifications: non_null
Specifications inherited from overridden method in interface Servlet:
       non_null

getServletContext

public ServletContext getServletContext()
Specified by:
getServletContext in interface ServletConfig
Specifications: non_null
Specifications inherited from overridden method in interface ServletConfig:
       non_null

getServletInfo

public String getServletInfo()
Specified by:
getServletInfo in interface Servlet
Specifications: non_null
Specifications inherited from overridden method in interface Servlet:
       non_null

init

public void init(non_null ServletConfig config)
          throws ServletException
Specified by:
init in interface Servlet
Throws:
ServletException
Specifications inherited from overridden method in interface Servlet:
      --- None ---

init

public void init()
          throws ServletException
Throws:
ServletException

log

public void log(non_null String msg)

log

public void log(non_null String message,
                non_null Throwable t)

service

public abstract void service(non_null ServletRequest req,
                             non_null ServletResponse res)
                      throws ServletException,
                             IOException
Specified by:
service in interface Servlet
Throws:
ServletException
IOException
Specifications inherited from overridden method in interface Servlet:
      --- None ---

getServletName

public String getServletName()
Specified by:
getServletName in interface ServletConfig
Specifications: non_null
Specifications inherited from overridden method in interface ServletConfig:
       non_null

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.