org.objectweb.telosys.common
Class TelosysServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.objectweb.telosys.common.TelosysServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
Console, ConsoleServlet, DAOServlet, FileDownloadServlet, FileUploadServlet, ScreenMapServlet, ScreenRequestServlet, ServiceServlet, VoidServlet

public abstract class TelosysServlet
extends javax.servlet.http.HttpServlet

See Also:
Serialized Form

Constructor Summary
TelosysServlet()
           
 
Method Summary
 void error(java.lang.String sMsg)
          Print a standard error message, using the active loggers
 void error(java.lang.String sMsg, java.lang.Throwable exception)
          Print error messages, using the active loggers
 void error(java.lang.Throwable exception)
          Print an error message, using the active loggers
 boolean getFlagTrace()
          Get the flag "trace" of the instance
 void info(java.lang.String s)
          Print a standard info message, using the active loggers
 void setFlagTrace(boolean bFlag)
          Set the flag "trace" (specific flag for each instance)
 void trace(java.lang.String s)
          Print a standard trace message, using the active loggers (if the trace flag is "true")
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TelosysServlet

public TelosysServlet()
Method Detail

setFlagTrace

public void setFlagTrace(boolean bFlag)
Set the flag "trace" (specific flag for each instance)

Parameters:
bFlag -

getFlagTrace

public boolean getFlagTrace()
Get the flag "trace" of the instance

Returns:

trace

public void trace(java.lang.String s)
Print a standard trace message, using the active loggers (if the trace flag is "true")

Parameters:
s -

error

public void error(java.lang.String sMsg)
Print a standard error message, using the active loggers

Parameters:
sMsg -

error

public void error(java.lang.Throwable exception)
Print an error message, using the active loggers

Parameters:
exception - : the error cause

error

public void error(java.lang.String sMsg,
                  java.lang.Throwable exception)
Print error messages, using the active loggers

Parameters:
sMsg - : the error message
exception - : the error cause

info

public void info(java.lang.String s)
Print a standard info message, using the active loggers

Parameters:
s -