Uses of Class
com.google.api.client.http.HttpRequest

Packages that use HttpRequest
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. 
 

Uses of HttpRequest in com.google.api.client.http
 

Methods in com.google.api.client.http that return HttpRequest
 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)
          Builds a PATCH request for the given URL and content.
 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)
          Builds a request for the given HTTP method, URL, and content.
 HttpRequest HttpResponse.getRequest()
          Returns the HTTP request.
 HttpRequest HttpRequest.setAllowEmptyContent(boolean allowEmptyContent)
          Some servers will fail to process a POST/PUT/PATCH unless Content-Length header >= 1.
 HttpRequest HttpRequest.setBackOffPolicy(BackOffPolicy backOffPolicy)
          Sets the BackOffPolicy to use between retry attempts or null for none.
 HttpRequest HttpRequest.setConnectTimeout(int connectTimeout)
          Sets the timeout in milliseconds to establish a connection or 0 for an infinite timeout.
 HttpRequest HttpRequest.setContent(HttpContent content)
          Sets the HTTP request content or null for none.
 HttpRequest HttpRequest.setContentLoggingLimit(int contentLoggingLimit)
          Set the limit to the content size that will be logged during execute().
 HttpRequest HttpRequest.setEnableGZipContent(boolean enableGZipContent)
          Returns whether to enable gzip compression of HTTP content.
 HttpRequest HttpRequest.setFollowRedirects(boolean followRedirects)
          Sets whether to follow redirects automatically.
 HttpRequest HttpRequest.setHeaders(HttpHeaders headers)
          Sets the HTTP request headers.
 HttpRequest HttpRequest.setInterceptor(HttpExecuteInterceptor interceptor)
          Sets the HTTP request execute interceptor to intercept the start of execute() (before executing the HTTP request) or null for none.
 HttpRequest HttpRequest.setLoggingEnabled(boolean loggingEnabled)
          Sets whether logging should be enabled for this request.
 HttpRequest HttpRequest.setMethod(HttpMethod method)
          Sets the HTTP request method.
 HttpRequest HttpRequest.setNumberOfRetries(int numRetries)
          Returns the number of retries that will be allowed to execute as the result of an HttpUnsuccessfulResponseHandler before being terminated or 0 to not retry requests.
 HttpRequest HttpRequest.setReadTimeout(int readTimeout)
          Sets the timeout in milliseconds to read data from an established connection or 0 for an infinite timeout.
 HttpRequest HttpRequest.setResponseHeaders(HttpHeaders responseHeaders)
          Sets the HTTP response headers.
 HttpRequest HttpRequest.setRetryOnExecuteIOException(boolean retryOnExecuteIOException)
          Sets whether to retry the request if an IOException is encountered in LowLevelHttpRequest.execute().
 HttpRequest HttpRequest.setThrowExceptionOnExecuteError(boolean throwExceptionOnExecuteError)
          Sets whether to throw an exception at the end of execute() on a HTTP error code (non-2XX) after all retries and response handlers have been exhausted.
 HttpRequest HttpRequest.setUnsuccessfulResponseHandler(HttpUnsuccessfulResponseHandler unsuccessfulResponseHandler)
          Returns the HTTP unsuccessful (non-2XX) response handler or null for none.
 HttpRequest HttpRequest.setUrl(GenericUrl url)
          Sets the HTTP request URL.
 

Methods in com.google.api.client.http with parameters of type HttpRequest
 void MultipartRelatedContent.forRequest(HttpRequest request)
          Sets this multi-part content as the content for the given HTTP request, and set the MIME version header to "1.0".
static UrlEncodedContent UrlEncodedContent.getContent(HttpRequest request)
          Returns the URL-encoded content of the given HTTP request, or if none return and set as content a new instance of UrlEncodedContent (whose UrlEncodedContent.getData() is an implementation of Map).
 boolean HttpUnsuccessfulResponseHandler.handleResponse(HttpRequest request, HttpResponse response, boolean supportsRetry)
          Handler that will be invoked when an abnormal response is received.
 void HttpRequestInitializer.initialize(HttpRequest request)
          Initializes a request.
 void BasicAuthentication.initialize(HttpRequest request)
           
 void HttpExecuteInterceptor.intercept(HttpRequest request)
          Invoked at the start of execute() before executing the HTTP request.
 void BasicAuthentication.intercept(HttpRequest request)
           
 

Uses of HttpRequest in com.google.api.client.http.json
 

Methods in com.google.api.client.http.json that return HttpRequest
 HttpRequest JsonHttpRequest.buildHttpRequest()
          Create an HttpRequest suitable for use against this service.
protected  HttpRequest JsonHttpClient.buildHttpRequest(HttpMethod method, GenericUrl url, Object body)
          Create an HttpRequest suitable for use against this service.
 

Methods in com.google.api.client.http.json with parameters of type HttpRequest
protected  HttpResponse JsonHttpClient.executeUnparsed(HttpRequest request)
          Executes the specified HttpRequest.
 

Uses of HttpRequest in com.google.api.client.testing.http
 

Methods in com.google.api.client.testing.http with parameters of type HttpRequest
 boolean MockHttpUnsuccessfulResponseHandler.handleResponse(HttpRequest request, HttpResponse response, boolean supportsRetry)
           
 



Copyright © 2011-2012 Google. All Rights Reserved.