com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web
Class BaseAsynchServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.ibm.websphere.samples.asynchbeans.wstrader.tickstream.web.BaseAsynchServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- Direct Known Subclasses:
- LoginServlet, LogoutServlet, PingServlet, StreamingServlet, UpdateServlet
public class BaseAsynchServlet
- extends javax.servlet.http.HttpServlet
- See Also:
- Serialized Form
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, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseAsynchServlet
public BaseAsynchServlet()
init
public void init()
- Initialize the servlet. Just get a reference to our Application State object.
- Overrides:
init
in class javax.servlet.GenericServlet
- See Also:
GenericServlet.init()
getClientState
public StreamClientState getClientState(java.lang.String loginid)
createClientState
public StreamClientState createClientState(java.lang.String loginid)
setTextResponse
public void setTextResponse(javax.servlet.http.HttpServletResponse resp,
boolean flushbuffer)
throws java.io.IOException
- Throws:
java.io.IOException
getCookieValue
public java.lang.String getCookieValue(javax.servlet.http.Cookie[] cookies,
java.lang.String cookieName,
java.lang.String cookieKey)
- Returns a cookie value for a given array of cookies, a cookie name and a key.