Package org.jboss.vfs.protocol
Class AbstractURLConnection
- java.lang.Object
-
- java.net.URLConnection
-
- org.jboss.vfs.protocol.AbstractURLConnection
-
- Direct Known Subclasses:
FileURLConnection
public abstract class AbstractURLConnection extends java.net.URLConnection
Abstract base class for VFS URLConection impls.- Version:
- $Revision$
- Author:
- John Bailey
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractURLConnection(java.net.URL url)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContentType()
java.lang.String
getHeaderField(java.lang.String name)
protected abstract java.lang.String
getName()
protected static java.net.URI
toURI(java.net.URL url)
-
Methods inherited from class java.net.URLConnection
addRequestProperty, connect, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentLengthLong, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getInputStream, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString
-
-
-
-
Method Detail
-
getHeaderField
public java.lang.String getHeaderField(java.lang.String name)
- Overrides:
getHeaderField
in classjava.net.URLConnection
-
getContentType
public java.lang.String getContentType()
- Overrides:
getContentType
in classjava.net.URLConnection
-
toURI
protected static java.net.URI toURI(java.net.URL url) throws java.io.IOException
- Throws:
java.io.IOException
-
getName
protected abstract java.lang.String getName()
-
-