Skip to content

ws1-network/com.airwatch.gateway.clients/AWUrlConnection/openStream

openStream

open fun openStream(url: URL): InputStream

Opens the connection for the given URL and returns its InputStream. If the proxy-aware connection cannot be established, this falls back to openStream.

Parameters

Name Description
url The URL to read from. Non-null.

Return

A non-null InputStream for reading the URL contents.

Throws

Exception Condition
java.io.IOException If an I/O error occurs while opening the stream.