|
|
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. */ |
|||||
|
SetHeader (HttpHeader) |
/** Adds header info to this message's collection of headers.
@param character The header name
@param character The complete header value */ |
Options | Name | Purpose | |||||
---|---|---|---|---|---|---|---|
|
HttpMessage () |
/** Default constructor. */ |
Options | Name | Purpose | |||||
---|---|---|---|---|---|---|---|
|
CHARACTER CharacterEncoding |
/** The message's content type encoding (eg charset='utf-8'). For more detail, see
http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7 */ |
|||||
|
INTEGER ContentLength |
/** The length (in bytes/characters) of the payload/entity. */ |
|||||
|
RAW ContentMD5 |
/** An MD5 hash of the message's content. */ |
|||||
|
CHARACTER ContentType |
/** The message's content type (eg text/html). For more detail, see
http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7 */ |
|||||
|
OpenEdge.Core.Collections.IStringKeyedMap Cookies |
/** Only cookies relevant to only this message (request or response) */ |
|||||
|
Progress.Lang.Object Entity |
/** Object containing the response body/entity.
The object can be of any type, which may depend on the content type
and the body filters it passes through. */ |
|||||
|
OpenEdge.Net.HTTP.HttpHeaderCollection Headers |
/** Holds headers for this message */ |
|||||
|
CHARACTER TransferEncoding |
/** The message's Transfer-Encoding. For more detail, see
http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.6
This property does not use the same mechanism that the ContentType does,
since the header name used depends on whether this is a request or response. */ |
|||||
|
CHARACTER Version |
/** The HTTP version supported. Typically HTTP/1.1 */ |
Top
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)
|
||||||||||||||||||||||
SetHeader (HttpHeader)
|
HttpMessage ()
|
---|
CHARACTER CharacterEncoding
|
|||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
INTEGER ContentLength
|
|||||||||||||||||
RAW ContentMD5
|
|||||||||||||||||
CHARACTER ContentType
|
|||||||||||||||||
OpenEdge.Core.Collections.IStringKeyedMap Cookies
|
|||||||||||||||||
Progress.Lang.Object Entity
|
|||||||||||||||||
OpenEdge.Net.HTTP.HttpHeaderCollection Headers
|
|||||||||||||||||
CHARACTER TransferEncoding
|
|||||||||||||||||
CHARACTER Version
|
Progress® OpenEdge® Release 11.7