# google-http-java-client **Repository Path**: HarmonyOS-tpc/google-http-java-client ## Basic Information - **Project Name**: google-http-java-client - **Description**: Google HTTP Client Library for Java - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-04-01 - **Last Updated**: 2023-04-17 ## Categories & Tags **Categories**: harmonyos-network **Tags**: None ## README ## Google HTTP Client Library for Java ## Introduction Written by Google, the Google HTTP Client Library for Java is a flexible, efficient, and powerful Java library for accessing any resource on the web via HTTP. The library has the following ### features: - Pluggable HTTP transport abstraction that allows you to use any low-level library such as java.net.HttpURLConnection, Apache HTTP Client, or URL Fetch on Google App Engine. - Efficient JSON and XML data models for parsing and serialization of HTTP response and request content. The JSON and XML libraries are also fully pluggable, and they include support for [Jackson](https://github.com/FasterXML/jackson) and openharmony's GSON libraries for JSON. The library supports the following Java environments: - Java 7 or higher - GoogleAppEngine Google App Engine The following related projects are built on the Google HTTP Client Library for Java: - [Google OAuth Client Library for Java][google-oauth-client], for the OAuth 2.0 and OAuth 1.0a authorization standards. - [Google APIs Client Library for Java][google-api-client], for access to Google APIs. ## Usage Instructions a) Configure HTTP Transport Protocol and Json Parsor/XML parser ``` static final HttpTransport HTTP_TRANSPORT = new NetHttpTransport(); static final JsonFactory JSON_FACTORY = new HarmonyJsonFactory(); ``` b) Create Java class with “@Key” annotation, mentioning key values ``` /** Represents a video feed. */ public static class VideoFeed { @Key public List