cfboom.http

Interface HttpRequest

cfboom.http.HttpMessage
    extended by cfboom.http.HttpRequest
All Known Implementing Classes:
BasicHttpRequest

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.

Class Attributes:
  • cfboom : Joel Tobey
  •  
  • displayname : Interface HttpRequest
  •  
    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

    getMethod

    public string getMethod()

    Returns the HTTP method this request uses, such as {@code GET}, {@code PUT}, {@code POST}, or other.


    getName

    public string getName()


    getURI

    public any getURI()

    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