@ThreadSafe public final class URLConnectionX extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
connect(URLConnection connector)
Same as connector.
|
static void |
setRequestCookies(URI uri,
URLConnection connector,
CookieHandler cookieHandler)
Sets the Cookie header in the connector preparatory to making a connection.
|
public static void connect(URLConnection connector) throws IOException
IOExceptionpublic static void setRequestCookies(URI uri, URLConnection connector, CookieHandler cookieHandler) throws IOException
IOException