public interface HttpStack
| Modifier and Type | Method and Description |
|---|---|
HttpConnection |
createNewConnection(String method,
String url)
Creates a new connection for a given URL and HTTP Method.
|
HttpConnection createNewConnection(String method, String url) throws IOException
method - HTTP Methodurl - URL to which to connect toIOException - if an error occurs while creating the connection object