All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fireflysource.net.http.client.impl.AsyncHttpClientConnectionRequestBuilder.kt Maven / Gradle / Ivy

There is a newer version: 5.0.2
Show newest version
package com.fireflysource.net.http.client.impl

import com.fireflysource.net.http.client.HttpClientConnection
import com.fireflysource.net.http.client.HttpClientResponse
import com.fireflysource.net.http.common.model.HttpURI
import com.fireflysource.net.http.common.model.HttpVersion
import java.util.concurrent.CompletableFuture

class AsyncHttpClientConnectionRequestBuilder(
    private val connection: HttpClientConnection,
    method: String,
    uri: HttpURI,
    httpVersion: HttpVersion
) : AbstractHttpClientRequestBuilder(method, uri, httpVersion) {

    override fun submit(): CompletableFuture = connection.send(httpRequest)

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy