org.mmbase.servlet
Class performance
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--javax.servlet.http.HttpServlet
|
+--org.mmbase.servlet.JamesServlet
|
+--org.mmbase.servlet.performance
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- 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).
- See Also:
- Serialized Form
|
Method Summary |
java.lang.String |
getServletInfo()
Info method, provides the user/server with some basic info on
this Servlet |
void |
init(javax.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, isInternalVPROAddress |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doOptions, doPost, doPut, doTrace, getLastModified, service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
performance
public performance()
init
public void init(javax.servlet.ServletConfig config)
throws javax.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 javax.servlet.ServletException,
java.io.IOException
- service call will be called by the server when a request is done
by a user.
- Overrides:
service in class javax.servlet.http.HttpServlet
getServletInfo
public java.lang.String getServletInfo()
- Info method, provides the user/server with some basic info on
this Servlet
- Overrides:
getServletInfo in class javax.servlet.GenericServlet
MMBase 2001