public class URLConnectionUtil extends Object
URLConnection
. Primarily provides an approach to gracefully close an instance of URLConnection
(i.e. make sure the connection's input stream is closed).Constructor and Description |
---|
URLConnectionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
closeURLConnection(URLConnection urlConnection) |
public static void closeURLConnection(URLConnection urlConnection)
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.