NetKernel APIs


com.ten60.netkernel.util
Class NetKernelURLConnection

java.lang.Object
  extended byjava.net.URLConnection
      extended bycom.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


Field Summary
 
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
 
Constructor Summary
NetKernelURLConnection(URL aURL, Container aContainer)
          Creates a new instance of Handler
 
Method Summary
 void connect()
           
 InputStream getInputStream()
           
 void setRequestHeader(String name, String value)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetKernelURLConnection

public NetKernelURLConnection(URL aURL,
                              Container aContainer)
                       throws IOException
Creates a new instance of Handler

Method Detail

setRequestHeader

public void setRequestHeader(String name,
                             String value)

getInputStream

public InputStream getInputStream()
                           throws IOException
Throws:
IOException

connect

public void connect()
             throws IOException
Throws:
IOException

NetKernel APIs


Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.