Package com.google.api.client.http.protobuf (1.45.3)

com.google.api.client.util.Beta
HTTP utilities for the Protocol Buffer format based on the pluggable HTTP library.

Classes

ProtoHttpContent

Beta
Serializes of a protocol buffer message to HTTP content.

Sample usage:

static HttpRequest buildPostRequest( HttpRequestFactory requestFactory, GenericUrl url, MessageLite message) throws IOException { return requestFactory.buildPostRequest(url, new ProtoHttpContent(message)); }

Implementation is not thread-safe.