org.jdesktop.wonderland.client.protocols.wlhttp
Class WlHttpURLConnection

java.lang.Object
  extended by java.net.URLConnection
      extended by org.jdesktop.wonderland.client.protocols.wlhttp.WlHttpURLConnection

public class WlHttpURLConnection
extends java.net.URLConnection

The WlHttpURLConnection class is the URL connection to URLs that have the 'wlhttp'. There are used to handle 'http' url's in the asset manager.

Author:
paulby

Field Summary
 
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
 
Constructor Summary
WlHttpURLConnection(java.net.URL url)
          Constructor, takes the 'wla' protocol URL as an argument
 
Method Summary
 void connect()
           
 java.io.InputStream getInputStream()
           
 
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WlHttpURLConnection

public WlHttpURLConnection(java.net.URL url)
Constructor, takes the 'wla' protocol URL as an argument

Parameters:
url - A URL with a 'wla' protocol
Method Detail

connect

public void connect()
             throws java.io.IOException
Specified by:
connect in class java.net.URLConnection
Throws:
java.io.IOException

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Overrides:
getInputStream in class java.net.URLConnection
Throws:
java.io.IOException


Open Wonderland - http://openwonderland.org