awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
hongyangAndroid avatar

hongyangAndroid/okhttputils

0
View on GitHub↗

Okhttputils

OkHttpUtils is a convenience wrapper for the OkHttp HTTP client that simplifies common networking operations on Android. It provides a straightforward interface for executing GET and POST requests, including sending form parameters and JSON payloads, as well as uploading files via multipart form data and downloading remote files to local storage.

The library distinguishes itself through a set of practical utilities built on top of OkHttp's core architecture. It wraps synchronous calls into an asynchronous callback pattern, includes an interceptor-based logging layer for request and response details, and offers a custom SSL trust manager for handling self-signed or custom certificates. Cookie persistence is handled via an interceptor that saves session and persistent cookies to disk, while file transfers are augmented with progress reporting that tracks upload and download progress as a decimal ratio. Request lifecycle control is provided through tag-based cancellation, allowing active HTTP requests to be grouped and cancelled together.

Additional capabilities include a JSON body serialization helper for POST requests, a multipart form data builder for constructing complex uploads, and the ability to fetch and display remote images as bitmaps. The library also supports configuring HTTPS connections with custom certificates and persisting cookies across application restarts to maintain session state.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI
blog.csdn.net/lmj623565791/article/details/47911083
↗

Features

  • Android Network Programming - Provides an Android HTTP networking wrapper for GET, POST, JSON, and multipart uploads.
  • HTTP Client Wrappers - Ships a convenience wrapper that simplifies common HTTP operations like GET, POST, file upload, and download using OkHttp.
  • GET Request Executions - Provides a primary interface for executing HTTP GET requests with query parameters.
  • POST Request Executions - Provides a primary interface for executing HTTP POST requests with form parameters.
  • Tag-Based Cancellations - Provides tag-based request cancellation to prevent network leaks when Android components are destroyed.
  • JSON Request Serializers - Serializes Java objects into JSON request bodies for HTTP POST requests.
  • Transfer Progress Reporters - Reports upload and download progress as a decimal ratio via stream wrappers.
  • Request Cancellations - Cancels active HTTP requests grouped by a user-assigned tag for lifecycle management.
  • Progress-Tracking File Downloads - Downloads files from URLs to local storage with progress tracking and cancellation.
  • URL File Downloads - Downloads files from URLs to local storage with progress tracking and cancellation support.
  • Decimal Progress Reports - Reports file upload and download progress as a decimal value between zero and one.
  • Development SSL Certificates - Handles custom or self-signed SSL certificates for secure Android network connections.
  • Session-Cookie Persistences - Persists session and persistent cookies to disk via an OkHttp interceptor.
  • HTTP Cookie Persistence - Persists cookies across app restarts to maintain session state in Android HTTP clients.
  • Custom Trust Managers - Configures HTTPS connections to accept self-signed or custom SSL certificates via a custom trust manager.
  • SSL Certificate Validation Overrides - Overrides default SSL verification with a custom trust manager for self-signed certificates.
  • Interceptor-Based Loggers - Logs HTTP request and response details using an interceptor-based logging layer.
  • Multipart Form Uploads - Uploads files via multipart form POST requests with progress reporting.
  • Request-Response Interceptors - Logs HTTP request and response details via a custom OkHttp interceptor.
6,842 stars·2,367 forks·Java·Apache-2.0·22 views

Star history

Star history chart for hongyangandroid/okhttputilsStar history chart for hongyangandroid/okhttputils

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Projects sharing features with Okhttputils

These projects share indexed features with Okhttputils. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • amitshekhariitbhu/fast-android-networkingamitshekhariitbhu avatar

    amitshekhariitbhu/Fast-Android-Networking

    5,906View on GitHub↗

    🚀 A Complete Fast Android Networking Library that also supports HTTP/2 🚀

    Java
    View on GitHub↗5,906
  • kittinunf/fuelkittinunf avatar

    kittinunf/fuel

    4,652View on GitHub↗

    Fuel is a Kotlin HTTP client library for Android and Kotlin applications that handles both synchronous and asynchronous web requests. It functions as a network wrapper that supports executing calls via suspending functions in coroutines, reactive streams, and traditional callbacks. The library features built-in integration for Android LiveData to bind network responses directly to observable state holders for user interface updates. It also includes a JSON serialization client that utilizes customizable mappers to convert raw HTTP response bodies into structured data objects. Capability area

    Kotlinandroidhttp-clientkotlin
    View on GitHub↗4,652
  • amitshekhariitbhu/androidnetworkingamitshekhariitbhu avatar

    amitshekhariitbhu/AndroidNetworking

    5,906View on GitHub↗

    AndroidNetworking is an HTTP networking library for Android that handles the full lifecycle of network communication, from sending requests to parsing responses and caching data. It provides a unified interface for executing GET, POST, PUT, DELETE, HEAD, and PATCH requests, with support for both synchronous and asynchronous execution, and includes built-in JSON response parsing that converts server responses directly into Java objects or lists. The library distinguishes itself through a set of integrated capabilities that go beyond basic request execution. It manages file downloads and upload

    Java
    View on GitHub↗5,906
  • httpie/desktophttpie avatar

    httpie/desktop

    3,851View on GitHub↗

    This is a desktop HTTP client application used for constructing, sending, and analyzing HTTP and GraphQL requests. It provides a graphical interface for API development and testing, including a dedicated GraphQL client with schema-driven autocomplete and validation. The project features an integrated AI assistant that generates API requests from natural language prompts. It supports a complex organization system of spaces and collections with hierarchical authentication inheritance and recursive variable resolution for dynamic request values. The tool covers a broad range of capabilities, in

    apiapi-clientapi-testing
    View on GitHub↗3,851
Compare all 30 related projects→

Frequently asked questions

What does hongyangandroid/okhttputils do?

OkHttpUtils is a convenience wrapper for the OkHttp HTTP client that simplifies common networking operations on Android. It provides a straightforward interface for executing GET and POST requests, including sending form parameters and JSON payloads, as well as uploading files via multipart form data and downloading remote files to local storage.

What are the main features of hongyangandroid/okhttputils?

The main features of hongyangandroid/okhttputils are: Android Network Programming, HTTP Client Wrappers, GET Request Executions, POST Request Executions, Tag-Based Cancellations, JSON Request Serializers, Transfer Progress Reporters, Request Cancellations.

Which projects share features with hongyangandroid/okhttputils?

Projects with overlapping indexed features include: amitshekhariitbhu/fast-android-networking — 🚀 A Complete Fast Android Networking Library that also supports HTTP/2 🚀. kittinunf/fuel — Fuel is a Kotlin HTTP client library for Android and Kotlin applications that handles both synchronous and… amitshekhariitbhu/androidnetworking — AndroidNetworking is an HTTP networking library for Android that handles the full lifecycle of network communication,… httpie/desktop — This is a desktop HTTP client application used for constructing, sending, and analyzing HTTP and GraphQL requests. It… mzabriskie/axios — Axios is a promise-based HTTP client used to make asynchronous network requests in both browser and Node.js… sindresorhus/ky — 🌳 Tiny & elegant JavaScript HTTP client based on the Fetch API.