The HttpClient type exposes the following members.
Methods
Name | Description | |
---|---|---|
delete |
Perform an HTTP DELETE request for the given resource.
|
|
Equals |
Determines whether the specified object is equal to the current object. (Inherited from Object.) |
|
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
getT |
Perform an HTTP GET request, parsing the JSON response to create a
new object.
|
|
getBaseUrl | ||
getForUpdate |
Perform an HTTP GET request, parsing the JSON response to update
the state of an existing object.
|
|
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
getRedirect |
Perform an HTTP GET request on a URL whose response is expected to
be a 3xx redirection, and return the target redirection URL.
|
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
postT | ||
postForUpdate |
Perform an HTTP POST request, parsing the JSON response to update
the state of an existing object.
|
|
readError |
Read an error response from the given connection and throw a
suitable {@link HttpClientException}. This method always throws an
exception, it will never return normally.
|
|
readResponseOrErrorT(HttpWebResponse, T) |
Read a response or error message from the given connection,
handling any 303 redirect responses.
|
|
readResponseOrErrorT(HttpWebResponse, T, Boolean) |
Read a response or error message from the given connection,
handling any 303 redirect responses if
followRedirects |
|
readResponseOrErrorForUpdateT |
Read a response or error message from the given connection, and
update the state of the given object.
|
|
requestT |
Make an API request and parse the JSON response into a new object.
|
|
requestForStream |
Make an API request and return the raw data from the response as an
InputStream.
|
|
requestForUpdate |
Make an API request and parse the JSON response, using the response
to update the state of an existing object.
|
|
sendRequest |
Handles the sending side of an HTTP request, returning a connection
from which the response (or error) can be read.
|
|
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
See Also