cfboom.http.HttpMessagecfboom.http.HttpRequest
A request message from a client to a server includes, within the first line of that message, the method to be applied to the resource, the identifier of the resource, and the protocol version in use.
Method Summary | |
---|---|
string
|
getMethod()
Returns the HTTP method this request uses, such as {@code GET},. |
string
|
getName()
|
any
|
getURI()
Returns the URI this request uses, such as. |
Methods inherited from class cfboom.http.HttpMessage |
---|
addHeader, containsHeader, getAllHeaders, getContentEncoding, getContentLength, getContentType, getFirstHeader, getHeaders, getLastHeader, removeHeaders, setHeader, setHeaders |
Method Detail |
---|
Returns the HTTP method this request uses, such as {@code GET}, {@code PUT}, {@code POST}, or other.
Returns the URI this request uses, such as {@code http://example.org/path/to/file}.
Note that the URI may be absolute URI (as above) or may be a relative URI.
Implementations are encouraged to return the URI that was initially requested.
To find the final URI after any redirects have been processed, please see the section entitled HTTP execution context in the HttpClient Tutorial