|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cometway.props.AbstractPropsContainer
com.cometway.net.CookiePropsContainer
public class CookiePropsContainer
This PropsContainer is used by the HTTPLoader to store cookies
| Constructor Summary | |
|---|---|
CookiePropsContainer()
|
|
CookiePropsContainer(java.lang.String cookie)
|
|
| Method Summary | |
|---|---|
void |
copy(IPropsContainer ipc)
copy the properties in the current container to another container |
protected java.lang.String |
decode(java.lang.String s)
|
protected java.lang.String |
encode(java.lang.String s)
|
java.util.Enumeration |
enumerateProps()
list the properties in the current container |
protected java.lang.String |
getCookie()
|
protected java.lang.Object |
getCookieValue(java.lang.String cookie,
java.lang.String name)
|
java.lang.Object |
getProperty(java.lang.String key)
Returns a reference to a named object. |
boolean |
removeProperty(java.lang.String key)
Removes a named object from the container. |
protected void |
setCookie(java.lang.String cookie)
|
void |
setProperty(java.lang.String key,
java.lang.Object value)
Adds or changes a named object to the one specified. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CookiePropsContainer()
public CookiePropsContainer(java.lang.String cookie)
| Method Detail |
|---|
protected java.lang.String decode(java.lang.String s)
protected java.lang.String encode(java.lang.String s)
protected java.lang.String getCookie()
protected java.lang.Object getCookieValue(java.lang.String cookie,
java.lang.String name)
public java.lang.Object getProperty(java.lang.String key)
IPropsContainer
key - the name of the object to retrieve.
public boolean removeProperty(java.lang.String key)
IPropsContainer
key - the name of the object to remove.
protected void setCookie(java.lang.String cookie)
public void setProperty(java.lang.String key,
java.lang.Object value)
IPropsContainer
key - the name of the object to add or change.value - a reference to the new object.public void copy(IPropsContainer ipc)
IPropsContainer
ipc - the container to be copied into.public java.util.Enumeration enumerateProps()
IPropsContainer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||