Namespace: OpenEdge.Net.HTTP
Class
HttpRequest
Parent classes:
Inherits: OpenEdge.Net.HTTP.HttpMessage
Implements: OpenEdge.Net.HTTP.IHttpRequest

Copyright (c) 2014-2016 by Progress Software Corporation. All rights reserved.
File:HttpRequest
Purpose:Contains an HTTP Request per RFC2616 and friends
Author(s):pjudge
Created:Wed Dec 18 13:24:00 EST 2013




Method Summary
Options Name Purpose
ClearCookies () /** Removes all cookies from this request */
Initialize () /** Initialiser */
RemoveCookie (character) /** Removes cookies from this message for a given name @param character The name of the cookie(s) to remove. */
SetCookie (Cookie) /** Adds a cookie to this request @param Cookie The cookie to add. */
SetHost (URI) /** Sets the Host header based on the request's URI */

Constructor Summary
Options Name Purpose
HttpRequest () /** Default constructor */
HttpRequest (character, URI) /** Constructor. @param character The method/verb for this request @param URI The target resource for this request */
HttpRequest (MethodEnum, URI) /** Constructor. @param MethodEnum The method/verb for this request @param URI The target resource for this request */

Property Summary
Options Name Purpose
CHARACTER Method /** (mandatory) GET/PUT/POST etc. Defaults to GET. */
OpenEdge.Net.URI URI /** (mandatory) The URI to request eg. http://progress.com/ */


Method Detail
Top

ClearCookies ()

Purpose: Removes all cookies from this request
Top

Initialize ()

Purpose: Initialiser
Top

RemoveCookie (character)

Purpose: Removes cookies from this message for a given name
Parameters:
pcName CHARACTER
Top

SetCookie (Cookie)

Purpose: Adds a cookie to this request
Parameters:
poCookie OpenEdge.Net.HTTP.Cookie
Top

SetHost (URI)

Purpose: Sets the Host header based on the request's URI
Parameters:
poUri OpenEdge.Net.URI


Constructor Detail
Top

HttpRequest ()

Purpose: Default constructor
Top

HttpRequest (character, URI)

Purpose: Constructor.
Parameters:
pcMethod CHARACTER
poURI OpenEdge.Net.URI
Top

HttpRequest (MethodEnum, URI)

Purpose: Constructor.
Parameters:
poMethod OpenEdge.Net.HTTP.MethodEnum
poURI OpenEdge.Net.URI


Property Detail
Top

CHARACTER Method

Purpose: (mandatory) GET/PUT/POST etc. Defaults to GET.
Returns CHARACTER
Top

OpenEdge.Net.URI URI

Purpose: (mandatory) The URI to request eg. http://progress.com/
Returns OpenEdge.Net.URI


Copyright © 2017 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7