com.ten60.netkernel.util
Class NetKernelURLConnection
java.lang.Object
java.net.URLConnection
com.ten60.netkernel.util.NetKernelURLConnection
- public class NetKernelURLConnection
- extends URLConnection
A URLConnection to a netkernel: scheme resource - uses internal transport
pretty basic implementation- doesn't do mime type or other such metadata
Methods inherited from class java.net.URLConnection |
addRequestProperty, getAllowUserInteraction, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getLastModified, getOutputStream, getPermission, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setRequestProperty, setUseCaches, toString |
NetKernelURLConnection
public NetKernelURLConnection(URL aURL,
Container aContainer)
throws IOException
- Creates a new instance of Handler
setRequestHeader
public void setRequestHeader(String name,
String value)
getInputStream
public InputStream getInputStream()
throws IOException
- Throws:
IOException
connect
public void connect()
throws IOException
- Throws:
IOException
Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.