com.stackify.api.common.http
public class HttpUrlConnections extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
readAndCloseInputStream(InputStream stream)
Reads all contents from the input stream and closes it
|
static void |
readAndCloseInputStreams(HttpURLConnection connection)
Reads and closes the input and error streams for a connection
|
public static void readAndCloseInputStreams(HttpURLConnection connection)
connection - The connectionpublic static void readAndCloseInputStream(InputStream stream)
stream - The input streamCopyright © 2014 Stackify, LLC. All Rights Reserved.