|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.experlog.base.ESCookie
public class ESCookie
A client cookie
Field Summary | |
---|---|
protected double |
lastmodified_
|
Constructor Summary | |
---|---|
ESCookie(OpenClient session,
javax.servlet.http.HttpServletRequest req,
boolean usecookies,
java.lang.String persistDs,
int maxage)
|
Method Summary | |
---|---|
void |
clear()
For use upon end of session Do NOT persist the cookie when cleared in that situation ! |
protected void |
finalize()
|
void |
fromHttpSession(javax.servlet.http.HttpSession s,
AppConfiguration cnf,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse rsp)
Exchange method (from HttpSession to this class) |
java.lang.String |
get(java.lang.String name)
|
java.util.Hashtable |
getInfo()
MBean method get all attributes |
java.lang.Object |
getObject(java.lang.String name)
|
void |
removeObject(java.lang.String name)
|
void |
set(java.lang.String name,
java.lang.Object val)
|
void |
setCookie(ESServletRequest req)
|
void |
setCookie(javax.servlet.http.HttpServletRequest req)
|
void |
setInfo(java.util.Hashtable info)
MBean method set all attributes |
protected void |
setLastModified(double date)
|
void |
setObject(java.lang.String name,
java.lang.Object obj)
|
protected void |
setSession(OpenClient session)
|
void |
toHttpSession(javax.servlet.http.HttpSession s)
Exchange method (from this class to HttpSession) |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected double lastmodified_
Constructor Detail |
---|
public ESCookie(OpenClient session, javax.servlet.http.HttpServletRequest req, boolean usecookies, java.lang.String persistDs, int maxage) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
protected void setSession(OpenClient session) throws java.sql.SQLException
java.sql.SQLException
protected void setLastModified(double date)
public void setCookie(javax.servlet.http.HttpServletRequest req) throws java.sql.SQLException
setCookie
in interface Cookie
java.sql.SQLException
public void setCookie(ESServletRequest req) throws java.sql.SQLException
setCookie
in interface Cookie
java.sql.SQLException
public java.lang.String get(java.lang.String name) throws java.sql.SQLException
get
in interface DataObject
get
in interface Cookie
java.sql.SQLException
public void set(java.lang.String name, java.lang.Object val) throws java.sql.SQLException
set
in interface Cookie
java.sql.SQLException
public void clear()
protected void finalize()
finalize
in class java.lang.Object
public void toHttpSession(javax.servlet.http.HttpSession s) throws java.sql.SQLException
toHttpSession
in interface Cookie
java.sql.SQLException
public void fromHttpSession(javax.servlet.http.HttpSession s, AppConfiguration cnf, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp) throws java.sql.SQLException
fromHttpSession
in interface Cookie
java.sql.SQLException
public java.util.Hashtable getInfo()
getInfo
in interface Cookie
public void setInfo(java.util.Hashtable info)
setInfo
in interface Cookie
public void setObject(java.lang.String name, java.lang.Object obj) throws java.sql.SQLException
java.sql.SQLException
public java.lang.Object getObject(java.lang.String name) throws java.sql.SQLException
java.sql.SQLException
public void removeObject(java.lang.String name) throws java.sql.SQLException
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |