|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use HttpResponse | |
|---|---|
| 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.http.protobuf | HTTP utilities for the Protocol Buffer format based on the pluggable HTTP library. |
| com.google.api.client.http.xml | XML HTTP library based on the pluggable HTTP library. |
| com.google.api.client.http.xml.atom | Atom XML HTTP library based on the pluggable HTTP library. |
| com.google.api.client.testing.http | Testing utilities used for writing tests based on this library. |
| Uses of HttpResponse in com.google.api.client.http |
|---|
| Methods in com.google.api.client.http that return HttpResponse | |
|---|---|
HttpResponse |
HttpRequest.execute()
Execute the HTTP request and returns the HTTP response. |
HttpResponse |
HttpResponseException.getResponse()
Deprecated. (scheduled to be removed in 1.9) |
HttpResponse |
HttpResponse.setContentLoggingLimit(int contentLoggingLimit)
Set the limit to the content size that will be logged during getContent(). |
HttpResponse |
HttpResponse.setDisableContentLogging(boolean disableContentLogging)
Deprecated. (scheduled to be removed in 1.9) Use setContentLoggingLimit(int) |
| Methods in com.google.api.client.http with parameters of type HttpResponse | ||
|---|---|---|
static String |
HttpResponseException.computeMessage(HttpResponse response)
Deprecated. (scheduled to be removed in 1.9) Use HttpResponseException.computeMessageBuffer(HttpResponse) |
|
static StringBuilder |
HttpResponseException.computeMessageBuffer(HttpResponse response)
Returns an exception message string builder to use for the given HTTP response. |
|
boolean |
HttpUnsuccessfulResponseHandler.handleResponse(HttpRequest request,
HttpResponse response,
boolean supportsRetry)
Handler that will be invoked when an abnormal response is received. |
|
|
UrlEncodedParser.parse(HttpResponse response,
Class<T> dataClass)
|
|
|
HttpParser.parse(HttpResponse response,
Class<T> dataClass)
Parses the given HTTP response into a new instance of the the given data class of key/value pairs. |
|
| Constructors in com.google.api.client.http with parameters of type HttpResponse | |
|---|---|
HttpResponseException(HttpResponse response)
Constructor that uses HttpResponseException.computeMessage(HttpResponse) for the detail message. |
|
HttpResponseException(HttpResponse response,
String message)
Constructor that allows an alternative detail message to be used. |
|
| Uses of HttpResponse in com.google.api.client.http.json |
|---|
| Methods in com.google.api.client.http.json that return HttpResponse | |
|---|---|
HttpResponse |
JsonHttpRequest.executeUnparsed()
Sends the request to the server and returns the raw HttpResponse. |
protected HttpResponse |
JsonHttpClient.executeUnparsed(HttpMethod method,
GenericUrl url,
Object body)
Builds and executes a HttpRequest. |
| Methods in com.google.api.client.http.json with parameters of type HttpResponse | ||
|---|---|---|
|
JsonHttpParser.parse(HttpResponse response,
Class<T> dataClass)
|
|
static JsonParser |
JsonHttpParser.parserForResponse(JsonFactory jsonFactory,
HttpResponse response)
Returns a JSON parser to use for parsing the given HTTP response. |
|
| Uses of HttpResponse in com.google.api.client.http.protobuf |
|---|
| Methods in com.google.api.client.http.protobuf with parameters of type HttpResponse | ||
|---|---|---|
|
ProtoHttpParser.parse(HttpResponse response,
Class<T> dataClass)
|
|
| Uses of HttpResponse in com.google.api.client.http.xml |
|---|
| Methods in com.google.api.client.http.xml with parameters of type HttpResponse | ||
|---|---|---|
|
XmlHttpParser.parse(HttpResponse response,
Class<T> dataClass)
Default implementation parses the content of the response into the data class of key/value pairs, but subclasses may override. |
|
| Uses of HttpResponse in com.google.api.client.http.xml.atom |
|---|
| Methods in com.google.api.client.http.xml.atom with parameters of type HttpResponse | ||
|---|---|---|
static
|
AtomFeedParser.create(HttpResponse response,
XmlNamespaceDictionary namespaceDictionary,
Class<T> feedClass,
Class<E> entryClass)
Parses the given HTTP response using the given feed class and entry class. |
|
| Uses of HttpResponse in com.google.api.client.testing.http |
|---|
| Methods in com.google.api.client.testing.http with parameters of type HttpResponse | |
|---|---|
boolean |
MockHttpUnsuccessfulResponseHandler.handleResponse(HttpRequest request,
HttpResponse response,
boolean supportsRetry)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||