org.apache.geronimo.system.url.resource
Class ResourceURLConnection

java.lang.Object
  extended byjava.net.URLConnection
      extended byorg.apache.geronimo.system.url.DelegatingURLConnection
          extended byorg.apache.geronimo.system.url.resource.ResourceURLConnection

public class ResourceURLConnection
extends DelegatingURLConnection

Provides access to system resources as a URLConnection.

Version:
$Revision: 1.2 $ $Date: 2004/03/10 09:59:31 $

Field Summary
 
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)
           
 
Methods inherited from class org.apache.geronimo.system.url.DelegatingURLConnection
addRequestProperty, connect, 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, setAllowUserInteraction, setDefaultUseCaches, setDoInput, setDoOutput, setIfModifiedSince, setRequestProperty, setUseCaches, toString
 
Methods inherited from class java.net.URLConnection
getDefaultAllowUserInteraction, getDefaultRequestProperty, getFileNameMap, guessContentTypeFromName, guessContentTypeFromStream, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setFileNameMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceURLConnection

public ResourceURLConnection(URL url)
                      throws MalformedURLException,
                             IOException
Method Detail

makeDelegateUrl

protected URL makeDelegateUrl(URL url)
                       throws MalformedURLException,
                              IOException
Overrides:
makeDelegateUrl in class DelegatingURLConnection
Throws:
MalformedURLException
IOException


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.