awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
hongyangAndroid avatar

hongyangAndroid/okhttputils

0
View on GitHub↗
6,842 estrellas·2,367 forks·Java·Apache-2.0·6 vistasblog.csdn.net/lmj623565791/article/details/47911083↗

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.

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.

Historial de estrellas

Gráfico del historial de estrellas de hongyangandroid/okhttputilsGráfico del historial de estrellas de hongyangandroid/okhttputils

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Alternativas open-source a Okhttputils

Proyectos open-source similares, clasificados según cuántas características comparten con Okhttputils.
  • amitshekhariitbhu/fast-android-networkingAvatar de amitshekhariitbhu

    amitshekhariitbhu/Fast-Android-Networking

    5,906Ver en GitHub↗

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

    Java
    Ver en GitHub↗5,906
  • kittinunf/fuelAvatar de kittinunf

    kittinunf/fuel

    4,652Ver en 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
    Ver en GitHub↗4,652
  • amitshekhariitbhu/androidnetworkingAvatar de amitshekhariitbhu

    amitshekhariitbhu/AndroidNetworking

    5,906Ver en 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
    Ver en GitHub↗5,906
  • httpie/desktopAvatar de httpie

    httpie/desktop

    3,851Ver en 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
    Ver en GitHub↗3,851
Ver las 30 alternativas a Okhttputils→

Preguntas frecuentes

¿Qué hace hongyangandroid/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.

¿Cuáles son las características principales de hongyangandroid/okhttputils?

Las características principales de hongyangandroid/okhttputils son: Android Network Programming, HTTP Client Wrappers, GET Request Executions, POST Request Executions, Tag-Based Cancellations, JSON Request Serializers, Transfer Progress Reporters, Request Cancellations.

¿Qué alternativas de código abierto existen para hongyangandroid/okhttputils?

Las alternativas de código abierto para hongyangandroid/okhttputils incluyen: 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.