ipworks
Class HttpSetCookieEvent
java.lang.Object
|
+--java.util.EventObject
|
+--ipworks.HttpSetCookieEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class HttpSetCookieEvent
- extends java.util.EventObject
Fired for every cookie set by the server.
The SetCookie
event is fired for every "Set-Cookie:" header
received by the HTTP server.
The Name parameter contains the name of the cookie,
with the corresponding value supplied in the Value parameter.
The Expires parameter 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 Expires parameter
will be an empty string. The convention is to
drop the cookie at the end of the session.
The Domain parameter 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 parameter will be
an empty string. The convention in this case is to to use the server
name specified URLServer
as the cookie domain.
The Path parameter 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 parameter will be
an empty string. The convention in this case is to to use the path
specified URLPath
as the cookie path.
The Secure parameter specifies whether the cookie is secure.
If the value of this parameter is True, the cookie value
must be submitted through a secure (HTTPS) connection only.
- See Also:
Http
,
Http.fireSetCookie
, Serialized Form
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
name
public java.lang.String name
value
public java.lang.String value
expires
public java.lang.String expires
domain
public java.lang.String domain
path
public java.lang.String path
secure
public boolean secure
Copyright (c) 2001 /n software inc. - All rights reserved.