|
IP*Works! V8 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--ipworks.HTTPCookie
An HTTP cookie either sent to or received from the server.
An HTTP cookie can store the cookies that are to be sent to the server. It may also store the cookies set by the server.
Cookies that are to be sent to the server must have the Name and Value fields supplied prior to submitting
the URL . However, when the SetCookie event is fired,
all of the fields of an HTTPCookie are filled out
accordingly.
The following is a list of all of the fields and their descriptions for this type:
Domain:
The domain of a received cookie.
The Domain field contains a domain name to limit
the cookie to (if provided by the server). If the server
does not provide a domain name, the Domain field will
be an empty string. The convention in this case is to use
the server name specified by URLServer as the cookie domain.
Expiration:
The Expiration field contains an expiration time
for the cookie (if provided by the server). The
time format used is "Weekday, DD-Mon-YY HH:MM:SS GMT".
If the server does not provide an expiration time,
the Expiration field will be an empty string. The
convention is to drop the cookie at the end of the
session.
Name: The name of the cookie.
Name and Value store the cookie that is
to be sent to the server. The SetCookie event
displays the cookies set by the server and their
properties.
Path:
The Path field contains a path name to limit the
cookie to (if provided by the server). If the server
does not provide a cookie path, the path field
will be an empty string. The convention in this case
is to use the path specified by URLPath as the cookie
path.
Secure:
The security flag of the received cookie. The Secure field specifies whether the cookie is secure. If the value
of this field is True, the cookie value must be submitted
through a secure (HTTPS) connection only.
Value:
The value of the Cookie. The cookie specified by Name has a corresponding value associated with
it. This property holds that value.
The SetCookie event provides the cookies set by
the server.
Atom,
Atom.HTTPCookie| Constructor Summary | |
HTTPCookie()
|
|
HTTPCookie(java.lang.String name,
java.lang.String value)
|
|
| Method Summary | |
java.lang.String |
getDomain()
|
java.lang.String |
getExpiration()
|
java.lang.String |
getName()
|
java.lang.String |
getPath()
|
boolean |
getSecure()
|
java.lang.String |
getValue()
|
void |
setName(java.lang.String value)
|
void |
setValue(java.lang.String value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HTTPCookie()
public HTTPCookie(java.lang.String name,
java.lang.String value)
| Method Detail |
public java.lang.String getDomain()
public java.lang.String getExpiration()
public java.lang.String getName()
public void setName(java.lang.String value)
public java.lang.String getPath()
public boolean getSecure()
public java.lang.String getValue()
public void setValue(java.lang.String value)
|
IP*Works! V8 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||