Uses of Class
com.google.api.client.http.HttpResponse
-
Packages that use HttpResponse 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.xml.atom Beta
Atom XML HTTP library based on the pluggable HTTP library.com.google.api.client.testing.http Beta
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 Modifier and Type Method Description HttpResponseHttpRequest. execute()Execute the HTTP request and returns the HTTP response.HttpResponseHttpResponse. setContentLoggingLimit(int contentLoggingLimit)Set the limit to the content size that will be logged duringgetContent().HttpResponseHttpResponse. setLoggingEnabled(boolean loggingEnabled)Sets whether logging should be enabled on this response.Methods in com.google.api.client.http that return types with arguments of type HttpResponse Modifier and Type Method Description java.util.concurrent.Future<HttpResponse>HttpRequest. executeAsync()Beta
Executes this request asynchronously usingHttpRequest.executeAsync(Executor)in a single separate thread usingExecutors.newSingleThreadExecutor().java.util.concurrent.Future<HttpResponse>HttpRequest. executeAsync(java.util.concurrent.Executor executor)Beta
Executes this request asynchronously in a single separate thread using the supplied executor.Methods in com.google.api.client.http with parameters of type HttpResponse Modifier and Type Method Description static java.lang.StringBuilderHttpResponseException. computeMessageBuffer(HttpResponse response)Returns an exception message string builder to use for the given HTTP response.booleanHttpBackOffUnsuccessfulResponseHandler. handleResponse(HttpRequest request, HttpResponse response, boolean supportsRetry)Handler that will be invoked when an abnormal response is received.booleanHttpUnsuccessfulResponseHandler. handleResponse(HttpRequest request, HttpResponse response, boolean supportsRetry)Handler that will be invoked when an abnormal response is received.voidHttpResponseInterceptor. interceptResponse(HttpResponse response)Invoked at the end ofHttpRequest.execute()before returning a successful response or throwing an exception for an unsuccessful response.booleanHttpBackOffUnsuccessfulResponseHandler.BackOffRequired. isRequired(HttpResponse response)Invoked when an abnormal response is received and determines if back-off is required.Constructors in com.google.api.client.http with parameters of type HttpResponse Constructor Description Builder(HttpResponse response)HttpResponseException(HttpResponse response)Constructor that constructs a detail message from the given HTTP response that includes the status code, status message and HTTP response content. -
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 Modifier and Type Method Description static <T,E>
AtomFeedParser<T,E>AtomFeedParser. create(HttpResponse response, XmlNamespaceDictionary namespaceDictionary, java.lang.Class<T> feedClass, java.lang.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 Modifier and Type Method Description booleanMockHttpUnsuccessfulResponseHandler. handleResponse(HttpRequest request, HttpResponse response, boolean supportsRetry)
-