org.openmdx.compatibility.kernel.url.protocol.xri
Class ResourceURLConnection

java.lang.Object
  extended by java.net.URLConnection
      extended by org.openmdx.kernel.url.protocol.AbstractURLConnection
          extended by org.openmdx.compatibility.kernel.url.protocol.xri.ResourceURLConnection

public class ResourceURLConnection
extends AbstractURLConnection

Provides access to system resources as an URLConnection.

Author:
Original author Jason Dillon

Field Summary
 
Fields inherited from class org.openmdx.kernel.url.protocol.AbstractURLConnection
delegate
 
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
 
Constructor Summary
ResourceURLConnection(URL url)
           
 
Method Summary
protected  URL makeDelegateUrl(URL url)
          This method must be by a subclass.
 
Methods inherited from class org.openmdx.kernel.url.protocol.AbstractURLConnection
addRequestProperty, connect, equals, getAllowUserInteraction, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getInputStream, getLastModified, getOutputStream, getPermission, getRequestProperties, getRequestProperty, getURL, getUseCaches, hashCode, makeDelegateUrlConnection, setAllowUserInteraction, setDefaultUseCaches, setDoInput, setDoOutput, setIfModifiedSince, setRequestProperty, setUseCaches, toString
 
Methods inherited from class java.net.URLConnection
getConnectTimeout, getDefaultAllowUserInteraction, getDefaultRequestProperty, getFileNameMap, getReadTimeout, guessContentTypeFromName, guessContentTypeFromStream, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setFileNameMap, setReadTimeout
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceURLConnection

public ResourceURLConnection(URL url)
                      throws IOException
Parameters:
url -
Throws:
IOException
Method Detail

makeDelegateUrl

protected URL makeDelegateUrl(URL url)
                       throws IOException
Description copied from class: AbstractURLConnection
This method must be by a subclass.

Specified by:
makeDelegateUrl in class AbstractURLConnection
Parameters:
url -
Returns:
the delegate URL
Throws:
IOException
MalformedURLException


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.