org.mmbase.servlet
Class performance

org.mmbase.servlet.JamesServlet
  |
  +--org.mmbase.servlet.performance

public class performance
extends JamesServlet

Performance Servlet is used for 2 reasons as a basic Servlet test to see if the install went oke (same as SimpleServlet) and to see how fast the JVM is we are running on (very basic test).


Constructor Summary
performance()
           
 
Method Summary
 java.lang.String getServletInfo()
          Info method, provides the user/server with some basic info on this Servlet
 void init(org.mmbase.servlet.ServletConfig config)
          Initializes the servlet.
 void reload()
           
 void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          service call will be called by the server when a request is done by a user.
 
Methods inherited from class org.mmbase.servlet.JamesServlet
debug, decRefCount, finalize, getAddress, getAuthorization, getAuthorization, getCookie, getInitParameters, getModule, getParam, getParamVector, getProperties, getProperty, getRequestURL, incRefCount
 

Constructor Detail

performance

public performance()
Method Detail

init

public void init(org.mmbase.servlet.ServletConfig config)
          throws org.mmbase.servlet.ServletException
Description copied from class: JamesServlet
Initializes the servlet.
Overrides:
init in class JamesServlet
Following copied from class: org.mmbase.servlet.JamesServlet
Parameters:
config - the servlet configuration

reload

public void reload()

service

public void service(javax.servlet.http.HttpServletRequest req,
                    javax.servlet.http.HttpServletResponse res)
             throws org.mmbase.servlet.ServletException,
                    java.io.IOException
service call will be called by the server when a request is done by a user.

getServletInfo

public java.lang.String getServletInfo()
Info method, provides the user/server with some basic info on this Servlet


MMBase 2002