JBoss VFS 3.1.0.Final-redhat-2

org.jboss.vfs.protocol
Class AbstractURLConnection

java.lang.Object
  extended by java.net.URLConnection
      extended by 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

Field Summary
 
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
 
Constructor Summary
protected AbstractURLConnection(URL url)
           
 
Method Summary
 String getContentType()
           
 String getHeaderField(String name)
           
protected abstract  String getName()
           
protected static URI toURI(URL url)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractURLConnection

protected AbstractURLConnection(URL url)
Method Detail

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()

JBoss VFS 3.1.0.Final-redhat-2

Copyright © 2012 JBoss, A division of Red Hat, Inc. All Rights Reserved.