Package com.google.api.client.http

Subset of HTTP 1.1 needed from the specification in RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1 .

See:
          Description

Interface Summary
HttpContent Serializes HTTP request content into an output stream.
HttpExecuteInterceptor HTTP request execute interceptor to intercept the start of HttpRequest.execute() before executing the HTTP request.
HttpParser Parses HTTP response content into an data class of key/value pairs.
HttpRequestInitializer HTTP request initializer.
HttpUnsuccessfulResponseHandler Interface which handles abnormal HTTP responses (in other words not 2XX).
 

Class Summary
AbstractHttpContent Abstract implementation of an HTTP content with typical options.
AbstractInputStreamContent Serializes HTTP request content from an input stream into an output stream.
ByteArrayContent Concrete implementation of AbstractInputStreamContent that generates repeatable input streams based on the contents of byte array.
FileContent Concrete implementation of AbstractInputStreamContent that generates repeatable input streams based on the contents of a file.
GenericUrl URL builder in which the query parameters are specified as generic data key/value pairs, based on the specification RFC 3986: Uniform Resource Identifier (URI).
HttpHeaders Stores HTTP headers used in an HTTP request or response, as defined in Header Field Definitions.
HttpRequest HTTP request.
HttpRequestFactory Thread-safe light-weight HTTP request factory layer on top of the HTTP transport that has an optional HTTP request initializer for initializing requests.
HttpResponse HTTP response.
HttpStatusCodes Constants enumerating the HTTP status codes.
HttpTransport Thread-safe abstract HTTP transport.
InputStreamContent Concrete implementation of AbstractInputStreamContent that simply handles the transfer of data from an input stream to an output stream.
LowLevelHttpRequest Low-level HTTP request.
LowLevelHttpResponse Low-level HTTP response.
MultipartRelatedContent Serializes MIME Multipart/Related content as specified by RFC 2387: The MIME Multipart/Related Content-type.
UriTemplate Expands URI Templates.
UrlEncodedContent Implements support for HTTP form content encoding serialization of type application/x-www-form-urlencoded as specified in the HTML 4.0 Specification.
UrlEncodedParser Implements support for HTTP form content encoding parsing of type application/x-www-form-urlencoded as specified in the HTML 4.0 Specification.
UrlEncodedParser.Builder Builder for UrlEncodedParser.
 

Enum Summary
HttpMethod HTTP request method.
 

Exception Summary
HttpResponseException Exception thrown when an error status code is detected in an HTTP response.
 

Package com.google.api.client.http Description

Subset of HTTP 1.1 needed from the specification in RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1 . Additionally, it includes PATCH Method for HTTP.

Warning: this package is experimental, and its content may be changed in incompatible ways or possibly entirely removed in a future version of the library

Since:
1.0
Author:
Yaniv Inbar


Copyright © 2011 Google. All Rights Reserved.