|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.ibm.btt.base.TraceLog
public class TraceLog
This servlet sends trace lines to Web Server logs.
Field Summary | |
---|---|
protected static java.lang.String |
defaultPort
|
protected static int |
hostPort
|
protected static TraceLog |
servlet
|
protected static int |
TraceLogLoaded
|
Constructor Summary | |
---|---|
TraceLog()
This is the default constructor used to create a TraceLog object. |
Method Summary | |
---|---|
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
This method is called by the servlet engine automatically. |
static int |
getPort()
Returns the port of the host where it is listening. |
static void |
initialize()
This method initializes the object and it's default data. |
static void |
setPort(int port)
Sets the port where the host is listening. |
void |
trace(java.lang.String text)
Writes a string to the http server log. |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
doDelete, doGet, doHead, doOptions, 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 |
Field Detail |
---|
protected static TraceLog servlet
protected static final int TraceLogLoaded
protected static final java.lang.String defaultPort
protected static int hostPort
Constructor Detail |
---|
public TraceLog()
Method Detail |
---|
public void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
req
- javax.servlet.http.HttpServletRequestres
- javax.servlet.http.HttpServletResponse
java.io.IOException
public static int getPort()
public static void initialize()
public static void setPort(int port)
port
- intpublic void trace(java.lang.String text)
text
- java.lang.String
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |