• Stars
    star
    235
  • Rank 171,050 (Top 4 %)
  • Language
    Java
  • License
    MIT License
  • Created over 4 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

⚗️ Lightweight HTTP extensions for Java

Visit the project website for more info.

Methanol

CI status Coverage Status Maven Central Javadoc

Java enjoys a neat, built-in HTTP client. However, it lacks key HTTP features like multipart uploads, caching and response decompression. Methanol comes in to fill these gaps. The library comprises a set of lightweight, yet powerful extensions aimed at making it much easier & more productive to work with java.net.http. You can say it's an HttpClient wrapper, but you'll see it almost seamlessly integrates with the standard API you might already know.

Methanol isn't invasive. The core library has zero runtime dependencies. However, special attention is given to object mapping, so integration with libraries like Jackson or Gson becomes a breeze.

Installation

Gradle

implementation 'com.github.mizosoft.methanol:methanol:1.7.0'

Maven

<dependency>
    <groupId>com.github.mizosoft.methanol</groupId>
    <artifactId>methanol</artifactId>
    <version>1.7.0</version>
</dependency>

Contributing

See CONTRIBUTING

License

MIT