Class 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
    • Field Summary

      • Fields inherited from class java.net.URLConnection

        allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AbstractURLConnection

        protected AbstractURLConnection​(java.net.URL url)
    • Method Detail

      • getHeaderField

        public java.lang.String getHeaderField​(java.lang.String name)
        Overrides:
        getHeaderField in class java.net.URLConnection
      • getContentType

        public java.lang.String getContentType()
        Overrides:
        getContentType in class java.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()