Package | Description |
---|---|
com.google.api.client.http |
Subset of HTTP 1.1 needed from the specification in RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1.
|
com.google.api.client.http.json |
JSON HTTP library based on the pluggable HTTP library.
|
com.google.api.client.testing.http |
Testing utilities used for writing tests based on this library.
|
Modifier and Type | Method and Description |
---|---|
GenericUrl |
GenericUrl.clone() |
GenericUrl |
HttpRequest.getUrl()
Returns the HTTP request URL.
|
Modifier and Type | Method and Description |
---|---|
HttpRequest |
HttpRequestFactory.buildDeleteRequest(GenericUrl url)
Builds a
DELETE request for the given URL. |
HttpRequest |
HttpRequestFactory.buildGetRequest(GenericUrl url)
Builds a
GET request for the given URL. |
HttpRequest |
HttpRequestFactory.buildHeadRequest(GenericUrl url)
Builds a
HEAD request for the given URL. |
HttpRequest |
HttpRequestFactory.buildPatchRequest(GenericUrl url,
HttpContent content)
Deprecated.
|
HttpRequest |
HttpRequestFactory.buildPostRequest(GenericUrl url,
HttpContent content)
Builds a
POST request for the given URL and content. |
HttpRequest |
HttpRequestFactory.buildPutRequest(GenericUrl url,
HttpContent content)
Builds a
PUT request for the given URL and content. |
HttpRequest |
HttpRequestFactory.buildRequest(HttpMethod method,
GenericUrl url,
HttpContent content)
Deprecated.
(scheduled to be removed in 1.14) Use
HttpRequestFactory.buildRequest(String, GenericUrl, HttpContent) instead |
HttpRequest |
HttpRequestFactory.buildRequest(String requestMethod,
GenericUrl url,
HttpContent content)
Builds a request for the given HTTP method, URL, and content.
|
HttpRequest |
HttpRequest.setUrl(GenericUrl url)
Sets the HTTP request URL.
|
Modifier and Type | Method and Description |
---|---|
GenericUrl |
JsonHttpRequest.buildHttpRequestUrl()
Deprecated.
Creates a new instance of
GenericUrl suitable for use against this service. |
GenericUrl |
JsonHttpClient.Builder.getBaseUrl()
Deprecated.
Returns the base URL of the service, for example
"https://www.googleapis.com/tasks/v1/" . |
Modifier and Type | Method and Description |
---|---|
protected HttpRequest |
JsonHttpClient.buildHttpRequest(HttpMethod method,
GenericUrl url,
Object body)
Deprecated.
Create an
HttpRequest suitable for use against this service. |
protected InputStream |
JsonHttpClient.executeAsInputStream(HttpMethod method,
GenericUrl url,
Object body)
Deprecated.
Builds and executes an
HttpRequest and then returns the content input stream of
HttpResponse . |
protected HttpResponse |
JsonHttpClient.executeUnparsed(HttpMethod method,
GenericUrl url,
Object body)
Deprecated.
Builds and executes a
HttpRequest . |
JsonHttpClient.Builder |
JsonHttpClient.Builder.setBaseUrl(GenericUrl baseUrl)
Deprecated.
Sets the base URL of the service, for example
"https://www.googleapis.com/tasks/v1/" . |
Constructor and Description |
---|
JsonHttpClient.Builder(HttpTransport transport,
JsonFactory jsonFactory,
GenericUrl baseUrl)
Deprecated.
Returns an instance of a new builder.
|
Modifier and Type | Field and Description |
---|---|
static GenericUrl |
HttpTesting.SIMPLE_GENERIC_URL
A simple generic URL for testing of value
HttpTesting.SIMPLE_URL . |
Copyright © 2011-2012 Google. All Rights Reserved.