Skip to the content.

Infinite Technology ∞ HTTP

Attribute\Release type Stable
Version 1.0.x
Branch master
CI Build status Build Status
Test coverage codecov
Library (Maven) oss.jfrog.org snapshot

Purpose

Java/Groovy HTTP Client library.

Features

This HTTP Client library supports the following connection features:

Gradle

❗ Via JCenter repository

compile "io.i-t:http:1.0.0"

Try it now!

import io.infinite.http.HttpRequest
import io.infinite.http.HttpResponse
import io.infinite.http.SenderDefaultHttps

        HttpRequest httpRequest = new HttpRequest(
                url: "https://google.com",
                method: "GET"
        )
        HttpResponse httpResponse = new HttpResponse()
        new SenderDefaultHttps().sendHttpMessage(httpRequest, httpResponse)
        if (httpResponse.status != 200) {
            throw new Exception("Error HTTP Code")
        }