Class ConnectionUtils
- java.lang.Object
-
- software.amazon.awssdk.regions.internal.util.ConnectionUtils
-
public class ConnectionUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description ConnectionUtils()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpURLConnection
connectToEndpoint(URI endpoint, Map<String,String> headers)
HttpURLConnection
connectToEndpoint(URI endpoint, Map<String,String> headers, String method)
static ConnectionUtils
create()
-
-
-
Method Detail
-
create
public static ConnectionUtils create()
-
connectToEndpoint
public HttpURLConnection connectToEndpoint(URI endpoint, Map<String,String> headers) throws IOException
- Throws:
IOException
-
connectToEndpoint
public HttpURLConnection connectToEndpoint(URI endpoint, Map<String,String> headers, String method) throws IOException
- Throws:
IOException
-
-