- releaseConnection
Releases the connection being used by this HTTP method. In particular the
connection is used to read
- getResponseBodyAsStream
Returns the response body of the HTTP method, if any, as an InputStream. If
response body is not ava
- getResponseHeader
Gets the response header associated with the given name. Header name matching is
case insensitive. n
- addRequestHeader
Adds the specified request header, NOT overwriting any previous value. Note that
header-name matchin
- setRequestHeader
Sets the specified request header, overwriting any previous value. Note that
header-name matching is
- getParams
Returns HttpMethodParams associated with this method.
- getResponseCharSet
Returns the character encoding of the response from the Content-Type header.
- setQueryString
Sets the query string of this HTTP method. The pairs are encoded as UTF-8
characters. To use a diffe
- getStatusText
Returns the status text (or "reason phrase") associated with the latest
response.
- getName
Obtains the name of the HTTP method as used in the HTTP request line, for
example "GET" or "POST".
- getResponseContentLength
Return the length (in bytes) of the response body, as specified in a
Content-Length header. Return -
- getResponseHeaders