Uses of Class
com.google.api.client.http.HttpResponse
Packages that use HttpResponse
Package
Description
Subset of HTTP 1.1 needed from the specification in RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1.
Beta
Atom XML HTTP library based on the pluggable HTTP library.
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 HttpResponseModifier and TypeMethodDescriptionHttpRequest.execute()
Execute the HTTP request and returns the HTTP response.HttpResponse.setContentLoggingLimit
(int contentLoggingLimit) Set the limit to the content size that will be logged duringgetContent()
.HttpResponse.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 HttpResponseModifier and TypeMethodDescriptionHttpRequest.executeAsync()
Beta
Executes this request asynchronously usingHttpRequest.executeAsync(Executor)
in a single separate thread usingExecutors.newSingleThreadExecutor()
.HttpRequest.executeAsync
(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 HttpResponseModifier and TypeMethodDescriptionstatic StringBuilder
HttpResponseException.computeMessageBuffer
(HttpResponse response) Returns an exception message string builder to use for the given HTTP response.final boolean
HttpBackOffUnsuccessfulResponseHandler.handleResponse
(HttpRequest request, HttpResponse response, boolean supportsRetry) Handler that will be invoked when an abnormal response is received.boolean
HttpUnsuccessfulResponseHandler.handleResponse
(HttpRequest request, HttpResponse response, boolean supportsRetry) Handler that will be invoked when an abnormal response is received.void
HttpResponseInterceptor.interceptResponse
(HttpResponse response) Invoked at the end ofHttpRequest.execute()
before returning a successful response or throwing an exception for an unsuccessful response.boolean
HttpBackOffUnsuccessfulResponseHandler.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 HttpResponseModifierConstructorDescriptionBuilder
(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 HttpResponseModifier and TypeMethodDescriptionstatic <T,
E> AtomFeedParser <T, E> 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 HttpResponseModifier and TypeMethodDescriptionboolean
MockHttpUnsuccessfulResponseHandler.handleResponse
(HttpRequest request, HttpResponse response, boolean supportsRetry)