|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.util.io.Connections
public class Connections
URLConnection related utilities
| Method Summary | |
|---|---|
static void |
close(URLConnection connection)
Closes a connection |
static void |
closeQuietly(URLConnection connection)
Closes a connection, ignoring any exceptions if they occur |
static Time |
getLastModified(URL url)
Gets last modified date of the given URL |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Time getLastModified(URL url)
throws IOException
URL
url -
null if not available
IOExceptionpublic static void closeQuietly(URLConnection connection)
connection -
public static void close(URLConnection connection)
throws IOException
connection -
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||