|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdesktop.beans.AbstractBean
org.jdesktop.http.NameValuePair
org.jdesktop.http.Cookie
public class Cookie
Doesn't yet support Cookie2.
| Constructor Summary | |
|---|---|
Cookie()
|
|
| Method Summary | |
|---|---|
String |
getComment()
|
String |
getDomain()
|
int |
getMaxAge()
|
String |
getPath()
|
int |
getVersion()
|
boolean |
isSecure()
|
static Cookie |
parseCookie(String s)
|
void |
setComment(String comment)
|
void |
setDomain(String domain)
|
void |
setMaxAge(int age)
|
void |
setPath(String path)
|
void |
setSecure(boolean secure)
|
void |
setVersion(int version)
|
String |
toString()
Returns a string representation of the object. |
| Methods inherited from class org.jdesktop.http.NameValuePair |
|---|
clone, getName, getValue, setName, setValue |
| Methods inherited from class org.jdesktop.beans.AbstractBean |
|---|
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Cookie()
| Method Detail |
|---|
public void setComment(String comment)
public String getComment()
public void setDomain(String domain)
public String getDomain()
public void setMaxAge(int age)
public int getMaxAge()
public void setPath(String path)
public String getPath()
public void setSecure(boolean secure)
public boolean isSecure()
public void setVersion(int version)
public int getVersion()
public String toString()
java.lang.ObjecttoString method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString in class NameValuePair
public static Cookie parseCookie(String s)
throws RuntimeException
RuntimeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||