public class SupplierCookieTable
extends java.util.Hashtable
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field
|
static java.lang.String |
PLUS_STRING_CONSTANT
Value of '+' as a string.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(java.lang.Object arg0) |
java.lang.Object |
get(java.lang.Object arg0) |
BuyerRequestInfo |
get(java.lang.String e_supplierCookie)
This method retrieves the buyer information from the cookie table using a supplier cookie.
|
static SupplierCookieTable |
getInstance()
This method gets the singleton instance to obtain a handle to
the supplier cookie table.
|
java.util.Enumeration |
keys() |
java.lang.String |
put(BuyerRequestInfo requestInfo)
This method creates a new supplier cookie and adds the buyer information into
the cookie table.
|
java.lang.Object |
put(java.lang.Object arg0,
java.lang.Object arg1) |
java.lang.Object |
remove(java.lang.Object arg0) |
int |
size() |
java.lang.String |
toString() |
public static final java.lang.String COPYRIGHT
public static final java.lang.String PLUS_STRING_CONSTANT
public BuyerRequestInfo get(java.lang.String e_supplierCookie) throws java.lang.Exception
Note : this method is thread safe as it is synchronized
e_supplierCookie
- the encrypted supplier cookie.java.lang.Exception
- raised when an error is encountered.public static SupplierCookieTable getInstance()
public java.lang.String put(BuyerRequestInfo requestInfo)
Note : this method is thread safe as it is synchronized
requestInfo
- the buyer request information.public boolean containsKey(java.lang.Object arg0)
containsKey
in interface java.util.Map
containsKey
in class java.util.Hashtable
public java.lang.Object get(java.lang.Object arg0)
get
in interface java.util.Map
get
in class java.util.Hashtable
public java.lang.Object put(java.lang.Object arg0, java.lang.Object arg1)
put
in interface java.util.Map
put
in class java.util.Hashtable
public java.lang.Object remove(java.lang.Object arg0)
remove
in interface java.util.Map
remove
in class java.util.Hashtable
public java.lang.String toString()
toString
in class java.util.Hashtable
public java.util.Enumeration keys()
keys
in class java.util.Hashtable
public int size()
size
in interface java.util.Map
size
in class java.util.Hashtable
public void clear()
clear
in interface java.util.Map
clear
in class java.util.Hashtable