liujingxing/rxhttp
54.6
Adequate · 14 November 2026
18.6k
lines of production code
Kotlin
with Java
5
measurements over time
What this system is
RxHttp is a Kotlin-first HTTP client library that generates type-safe request wrappers at compile time using KSP or Kapt. It provides a unified API for executing requests via RxJava 3, Kotlin Coroutines (Await/Flow), or synchronous calls, supporting features like resumable downloads, local caching, and custom SSL handling. The system includes built-in converters for various serialization formats and interceptors for token management and logging, with a demo app illustrating multi-task download implementations.
How it got here
2019 — RxHttp v3.5.2 release and demo app
26 changes.
The project was renamed to RxHttp and initialized with version 3.5.2, featuring a major refactor of the core library to pure Java with coroutine support and expanded converter modules for Gson, Jackson, and Protobuf. A comprehensive demo application was scaffolded to showcase these features, including multi-task downloads, encryption examples, and robust error handling.
2020 — KSP migration and multi-paradigm support
13 changes.
The project migrated its compiler from Kapt to KSP to support RxJava 3 and non-Android platforms, while introducing a compatibility layer for OkHttp 3.x through 5.x. New features included Moshi serialization, custom SSL handling, and various interceptors for caching and range-based downloads. The demo application was updated to demonstrate multi-task downloading using RxJava, Coroutines Await, and Flow paradigms.
2021–2023 — KSP migration and coroutine integration
10 changes.
The project migrated its annotation processor from Kapt to KSP 2.0, introducing generated Kotlin wrapper classes and enhanced RxJava support with detailed progress tracking. This period also added coroutine-based wrappers with flow support, a new kotlinx.serialization converter, and a configurable local HTTP caching mechanism.
Features
Add Android 10 download factory and ResponseParser for structured API handling
The library now includes Android10DownloadFactory to handle scoped storage on Android 10+ by querying existing URIs to prevent filename conflicts, while falling back to legacy file paths on older versions. Additionally, ResponseParser is introduced to standardize API responses with a 'code' and 'data' structure, automatically throwing ParseExceptions on errors and supporting generic types like PageList.
app/src/main/java/com/example/httpsender/parser · high confidence
Add JacksonConverter for JSON serialization
Introduces a new JacksonConverter implementation that allows users to serialize and deserialize HTTP request/response bodies using the Jackson ObjectMapper. This provides an alternative to the default JSON converter, supporting custom ObjectMappers and content types.
rxhttp-converter/converter-jackson · high confidence
Add MoshiConverter for JSON serialization
Introduces a new MoshiConverter that enables users to serialize and deserialize HTTP request/response bodies using the Moshi library. The converter supports configuring lenient parsing, failing on unknown properties, and serializing null values, while also handling UTF-8 BOM skipping and allowing a custom content type.
rxhttp-converter/converter-moshi · high confidence
Add ProtoConverter for Protobuf serialization
Introduces a new ProtoConverter that enables automatic serialization and deserialization of Google Protobuf messages. Users can now parse Protobuf response bodies into MessageLite objects and serialize MessageLite request bodies, with support for custom ExtensionRegistryLite and MediaType configurations.
rxhttp-converter/converter-protobuf · high confidence
Added HTTP interceptor examples for token refresh and redirect handling
The demo application now includes two new interceptor implementations: TokenInterceptor, which demonstrates automatic token refresh upon receiving a specific invalidation code, and RedirectInterceptor, which handles HTTP 308 redirects by following the Location header.
app/src/main/java/com/example/httpsender/interceptor · high confidence
Added HttpsUtils for custom SSL certificate handling
The library now includes an HttpsUtils class in the rxhttp wrapper to manage HTTPS connections, allowing users to configure custom SSL socket factories and trust managers. This enables support for self-signed certificates and client-side authentication via BKS keystores, addressing previous limitations in secure connection handling.
rxhttp/src/main/java/rxhttp/wrapper/ssl · high confidence
Added Java-based TypeParser implementations for generic response handling
New Java parser classes (ResponseParser and DoubleTypeParser) have been added to the library, extending TypeParser to support generic type resolution and automatic code validation. These parsers enable users to parse complex generic structures (such as pairs or nested lists) and handle response data conversion directly in Java, complementing existing Kotlin capabilities.
app/src/main/java/com/example/httpsender/parser/java · high confidence
Added custom tab indicator with scale and color transition effects
The app now includes a custom tab indicator that applies both color transitions and scaling animations when switching between tabs. This is implemented via a new \ScaleTransitionPagerTitleView\ that extends the library's \ColorTransitionPagerTitleView\ to animate the scale of the title view based on its position, and a \FragmentPageAdapter\ to manage the associated fragments and titles for the pager.
app/src/main/java/com/example/httpsender/adapter, app/src/main/java/com/example/httpsender/view · high confidence
Added encryption parameter examples for GET and POST requests
Added four new example parameter classes (GetEncryptParam, PostEncryptFormParam, PostEncryptJsonParam, PostEncryptJsonParam1) in the app module to demonstrate how to implement custom encryption logic for HTTP requests. These examples show how to override getHttpUrl() for GET requests and getRequestBody() for POST requests to encrypt query parameters or JSON bodies before transmission.
app/src/main/java/com/example/httpsender/param · high confidence
Generated RxHttp wrapper classes for Kotlin API usage
The KSP compiler now generates Kotlin wrapper classes (such as RxHttp, RxHttpFormParam, and RxHttpJsonParam) that provide a fluent, type-safe API for building HTTP requests. These generated classes expose methods for setting query parameters, adding form or JSON bodies, and handling file uploads, while also providing conversion methods like toObservable and execute to process responses. Additionally, extension functions are generated on BaseRxHttp and CallFactory to support Kotlin-specific features like reified type parameters for list and response parsing.
app/build/generated/ksp/debug/kotlin · high confidence
Initial demo app scaffolding with RxHttp integration and multi-task download UI
The app module introduces the core demo application structure, starting with AppHolder to initialize the RxHttpManager and enable MultiDex. RxHttpManager configures the HTTP client with SSL, cookie storage, and common parameter assembly. The UI is built around MainActivity, which hosts a ViewPager with tabs for RxJava, Await, Flow, and Multi Download examples, utilizing MagicIndicator for navigation. A new DownloadMultiAdapter provides a RecyclerView interface for managing multiple download tasks, displaying progress, speed, and estimated time. Supporting components include a LoggingEventListener for detailed OkHttp call tracing, a RedirectInterceptor for handling HTTP 308 redirects, and utility classes like ExceptionHelper for network status checks and Tip for toast notifications.
app/src/main/java/com/example/httpsender · high confidence
New GsonConverter with strict null handling and custom content type support
A new GsonConverter implementation is introduced as the default JSON converter, allowing users to specify a custom MediaType for requests. The converter now enforces strict deserialization by throwing an IllegalStateException if the result is null, and it handles String type returns directly without unnecessary conversion steps.
rxhttp/src/main/java/rxhttp/wrapper/converter · high confidence
New SerializationConverter for kotlinx.serialization support
A new \SerializationConverter\ is introduced in the \converter-serialization\ module, enabling direct integration with \kotlinx.serialization\ for both request body encoding and response body decoding. This allows users to leverage \kotlinx.serialization\'s \StringFormat\ for handling JSON data, supporting serialization of collections, maps, and custom types, while also providing an extension function to easily convert a \StringFormat\ instance into an RxHttp converter.
rxhttp-converter/converter-serialization · high confidence
New cookie management class with memory and disk caching
Added a new CookieStore class and ICookieJar interface in the cookie wrapper package. CookieStore implements ICookieJar to provide cookie persistence with support for both in-memory and disk-based caching (using DiskLruCache). Users can configure whether to enable memory caching, specify a disk cache directory, and set a maximum cache size. The implementation handles saving, loading, and removing cookies, matching them by name, domain, path, and secure flag, and ensures at least one caching method is enabled.
rxhttp/src/main/java/rxhttp/wrapper/cookie · high confidence
New coroutine wrappers with progress tracking and OkResponse support
The library introduces new coroutine-based wrappers (Await, CallAwait, CallFlow) in the rxhttp wrapper package. Users can now convert HTTP calls into Kotlin Flows with built-in progress and speed callbacks via the new onProgress method, which supports configurable buffer capacity and minimum callback periods. Additionally, new extension methods (toAwaitOkResponse, toFlowOkResponse) allow any parser to return a standardized OkResponse\<T?\> object, and exception handling during call execution is now synchronized with the coroutine flow behavior.
rxhttp/src/main/java/rxhttp/wrapper/coroutines · high confidence
New entity classes for enhanced upload/download control and response handling
This change introduces several new classes in the rxhttp wrapper entity package to improve file transfer capabilities and response parsing. New classes like FileRequestBody and UriRequestBody now support a skipSize parameter, enabling better support for resumable uploads and downloads by allowing specific byte ranges to be skipped. The UpFile class also includes this skipSize field for fine-grained control over file uploads. Additionally, the OkResponse class provides a unified way to access both the deserialized body and raw HTTP headers/status for both successful and error responses. Other new entities include DownloadOffSize for download offset tracking, ExpandOutputStream for flexible output stream handling, EmptyResponseBody for handling empty responses, and ParameterizedTypeImpl for improved generic type resolution.
rxhttp/src/main/java/rxhttp/wrapper/entity · high confidence
New entity models and centralized error handling for HTTP responses
The app now includes a comprehensive set of new data models to support API interactions: Article, DownloadTask, Location, Name, NewsDataXml, NewsXml, PageList, Response, and User. Additionally, a new ErrorInfo class has been introduced to provide unified exception handling, mapping specific HTTP and network errors (such as timeouts, connection issues, and JSON parsing failures) to user-friendly messages. The Url object has also been added to centralize API endpoint definitions.
app/src/main/java/com/example/httpsender/entity · high confidence
New interceptors for caching, logging, and range-based downloads
The library introduces three new OkHttp interceptors in the wrapper layer to enhance request handling. CacheInterceptor implements a flexible caching strategy that supports modes such as network-only, cache-only, and fallback-to-cache on failure, including validation of cache validity times. LogInterceptor provides structured logging for request start and end events, including cookie information. RangeInterceptor enables partial content downloads (resumable downloads) by automatically adding the HTTP Range header based on an OutputStreamFactory tag attached to the request.
rxhttp/src/main/java/rxhttp/wrapper/intercept · high confidence
New multi-task download implementations using RxJava, Await, and Flow
The app now provides three distinct implementations for multi-task downloading in the \vm\ package: \MultiTaskDownloader\ (using RxJava's \toDownloadObservable\), \MultiTaskAwaitDownloader\ (using \toDownloadAwait\), and \MultiTaskFlowDownloader\ (using \toDownloadFlow\). Each implementation manages a queue of up to three concurrent download tasks, supports pausing, canceling, and resuming (via local file size checks), and updates the UI via \MutableLiveData\. This allows users to choose the reactive paradigm (RxJava, Coroutines Await, or Coroutines Flow) that best fits their architecture while maintaining consistent multi-task behavior.
app/src/main/java/com/example/httpsender/vm · high confidence
Behavioural changes
12 commits (0 fixes) modifying screen
A change to existing behaviour in screen — 12 commits, 13 files.
screen · medium confidence · unverified
Added ProGuard configuration to resolve build warnings and preserve entity classes
The app now includes a proguard-rules.pro file to handle code shrinking and obfuscation. This configuration preserves default constructors and non-transient fields in the com.example.httpsender.entity package to ensure R8 full mode compatibility, and suppresses warnings for dependencies like simple-xml and fastjson that previously caused build failures.
app · high confidence
Annotation API updates for custom converters, client selection, and response parsing
The rxhttp-annotation module introduces several annotation enhancements to improve request configuration and data handling. The new @Converter annotation allows fields to specify a custom IConverter via the className attribute, enabling support for formats like FastJson. The @Domain and @OkClient annotations now include a className field, allowing generated request classes to default to specific base URLs or OkHttpClient instances. Additionally, the @Parser annotation gains a wrappers attribute, which generates multiple asXxx methods for flexible response parsing, while the name field in @Converter and @OkClient defaults to an empty string.
rxhttp-annotation · high confidence
Automatic ProGuard rules for RxHttp and OkHttp compatibility
RxHttp now ships with an automatic ProGuard configuration file (META-INF/proguard/rxhttp.pro) that eliminates the need for manual consumer setup. This file preserves necessary class members and signatures to ensure compatibility with various OkHttp versions (including support for OkHttp 5.x.x) and fixes crashes in R8 full mode when using anonymous inner classes that extend TypeParser.
rxhttp/src/main/resources · high confidence
Compatibility layer for OkHttp 3.x, 4.x, and 5.x
The library now supports OkHttp versions 3.x, 4.x, and 5.x through a new compatibility layer. This ensures stable operation across different OkHttp versions, fixing crashes and errors related to header handling, user-agent retrieval, and disk cache initialization that occurred in previous versions when using OkHttp 4.x or 5.x APIs.
rxhttp/src/main/java/rxhttp/wrapper · high confidence
Compiler refactoring to KSP 2.0 with enhanced RxJava progress and response handling
The rxhttp-compiler has been upgraded to support KSP 2.0, introducing new utility files (KtUtil, ObservableUtil, StringUtil) to streamline code generation. For RxJava users, the generated ObservableCall now includes an onMainProgress method for convenient progress callbacks on the main thread and a toObservableOkResponse method to return OkResponse objects for any parser. Additionally, progress callbacks now support a configurable minimum period to control callback frequency, and the compiler fixes issues with type arrays and varargs in parser constructors while ensuring consistent exception handling across RxJava, Await, and Flow execution paths.
rxhttp-compiler/src/main/java/com/rxhttp/compiler/common · high confidence
Compiler unified to KSP with RxJava 3 support and non-Android platform option
The annotation processor has been migrated from Kapt to KSP (including KSP 2.0 support), consolidating the build logic into a single processor. This change introduces a new \rxhttp\_android\_platform\ option, allowing the library to be used in non-Android environments. Additionally, the compiler now supports RxJava 3, automatically adjusting generated code to use the \io.reactivex.rxjava3\ package structure when detected, while maintaining backward compatibility with RxJava 2.
rxhttp-compiler/src/main/java/com/rxhttp/compiler · high confidence
Demo app fragments updated to RxHttp 3.0.3 API
The demo application's HTTP sender fragments (Await, Flow, and RxJava) have been updated to align with the RxHttp 3.0.3 library changes. This includes renaming conversion methods (e.g., \asXxx\ to \toAwaitXxx\/\toFlowResponse\), adopting \toAwaitOkResponse\ for better response handling in Coroutines, and standardizing progress monitoring via \onProgress\ for Flow-based uploads. The fragments now demonstrate the latest API patterns for making GET, POST, and file upload requests using Kotlin Coroutines and RxJava.
app/src/main/java/com/example/httpsender/fragment · high confidence
Dynamic RxHttp version exposed in User-Agent header
The library now dynamically constructs the User-Agent string for HTTP requests using the current project version. A new Kotlin constant \userAgent\ is generated at build time, ensuring that the \rxhttp/\ prefix is followed by the actual version number of the library being used, rather than a hardcoded or static value.
rxhttp/src/main/java-templates · high confidence
FastJsonConverter now throws an exception when deserialization results in null
The FastJsonConverter implementation has been updated to explicitly throw an IllegalStateException if the JSON parsing process yields a null object. Previously, a null result might have been returned silently, potentially leading to confusing downstream errors; this change ensures that failed deserialization is caught immediately with a clear error message indicating that the body could not be deserialized as the expected type.
rxhttp-converter/converter-fastjson · high confidence
Kapt code generation implementation for RxHttp
The kapt compiler module now includes the full implementation for generating RxHttp Java and Kotlin code, including the BaseRxHttp generator, class helpers for parameter types, and visitors for parsing annotations like @Param, @Parser, @Domain, and @OkClient. This completes the kapt support previously merged with KSP, enabling users to benefit from compile-time code generation in kapt environments with consistent behavior across both annotation processors.
rxhttp-compiler/src/main/java/com/rxhttp/compiler/kapt · high confidence
Migration to KSP compiler with generated RxHttp wrapper classes
The RxHttp compiler has been rewritten to use the Kotlin Symbol Processing (KSP) API, replacing the previous implementation. This change introduces new generated code structures, including a \BaseRxHttp\ class that provides core execution methods like \execute\ and RxJava-specific observables (\toObservable\, \toDownloadObservable\), as well as generated parameter wrapper classes (\RxHttpBodyParam\, \RxHttpFormParam\, etc.) that streamline request building. The compiler now uses dedicated visitors to process annotations such as \@Converter\, \@Domain\, and \@OkClient\, generating corresponding setter methods and validating their declarations. Additionally, custom parser handling has been updated to generate \toObservableXxx\ methods that support \OkResponse\ wrappers, allowing users to access both response bodies and headers.
rxhttp-compiler/src/main/java/com/rxhttp/compiler/ksp · high confidence
New Kotlin utility extensions for Android components and error handling
This change introduces a new set of Kotlin extension functions in the \app/src/main/java/com/example/httpsender/kt\ package to simplify common Android development tasks. It adds \startActivity\ extensions for \Activity\ and \Fragment\ to streamline intent creation with optional configuration blocks. It also provides \Throwable\ extensions (\errorCode\ and \errorMsg\) that map various HTTP and network exceptions (such as \HttpStatusCodeException\, \ParseException\, and timeout errors) to specific user-facing error messages and status codes. Additionally, \Uri\ extensions are added to query and delete media store items by display name, including logging of file metadata like ID, size, and dates.
app/src/main/java/com/example/httpsender/kt · high confidence
New exception classes for cache, HTTP status, parsing, and proxy errors
The library now introduces four new exception types to provide more specific error handling: CacheReadFailedException is thrown when cache retrieval fails in ONLY\_CACHE mode; HttpStatusCodeException is raised for non-2xx responses and exposes the status code, request details, and response body; ParseException is used for data parsing failures and includes error codes and request context; and ProxyException wraps underlying errors with request information for better debugging.
rxhttp/src/main/java/rxhttp/wrapper/exception · high confidence
New local HTTP caching implementation with configurable strategies and validity
The library introduces a new local caching mechanism in the \rxhttp.wrapper.cache\ package, replacing the previous directory-based cache. Users can now configure cache behavior using \CacheMode\ (e.g., network-only, cache-only, or hybrid strategies) and set a positive \cacheValidTime\ via \CacheStrategy\. The \CacheManager\ handles disk storage using OkHttp's \DiskLruCache\, and the system respects HTTP \Vary\ headers to ensure cache correctness across different request variations.
rxhttp/src/main/java/rxhttp/wrapper/cache · high confidence
Param API refactored with new request types and unified builder
The request parameter API has been restructured to provide clearer separation of concerns and improved usability. New concrete parameter classes—BodyParam, FormParam, JsonParam, JsonArrayParam, and NoBodyParam—are now exposed via static factory methods on the Param class (e.g., Param.postJson, Param.postForm), replacing previous ad-hoc construction. The core Param class now implements unified interfaces (IParam, IHeaders, ICache, IRequest), consolidating header, cache, and request-building logic. Query and path parameters now support nullable values and bulk addition via addAllQuery/addAllEncodedQuery, while form parameters allow multiple values per key and explicit encoded additions. JSON requests default to sending an empty object {} when no body is specified, and caching is integrated into the param structure with configurable cache keys and strategies.
rxhttp/src/main/java/rxhttp/wrapper/param · high confidence
Parser implementation rewritten in Java with new OkResponse and SmartParser support
The parsing logic in the \rxhttp\ library has been rewritten from Kotlin to Java, introducing new \Parser\, \SmartParser\, \TypeParser\, \OkResponseParser\, and \StreamParser\ classes. This change adds the ability to retrieve the full \OkResponse\ object (including headers and status) via \OkResponseParser\, enables smart type conversion through \SmartParser\, and refactors stream-based downloads in \StreamParser\ to support progress callbacks and partial content (range) requests more robustly.
rxhttp/src/main/java/rxhttp/wrapper/parse · high confidence
Project renamed to RxHttp with updated documentation and Gradle wrapper
The project has been renamed from HttpSender to RxHttp, reflected in the updated README files and the new README\_zh.md. The documentation now specifies the latest library version (3.5.1) and dependencies, including OkHttp 4.12.0 and KSP 2.3.4. Additionally, the Gradle wrapper scripts (gradlew, gradlew.bat) and configuration files (jitpack.yml, maven\_dependency.md) have been added or updated to support the build process.
(repo-wide) · high confidence
Refactored callback interfaces and introduced throttled progress reporting
The callback package has been refactored to improve API clarity and performance. Common functional interfaces \Consumer\ and \Function\ are now provided locally to reduce dependencies. The \IConverter\ interface (renamed from \IConverter\ in earlier commits but stabilized here) allows custom data conversion for requests and responses. A new \ProgressCallbackHelper\ class implements throttling for upload and download progress events based on a configurable minimum period, preventing excessive callbacks and improving efficiency. Additionally, \OutputStreamFactory\ classes now robustly parse \Content-Disposition\ headers to extract filenames, handling various quoting and encoding formats.
rxhttp/src/main/java/rxhttp/wrapper/callback · high confidence
Refactored internal utility classes for request building, logging, and data conversion
The internal utility layer in \rxhttp/wrapper/utils\ has been restructured to improve code organization and maintainability. \BuildUtil\ now centralizes the logic for constructing \Request\, \FormBody\, \MultipartBody\, and \HttpUrl\ objects, including path traversal validation and media type detection for OkHttp compatibility. \LogUtil\ has been updated to provide more detailed and segmented logging, including request/response timing, headers, and body content (with size limits for large bodies), while safely handling exceptions during log generation. \Converter\ and \Converter.kt\ now expose unified methods for converting \Response\ bodies to typed objects, supporting both Java \Type\ and Kotlin \KClass\. \GsonUtil\ and \Json.kt\ handle JSON serialization/deserialization with custom type adapters for numeric precision and null safety. \CacheUtil\ provides logic to exclude specific keys from cache key generation. \Speeder.kt\ introduces a new utility for calculating stable download/upload speeds by averaging samples over time. \PathEncoder.kt\ and \Uri.kt\ provide Kotlin extensions for URL path encoding and Android \Uri\ manipulation (e.g., getting file length or display name). \Utils.kt\ contains coroutine helpers for awaiting OkHttp calls and other general-purpose extensions.
rxhttp/src/main/java/rxhttp/wrapper/utils · high confidence
RxHttp module refactored to Java with new coroutine-based Await API and centralized plugin configuration
The rxhttp module has been converted from an Android library to a pure Java module, enabling usage in non-Android Java projects. This change introduces a new \Await\-based API for Kotlin coroutines (replacing previous RxJava-dependent methods) and centralizes configuration through \RxHttpPlugins\, which now supports global settings for data conversion, parameter assembly, result decoding, caching, and request cancellation. The update also includes improved logging with segment support and stricter validation for cache parameters.
rxhttp/src/main/java/rxhttp · high confidence
RxJava progress callbacks now include download speed and support configurable throttling
The RxJava integration for upload and download progress has been updated to provide more detailed feedback and better control over callback frequency. The \Progress\ object now includes a \speed\ parameter, allowing users to monitor network throughput in real-time. Additionally, the \onProgress\ and \onMainProgress\ methods now accept a \minPeriod\ argument, enabling developers to set a minimum time interval between progress callbacks to prevent UI jank from excessive updates. The API also introduces \onMainProgress\ variants that allow specifying both the queue capacity and the minimum callback period, ensuring smoother performance on the main thread.
app/build/generated/ksp/debug/java · high confidence
Unified annotation processor support for KSP and Kapt
The library now registers its annotation processor for both KSP (Kotlin Symbol Processing) and Kapt (Kotlin Annotation Processing Tool) via new service provider files. This change consolidates support, ensuring the compiler works correctly with local dependencies even when Gradle versions are upgraded to 5.x or higher, resolving previous issues where the APT processor might fail in local development scenarios.
rxhttp-compiler/src/main/resources · high confidence
XmlConverter now throws an exception when deserialization results in null
The XmlConverter implementation has been updated to explicitly throw an IllegalStateException if the SimpleXML deserialization process returns a null object. Previously, null results were returned silently, which could lead to unexpected behavior downstream; this change ensures that failed or empty XML responses are caught immediately during the conversion step.
rxhttp-converter/converter-simplexml · high confidence
Fixes
Upload progress tracking now compatible with Android Profiler
The new ProgressRequestBody wrapper detects when the Android Profiler's network interceptor is active and bypasses the progress-tracking sink in that case. This prevents upload requests from failing when Profiler monitoring is enabled, while still reporting progress via ProgressCallbackHelper for normal network calls.
rxhttp/src/main/java/rxhttp/wrapper/progress · high confidence
Test coverage
Added Android instrumentation test for HTTP sender; Added unit tests for async HTTP operations and KSP processor behavior; Added unit tests for type-wrapping utilities.
Dependencies
Gradle wrapper upgraded to version 9.3.1
The Gradle wrapper configuration has been updated to use Gradle 9.3.1. This change ensures that the project builds using this specific version of the Gradle build tool, which may introduce new features, performance improvements, or breaking changes compared to previous versions.
gradle · high confidence
Initial project setup with RxHttp 3.5.2 and modern Android tooling
The project is initialized with a new Gradle build structure using Kotlin DSL and version catalogs. It integrates RxHttp version 3.5.2 along with its compiler and multiple data converters (Fastjson, Jackson, Moshi, Protobuf, Serialization, SimpleXML). The build targets Android SDK 35 with a minimum SDK of 23, uses Android Gradle Plugin 9.4.1, Kotlin 2.4.21, and KSP 2.3.12. OkHttp is upgraded to version 5.5.0, and the project includes dependencies for RxJava3, RxLife, and various AndroidX libraries.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 53 → 55 (+1.7)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 80 → 77 (-2.8)
- Architecture 98 → 98 (-0.4)
- Maturity 48 → 47 (-0.6)
- Readiness 33 → 38 (+5.0)
- Security 99 → 99 (+0.0)
- Performance 100 → 100 (+0.0)
Resolved (31)
- Duplicated block (10 lines × 2) (rxhttp-compiler/src/main/java/com/rxhttp/compiler/kapt/RxHttpGenerator.kt)
- Duplicated block (11–12 lines × 2) (app/src/main/java/com/example/httpsender/vm/MultiTaskDownloader.kt)
- Duplicated block (12 lines × 2) (rxhttp-compiler/src/main/java/com/rxhttp/compiler/kapt/RxHttpExtensions.kt)
- Duplicated block (12 lines × 3) (rxhttp-compiler/src/main/java/com/rxhttp/compiler/kapt/ConverterVisitor.kt)
- Duplicated block (12 lines × 3) (rxhttp-compiler/src/main/java/com/rxhttp/compiler/ksp/ConverterVisitor.kt)
- Duplicated block (13 lines × 2) (app/src/main/java/com/example/httpsender/fragment/AwaitFragment.kt)
- Duplicated block (13 lines × 2) (rxhttp-compiler/src/main/java/com/rxhttp/compiler/ksp/ParamsVisitor.kt)
- Duplicated block (14 lines × 2) (rxhttp-compiler/src/main/java/com/rxhttp/compiler/kapt/RxHttpExtensions.kt)
- Duplicated block (15 lines × 2) (rxhttp-compiler/src/main/java/com/rxhttp/compiler/kapt/RxHttpExtensions.kt)
- Duplicated block (15 lines × 4) (app/src/main/java/com/example/httpsender/fragment/AwaitFragment.kt)
- Duplicated block (15 lines × 4) (app/src/main/java/com/example/httpsender/fragment/RxJavaFragment.kt)
- Duplicated block (16 lines × 2) (app/src/main/java/com/example/httpsender/fragment/RxJavaFragment.kt)
- Duplicated block (16 lines × 3) (app/src/main/java/com/example/httpsender/fragment/AwaitFragment.kt)
- Duplicated block (17 lines × 3) (app/src/main/java/com/example/httpsender/vm/MultiTaskAwaitDownloader.kt)
- Duplicated block (18 lines × 3) (rxhttp-compiler/src/main/java/com/rxhttp/compiler/kapt/ConverterVisitor.kt)
- Duplicated block (19 lines × 3) (rxhttp-compiler/src/main/java/com/rxhttp/compiler/kapt/RxHttpGenerator.kt)
- Duplicated block (20 lines × 2) (rxhttp-compiler/src/main/java/com/rxhttp/compiler/kapt/RxHttpExtensions.kt)
- Duplicated block (23 lines × 3) (app/src/main/java/com/example/httpsender/vm/MultiTaskAwaitDownloader.kt)
- Duplicated block (30 lines × 3) (rxhttp-compiler/src/main/java/com/rxhttp/compiler/ksp/ConverterVisitor.kt)
- Duplicated block (7 lines × 2) (rxhttp-compiler/src/main/java/com/rxhttp/compiler/kapt/ConverterVisitor.kt)
- …and 11 more
New (76)
- Duplicated block (11 lines × 2) (rxhttp-compiler/src/main/java/com/rxhttp/compiler/kapt/ParserVisitor.kt)
- Duplicated block (11–12 lines × 2) (app/src/main/java/com/example/httpsender/vm/MultiTaskDownloader.kt)
- Duplicated block (12 lines × 2) (rxhttp-compiler/src/main/java/com/rxhttp/compiler/kapt/RxHttpExtensions.kt)
- Duplicated block (12 lines × 2) (rxhttp-compiler/src/main/java/com/rxhttp/compiler/kapt/RxHttpWrapper.kt)
- Duplicated block (12 lines × 2) (rxhttp-compiler/src/main/java/com/rxhttp/compiler/kapt/RxHttpWrapper.kt)
- Duplicated block (12 lines × 2) (rxhttp-compiler/src/main/java/com/rxhttp/compiler/kapt/RxHttpWrapper.kt)
- Duplicated block (12 lines × 3) (rxhttp-compiler/src/main/java/com/rxhttp/compiler/kapt/ConverterVisitor.kt)
- Duplicated block (12 lines × 3) (rxhttp-compiler/src/main/java/com/rxhttp/compiler/ksp/ConverterVisitor.kt)
- Duplicated block (13 lines × 2) (app/src/main/java/com/example/httpsender/fragment/AwaitFragment.kt)
- Duplicated block (14 lines × 2) (app/src/main/java/com/example/httpsender/fragment/FlowFragment.kt)
- Duplicated block (14 lines × 2) (rxhttp-compiler/src/main/java/com/rxhttp/compiler/kapt/RxHttpExtensions.kt)
- Duplicated block (14–15 lines × 2) (app/src/main/java/com/example/httpsender/fragment/FlowFragment.kt)
- Duplicated block (15 lines × 2) (rxhttp-compiler/src/main/java/com/rxhttp/compiler/kapt/RxHttpExtensions.kt)
- Duplicated block (15 lines × 2) (rxhttp-compiler/src/main/java/com/rxhttp/compiler/ksp/ParamsVisitor.kt)
- Duplicated block (15 lines × 4) (app/src/main/java/com/example/httpsender/fragment/AwaitFragment.kt)
- Duplicated block (15 lines × 4) (app/src/main/java/com/example/httpsender/fragment/RxJavaFragment.kt)
- Duplicated block (16 lines × 2) (app/src/main/java/com/example/httpsender/fragment/RxJavaFragment.kt)
- Duplicated block (16 lines × 3) (app/src/main/java/com/example/httpsender/fragment/AwaitFragment.kt)
- Duplicated block (17 lines × 3) (app/src/main/java/com/example/httpsender/vm/MultiTaskAwaitDownloader.kt)
- Duplicated block (18 lines × 3) (rxhttp-compiler/src/main/java/com/rxhttp/compiler/kapt/ConverterVisitor.kt)
- …and 56 more
Architecture
- Unchanged — 0 containers · 3 contexts · 1 edges
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
liujingxing/rxhttp was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 45ac61afd0568b879e74942f042bc26913d533ca — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-e1a3b69fc8ee.