www.element4solution.com

e4s
Class E4HttpServlet

java.lang.Object
  extended by HttpServlet
      extended by e4s.E4HttpServlet

public class E4HttpServlet
extends HttpServlet

Main class defined as servlet, when running as servlet (e.g. Tomcat).

Since:
JDK 1.4
See Also:
$LastChangedDate: 2010-05-21 16:36:28 +0200 (Fr, 21 Mai 2010) $ $LastChangedRevision: 6448 $ $LastChangedBy: robert $

Field Summary
static long m_servlet_started
           
 
Constructor Summary
E4HttpServlet()
          This is the default constructor for your application.
E4HttpServlet(java.lang.String application)
          This is the constructor for your application including an application header.
 
Method Summary
static java.lang.String _getSVNVersionString()
           
 void destroy()
           
 void doGet(HttpServletRequest req, HttpServletResponse res)
           
 void doPost(HttpServletRequest req, HttpServletResponse res)
           
 void finalize()
           
static java.util.Date getServletStartingTime()
          Get the starting time of the servlet
 void init()
          This initializes the servlet.
 void init(boolean add_mainmenu_item_tutorial, boolean add_mainmenu_item_about_e4s)
          This initializes the servlet.
static boolean isObfuscated()
          Check, if the E4S framework modules are obfuscated.
 void start()
           
protected  void TRACE(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_servlet_started

public static long m_servlet_started
Constructor Detail

E4HttpServlet

public E4HttpServlet()
This is the default constructor for your application.


E4HttpServlet

public E4HttpServlet(java.lang.String application)
This is the constructor for your application including an application header.

Method Detail

init

public void init()
This initializes the servlet. Either init() or init(boolean,boolean) must be called first in the public void init() method of your servlet which will be called by the tomcat server upon startup.

See Also:
init(boolean,boolean)

init

public void init(boolean add_mainmenu_item_tutorial,
                 boolean add_mainmenu_item_about_e4s)
This initializes the servlet. Either init() or init(boolean,boolean) must be called first in the public void init() method of your servlet which will be called by the tomcat server upon startup.

Parameters:
add_mainmenu_item_tutorial - normally, this is set to false, otherwise the E4S tutorial will be included
add_mainmenu_item_about_e4s - normally, this is set to false, otherwise some "about E4S" information will be included
See Also:
init()

start

public void start()

doPost

public void doPost(HttpServletRequest req,
                   HttpServletResponse res)
            throws ServletException,
                   java.io.IOException
Throws:
ServletException
java.io.IOException

doGet

public void doGet(HttpServletRequest req,
                  HttpServletResponse res)
           throws ServletException,
                  java.io.IOException
Throws:
ServletException
java.io.IOException

getServletStartingTime

public static java.util.Date getServletStartingTime()
Get the starting time of the servlet


isObfuscated

public static boolean isObfuscated()
Check, if the E4S framework modules are obfuscated.

Returns:
true if obfuscated

TRACE

protected void TRACE(java.lang.Object obj)

finalize

public void finalize()
              throws java.lang.Throwable
Throws:
java.lang.Throwable

destroy

public void destroy()

_getSVNVersionString

public static java.lang.String _getSVNVersionString()

www.element4solution.com