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

Inherits: Progress.Lang.Object

Copyright (c) 2014-2017 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)
Cookie (character, character, character, character, integer, datetime-tz, logical, logical, decimal)

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)

Parameters:
pcCookieName CHARACTER
pcDomain CHARACTER
pcPath CHARACTER
pcCookieValue CHARACTER
Top

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

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


Copyright © 2017 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7