Package org.jboss.net.protocol.resource
Class ResourceURLConnection
- java.lang.Object
-
- java.net.URLConnection
-
- org.jboss.net.protocol.DelegatingURLConnection
-
- org.jboss.net.protocol.resource.ResourceURLConnection
-
public class ResourceURLConnection extends DelegatingURLConnection
Provides access to system resources as a URLConnection.- Version:
- $Revision$
-
-
Field Summary
Fields Modifier and Type Field Description private static org.jboss.logging.Logger
log
-
Fields inherited from class org.jboss.net.protocol.DelegatingURLConnection
delegateConnection, delegateUrl
-
-
Constructor Summary
Constructors Constructor Description ResourceURLConnection(java.net.URL url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.net.URL
makeDelegateUrl(java.net.URL url)
-
Methods inherited from class org.jboss.net.protocol.DelegatingURLConnection
connect, getAllowUserInteraction, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getIfModifiedSince, getInputStream, getLastModified, getOutputStream, getPermission, getRequestProperty, getURL, getUseCaches, makeDelegateUrlConnection, setAllowUserInteraction, setDefaultUseCaches, setDoInput, setDoOutput, setIfModifiedSince, setRequestProperty, setUseCaches, toString
-
Methods inherited from class java.net.URLConnection
addRequestProperty, getConnectTimeout, getContentLengthLong, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getFileNameMap, getHeaderFieldLong, getHeaderFields, getReadTimeout, getRequestProperties, guessContentTypeFromName, guessContentTypeFromStream, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setFileNameMap, setReadTimeout
-
-
-
-
Method Detail
-
makeDelegateUrl
protected java.net.URL makeDelegateUrl(java.net.URL url) throws java.net.MalformedURLException, java.io.IOException
- Overrides:
makeDelegateUrl
in classDelegatingURLConnection
- Throws:
java.net.MalformedURLException
java.io.IOException
-
-