Lightweight HTTP extensions for Java's built-in HttpClient, adding multipart uploads, caching, decompression, and object mapping.
Methanol is a lightweight library that extends Java's built-in HttpClient with missing HTTP features like multipart uploads, caching, and response decompression. It provides a seamless wrapper around the standard API, making it more productive for Java and Kotlin developers to handle common HTTP tasks.
Java and Kotlin developers using the standard HttpClient who need enhanced HTTP capabilities such as multipart uploads, caching, or easy JSON mapping without heavy dependencies.
Developers choose Methanol for its zero-dependency, non-invasive approach that fills gaps in Java's HttpClient while maintaining API compatibility and offering a Kotlin DSL for improved productivity.
⚗️ Lightweight HTTP extensions for Java & Kotlin
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Adds native multipart/form-data request handling, addressing a known gap in Java's HttpClient and simplifying file uploads.
Implements HTTP caching standards to automatically store and reuse responses, reducing network calls and improving performance.
Provides a Kotlin-friendly DSL for more concise and idiomatic HTTP client code, as highlighted in the README.
Core library has zero runtime dependencies, ensuring seamless compatibility with standard Java APIs without adding bloat.
Object mapping requires integrating with Jackson or Gson, adding external dependencies for full functionality.
As a wrapper, it only extends Java's HttpClient and lacks built-in support for retries, WebSockets, or custom protocols.
Requires Java 11 or higher, which may exclude legacy systems or projects stuck on older Java versions.