org.apache.commons.vfs.provider
Class DefaultURLConnection
java.lang.Object
java.net.URLConnection
org.apache.commons.vfs.provider.DefaultURLConnection
- public final class DefaultURLConnection
- extends URLConnection
A default URL connection that will work for most file systems.
- Version:
- $Revision: 170205 $ $Date: 2005-05-15 10:21:59 +0200 (Sun, 15 May 2005) $
- Author:
- Brian Olsen
Methods inherited from class java.net.URLConnection |
addRequestProperty, getAllowUserInteraction, getContent, getContent, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getLastModified, getPermission, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setRequestProperty, setUseCaches, toString |
DefaultURLConnection
public DefaultURLConnection(URL url,
FileContent content)
connect
public void connect()
getInputStream
public InputStream getInputStream()
throws IOException
- Throws:
IOException
getOutputStream
public OutputStream getOutputStream()
throws IOException
- Throws:
IOException
getContentLength
public int getContentLength()
getContentType
public String getContentType()
getContentEncoding
public String getContentEncoding()
Copyright © 2002-2005 The Apache Software Foundation. All Rights Reserved.