public class URLConnector extends Object implements Connector, Serializable
Connector implementation using URLConnection.| Modifier and Type | Field and Description |
|---|---|
static URLConnector |
INSTANCE
Reusable, threadsafe
URLConnector instance. |
| Constructor and Description |
|---|
URLConnector() |
public static final URLConnector INSTANCE
URLConnector instance.public String get(String link) throws IOException
String.get in interface Connectorlink - a full link, including schemeString, never nullMalformedURLException - as thrown by URL.URL(String)IOException - if a problem occurred with the connectionCopyright © 2017. All rights reserved.