Skip to content

vietj/retrofit-vertx

Repository files navigation

Retrofit Vert.x adapter

An highly scalable adapter for Retrofit with Vert.x

Based on http://square.github.io/retrofit/ and http://vertx.io.

Supporting

  • HTTP/1 or HTTP/2 transport
  • Connection pooling
  • SSL / TLS
  • Proxy support
  • Non blocking DNS resolution
  • Native SSL support (OpenSSL, BoringSSL, etc…​)
  • Native transports (Epoll, KQueue)

Usage

To use the adapter, add the following dependency to the dependencies section of your build descriptor:

  • Maven (in your pom.xml):
<dependency>
  <groupId>com.julienviet</groupId>
  <artifactId>retrofit-vertx</artifactId>
  <version>1.1.3</version>
</dependency>
  • Gradle (in your build.gradle file):
dependencies {
  compile 'com.julienviet:retrofit-vertx:1.1.3'
}

You can read the Documentation.

Snapshots

Build Status

Use the dependency

<dependency>
  <groupId>com.julienviet</groupId>
  <artifactId>retrofit-vertx</artifactId>
  <version>1.1.4-SNAPSHOT</version>
</dependency>

Snapshots are deploy in Sonatype OSS repository: https://oss.sonatype.org/content/repositories/snapshots/com/julienviet/retrofit-vertx/

License

Apache License - Version 2.0

Publishing docs

  • mvn package -Pdocs
  • cp -r target/docs docs/
  • mv docs/retrofit-vertx docs/guide