public class ConnectionUtils extends Object
| Modifier and Type | Method and Description | 
|---|---|
| HttpURLConnection | connectToEndpoint(URI endpoint,
                 Map<String,String> headers) | 
| HttpURLConnection | connectToEndpoint(URI endpoint,
                 Map<String,String> headers,
                 String method) | 
| static ConnectionUtils | getInstance() | 
| int | getTimeoutMillis() | 
public static ConnectionUtils getInstance()
public int getTimeoutMillis()
public HttpURLConnection connectToEndpoint(URI endpoint, Map<String,String> headers) throws IOException
IOExceptionpublic HttpURLConnection connectToEndpoint(URI endpoint, Map<String,String> headers, String method) throws IOException
IOExceptionCopyright © 2023. All rights reserved.