Please migrate to successor http-common library.
Small library that helps build URI easier in Java, encoding path, query parameters, etc.
Have no dependencies.
dependencies {
implementation "io.goodforgod:uri-builder:1.0.0"
}
<dependency>
<groupId>io.goodforgod</groupId>
<artifactId>uri-builder</artifactId>
<version>1.0.0</version>
</dependency>
URIBuilder.of("https://api.etherscan.io").path("/api")
.queryParam("module", "block")
.queryParam("action", "getblockreward")
.build()
This project licensed under the Apache License 2.0 - see the LICENSE file for details