dsto.dfc.net.streams.object
Class ObjectURLConnection
java.lang.Object
java.net.URLConnection
dsto.dfc.net.streams.object.ObjectURLConnection
public class ObjectURLConnection
- extends URLConnection
The URLConnection implementation used by Handler
.
- Version:
- $Revision$
Method Summary |
void |
connect()
'Connect' by trying to instantiate the path of the URL as a Java
class. |
Object |
getContent()
|
Methods inherited from class java.net.URLConnection |
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getInputStream, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString |
ObjectURLConnection
public ObjectURLConnection(URL url)
connect
public void connect()
throws IOException
- 'Connect' by trying to instantiate the path of the URL as a Java
class.
- Specified by:
connect
in class URLConnection
- Throws:
IOException
getContent
public Object getContent()
throws IOException
- Overrides:
getContent
in class URLConnection
- Throws:
IOException
Copyright © 2008 Commonwealth of Australia