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

com.github.davidmoten.aws.lw.client.HttpClient Maven / Gradle / Ivy

Go to download

Lightweight client for all AWS services (but still with useful builders and XML parser)

The newest version!
package com.github.davidmoten.aws.lw.client;

import java.io.IOException;
import java.net.URL;
import java.util.Map;

import com.github.davidmoten.aws.lw.client.internal.HttpClientDefault;

public interface HttpClient {

    ResponseInputStream request(URL endpointUrl, String httpMethod, Map headers,
            byte[] requestBody, int connectTimeoutMs, int readTimeoutMs) throws IOException;

    static HttpClient defaultClient() {
        return HttpClientDefault.INSTANCE;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy