ws1-network/com.airwatch.gateway.clients/AWUrlConnection/openConnection
openConnection¶
open fun openConnection(url: URL): URLConnection
Provides an instance of HttpsURLConnection to use for Integrated Authentication and tunnelling.
Parameters¶
| Name | Description |
|---|---|
| url | The URL to open the connection for. Non-null. |
Return¶
A URLConnection instance for the given URL, or null if url is null or empty.
Throws¶
| Exception | Condition |
|---|---|
| java.io.IOException | If an I/O error occurs while opening the connection. |