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 URLConnection
Abstract base class for VFS URLConection impls.
- Version:
- $Revision$
- Author:
- John Bailey
Methods inherited from class java.net.URLConnection |
addRequestProperty, connect, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getInputStream, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString |
AbstractURLConnection
protected AbstractURLConnection(URL url)
getHeaderField
public String getHeaderField(String name)
- Overrides:
getHeaderField
in class URLConnection
getContentType
public String getContentType()
- Overrides:
getContentType
in class URLConnection
toURI
protected static URI toURI(URL url)
throws IOException
- Throws:
IOException
getName
protected abstract String getName()
Copyright © 2011 JBoss, A division of Red Hat, Inc. All Rights Reserved.