public interface HttpConnector
For example, you can implement this to st custom timeouts.
| Modifier and Type | Field and Description |
|---|---|
static HttpConnector |
DEFAULT
Default implementation that uses
URL.openConnection(). |
| Modifier and Type | Method and Description |
|---|---|
HttpURLConnection |
connect(URL url)
Opens a connection to the given URL.
|
static final HttpConnector DEFAULT
URL.openConnection().HttpURLConnection connect(URL url) throws IOException
IOExceptionCopyright © 2014. All rights reserved.