Namespace: OpenEdge.Net.HTTP
Type: Class Cookie
Parent Classes:
Progress.Lang.Object

Inherits: Progress.Lang.Object


Copyright (c) 2014-2017, 2019 by Progress Software Corporation. All rights reserved.
File:Cookie
Purpose:HTTP Cookie class
Author(s):pjudge
Created:Thu May 22 13:17:03 EDT 2014
Notes:* W3C spec at https://tools.ietf.org/html/rfc6265



Method Summary
  Options Name Purpose
  LOGICAL Equals (Object)
  OpenEdge.Net.HTTP.Cookie Parse (character) /** Creates a Cookie object from the string representation of a cookie. @param character The cookie in string form, typically from a HTTP response header. @return Cookie The Cookie object corresponding to that string. */
  CHARACTER ToString ()

Constructor Summary
  Options Name Purpose
  Cookie (character, character, character, character) /* Constructor @param character (mandatory) The cookie name @param character (mandatory) The cookie domain @param character (mandatory) The cookie path @param character (optional) The cookie value */
  Cookie (character, character, character, character, integer, datetime-tz, logical, logical, decimal) /* Constructor @param character (mandatory) The cookie name @param character (mandatory) The cookie domain @param character (mandatory) The cookie path @param character (optional) The cookie value @param integer (optional) The max age of the cookie (time-to-expiry) @param datetime-tz (optional) The date at which the cookie expires @param logical (optional) TRUE if the cookie is secure/https-only @param logical (optional) TRUE if the cookie is HTTP-only @param decimal (optional) The version of the cookie */

Property Summary
  Options Name Purpose
  CHARACTER Domain
  DATETIME-TZ ExpiresAt
  LOGICAL HttpOnly
  INTEGER MaxAge
  CHARACTER Name
  CHARACTER Path
  LOGICAL Secure
  CHARACTER Value
  DECIMAL Version


Method Detail
Top

LOGICAL Equals (Object)

Parameters:
p0 Progress.Lang.Object
 
Returns LOGICAL
 
Top

OpenEdge.Net.HTTP.Cookie Parse (character)

Purpose: Creates a Cookie object from the string representation of a cookie.
response header.
Parameters:
pcCookie CHARACTER
 
Returns OpenEdge.Net.HTTP.Cookie
  Cookie The Cookie object corresponding to that string.
Top

CHARACTER ToString ()

Returns CHARACTER
 


Constructor Detail
Top

Cookie (character, character, character, character)

/* Constructor
Parameters:
pcCookieName CHARACTER
 
pcDomain CHARACTER
 
pcPath CHARACTER
 
pcCookieValue CHARACTER
 
Top

Cookie (character, character, character, character, integer, datetime-tz, logical, logical, decimal)

/* Constructor
Parameters:
pcCookieName CHARACTER
 
pcDomain CHARACTER
 
pcPath CHARACTER
 
pcCookieValue CHARACTER
 
piMaxAge INTEGER
 
ptExpiresAt DATETIME-TZ
 
plSecureOnly LOGICAL
 
plHttpOnly LOGICAL
 
pdVersion DECIMAL
 


Property Detail
Top

CHARACTER Domain

Returns CHARACTER
 
Top

DATETIME-TZ ExpiresAt

Returns DATETIME-TZ
 
Top

LOGICAL HttpOnly

Returns LOGICAL
 
Top

INTEGER MaxAge

Returns INTEGER
 
Top

CHARACTER Name

Returns CHARACTER
 
Top

CHARACTER Path

Returns CHARACTER
 
Top

LOGICAL Secure

Returns LOGICAL
 
Top

CHARACTER Value

Returns CHARACTER
 
Top

DECIMAL Version

Returns DECIMAL