Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

GoodforGod/uri-builder

Repository files navigation

Please migrate to successor http-common library.

URI Builder

GraalVM Enabled Java CI Quality Gate Status Coverage Maintainability Rating

Small library that helps build URI easier in Java, encoding path, query parameters, etc.

Have no dependencies.

Dependency 🚀

Gradle

dependencies {
    implementation "io.goodforgod:uri-builder:1.0.0"
}

Maven

<dependency>
    <groupId>io.goodforgod</groupId>
    <artifactId>uri-builder</artifactId>
    <version>1.0.0</version>
</dependency>

Usage

URIBuilder.of("https://api.etherscan.io").path("/api")
                .queryParam("module", "block")
                .queryParam("action", "getblockreward")
                .build()

License

This project licensed under the Apache License 2.0 - see the LICENSE file for details