OpenEdge.Net.HTTP.HttpMessage
- Last Updated: January 15, 2026
- 4 minute read
- OpenEdge
- Version 12.8
- Documentation
|
Method Summary
| Options | Name | Purpose | |
|---|---|---|---|
| ClearCookies () |
/** Removes all cookies from this message */
|
||
| ClearHeaders () |
/** Removes all headers from this message */
|
||
| Destroy () |
|
||
| Progress.Lang.Object GetAdapter (Class) |
/* Returns an adapter for this message
@param P.L.Class The type we want to adapt this message to
@return P.L.Object The adapter. Will typically be of the type specified by the input argument */
|
||
| OpenEdge.Net.HTTP.Cookie GetCookie (character) |
/** Returns a cookie by name from this message. Typically
returns the first cookie it finds by name, oif more than
one exist
@param character The cookie's name to check
@return Cookie The (first) cookie found by name */
|
||
| INTEGER GetCookies (Cookie[]) |
/** Returns all the cookies for this message
@param Cookie[] An array of cookies
@return integer The number of cookies returned */
|
||
| OpenEdge.Net.HTTP.HttpHeader GetHeader (character) |
/** Returns a named header
@param character The name of the header to retrieve
@return HttpHeader The header object. Null if not exists. */
|
||
| INTEGER GetHeaders (HttpHeader[]) |
/** Returns all the headers (Names and values)
@param HttpHeader[] An array of headers
@return integer The number of headers returned */
|
||
| LOGICAL HasCookie (character) |
/** Indicates whether a cookie exists for this message
@param character The cookie's name to check
@return logical TRUE if this message contains the cookie */
|
||
| LOGICAL HasCookie (Cookie) |
/** Indicates whether a cookie exists for this message
@param Cookie The cookie to check
@return logical True if this message contains the cookie */
|
||
| LOGICAL HasHeader (character) |
/** Indicates whether a header exists for this message or not.
@param character The name of a header to check
@return logical True if this message contains the header */
|
||
| Initialize () |
|
||
| RemoveCookie (character) |
/** Removes cookies from this message for a given name
@param character The name of the cookie(s) to remove. */
|
||
| RemoveCookie (Cookie) |
/** Removes a cookie from this request
@param Cookie The cookie to remove. */
|
||
| RemoveHeader (character) |
/** Removes a header from the collection of message headers.
No-op if none exists.
This implementation sets the value of the header to ?/unknown,
passes it down the filter chain, and then removes it from the
header collection.
@param character The name of the header to remove */
|
||
| SetCookie (Cookie) |
/** Adds a cookie to this request
@param Cookie The cookie to add. */
|
||
| SetCookies (Cookie[]) |
/** Adds cookies to this message
@param Cookie[] An array of cookies to add. */
|
||
| SetHeader (HttpHeader) |
/** Adds header info to this message's collection of headers.
@param character The header name
@param character The complete header value */
|
||
| SetHeaders (HttpHeader[]) |
/** Adds a set of header info to this message's collection of headers.
@param HttpHeader[] An array of headers */
|
Constructor Summary
| Options | Name | Purpose | |
|---|---|---|---|
| HttpMessage () |
/** Default constructor. */
|
Property Summary
| Options | Name | Purpose | |
|---|---|---|---|
| CHARACTER CharacterEncoding |
|
||
| INT64 ContentLength |
|
||
| RAW ContentMD5 |
|
||
| CHARACTER ContentType |
|
||
| OpenEdge.Core.Collections.IStringKeyedMap Cookies |
|
||
| Progress.Lang.Object Entity |
|
||
| OpenEdge.Net.HTTP.HttpHeaderCollection Headers |
|
||
| CHARACTER TransferEncoding |
|
||
| CHARACTER Version |
|
Method Detail
ClearCookies ()
|
||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ClearHeaders ()
|
||||||||||||||||||||
Destroy () |
||||||||||||||||||||
Progress.Lang.Object GetAdapter (Class)
|
||||||||||||||||||||
OpenEdge.Net.HTTP.Cookie GetCookie (character)
|
||||||||||||||||||||
INTEGER GetCookies (Cookie[])
|
||||||||||||||||||||
OpenEdge.Net.HTTP.HttpHeader GetHeader (character)
|
||||||||||||||||||||
INTEGER GetHeaders (HttpHeader[])
|
||||||||||||||||||||
LOGICAL HasCookie (character)
|
||||||||||||||||||||
LOGICAL HasCookie (Cookie)
|
||||||||||||||||||||
LOGICAL HasHeader (character)
|
||||||||||||||||||||
Initialize () |
||||||||||||||||||||
RemoveCookie (character)
|
||||||||||||||||||||
RemoveCookie (Cookie)
|
||||||||||||||||||||
RemoveHeader (character)
|
||||||||||||||||||||
SetCookie (Cookie)
|
||||||||||||||||||||
SetCookies (Cookie[])
|
||||||||||||||||||||
SetHeader (HttpHeader)
|
||||||||||||||||||||
SetHeaders (HttpHeader[])
|
||||||||||||||||||||
Constructor Detail
HttpMessage ()
|
||||||
|---|---|---|---|---|---|---|
Property Detail
CHARACTER CharacterEncoding
|
||||||||
|---|---|---|---|---|---|---|---|---|
INT64 ContentLength
|
||||||||
RAW ContentMD5
|
||||||||
CHARACTER ContentType
|
||||||||
OpenEdge.Core.Collections.IStringKeyedMap Cookies |
||||||||
Progress.Lang.Object Entity
|
||||||||
OpenEdge.Net.HTTP.HttpHeaderCollection Headers |
||||||||
CHARACTER TransferEncoding
|
||||||||
CHARACTER Version
|
||||||||