public class ServletIntegrator extends Integrator implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LISAINTEGRATION_HTTP_HDR_KEY |
static java.lang.String |
LISAINTEGRATION_URL_ON |
static java.lang.String |
LISAINTTAG |
static java.lang.String |
SESSION_HTTP_HEADER_KEY |
static java.lang.String |
SESSIONID_KEY |
ATTRIBS_TAG, curTrans, immutable, INTEGRATOR_TAG, TRANSACTION_TAG, transactions, VERSION
Modifier | Constructor and Description |
---|---|
protected |
ServletIntegrator(java.lang.String params) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getLisaParams(javax.servlet.http.HttpServletRequest req)
Only subclasses of this class will need this method...
|
static ServletIntegrator |
getServletIntegrator(javax.servlet.http.HttpServletRequest req)
Servlet authors will need a handle to this persistent and auto-created
object in order to report to Lisa.
|
java.lang.String |
getSessionId()
Will return the session ID that has been saved for this Integrator
|
static java.lang.String |
getSessionIDFromLisa(javax.servlet.http.HttpServletRequest req) |
static boolean |
isLisaOn(javax.servlet.http.HttpServletRequest req)
This method figures out if Lisa Integrator support has been turned
on.
|
void |
report(java.io.OutputStream sos)
Gotta call this method!
|
void |
report(java.io.Writer w) |
void |
setSessionId(java.lang.String sid)
Allows the servlet author to explicitly set the session ID.
|
fromXML, fromXML, getAttribute, getBool, getCurTrans, getLisaIntegrator, getTransactionList, isDebug, isLogCompContent, isLogTrace, putAttribute, reset, setDebug, setImmutable, setLogCompContent, setLogTrace, startTransaction, toPrettyXML, toString, toXML, toXML
public static final java.lang.String SESSION_HTTP_HEADER_KEY
public static final java.lang.String LISAINTTAG
public static final java.lang.String LISAINTEGRATION_HTTP_HDR_KEY
public static final java.lang.String LISAINTEGRATION_URL_ON
public static final java.lang.String SESSIONID_KEY
public static java.lang.String getLisaParams(javax.servlet.http.HttpServletRequest req)
req
- - the servlet requestpublic static boolean isLisaOn(javax.servlet.http.HttpServletRequest req)
req
- the request for the current servlet invocationpublic static java.lang.String getSessionIDFromLisa(javax.servlet.http.HttpServletRequest req)
public static ServletIntegrator getServletIntegrator(javax.servlet.http.HttpServletRequest req)
req
- - the servlet request for the currently running servletpublic java.lang.String getSessionId()
public void setSessionId(java.lang.String sid)
sid
- the session ID you want rememberedpublic void report(java.io.OutputStream sos)
public void report(java.io.Writer w)
Copyright © 1998-2014 CA, Inc. All Rights Reserved.