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

fi.linuxbox.upcloud.http.spi.HTTP.groovy Maven / Gradle / Ivy

There is a newer version: 0.0.7
Show newest version
package fi.linuxbox.upcloud.http.spi
/**
 * An interface which is implemented by the HTTP implementation.
 */
interface HTTP {
    /**
     * Returns the User-Agent string for this implementation.
     *
     * @return User-Agent string for this implementation.
     */
    String getUserAgent()

    /**
     * Execute the HTTP exchange asynchronously.
     *
     * 

* The request is described by the exchange, and the response must be sent to the callback in the exchange. *

* * @param exchange HTTP exchange to execute. */ void execute(final Exchange exchange) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy