Package org.jboss.vfs.protocol
Class AbstractURLConnection
- java.lang.Object
-
- java.net.URLConnection
-
- org.jboss.vfs.protocol.AbstractURLConnection
-
- Direct Known Subclasses:
FileURLConnection,VirtualFileURLConnection
public abstract class AbstractURLConnection extends java.net.URLConnectionAbstract base class for VFS URLConection impls.- Version:
- $Revision$
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringcontentType
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractURLConnection(java.net.URL url)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContentType()java.lang.StringgetHeaderField(java.lang.String name)protected abstract java.lang.StringgetName()protected static java.net.URItoURI(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:
getHeaderFieldin classjava.net.URLConnection
-
getContentType
public java.lang.String getContentType()
- Overrides:
getContentTypein 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()
-
-