Package org.apache.commons.vfs2.provider
Class DefaultURLConnection
java.lang.Object
java.net.URLConnection
org.apache.commons.vfs2.provider.DefaultURLConnection
A default URL connection that will work for most file systems.
- 
Field SummaryFields inherited from class java.net.URLConnectionallowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
- 
Constructor SummaryConstructorsConstructorDescriptionDefaultURLConnection(URL url, FileContent fileContent) Constructs a new instance.
- 
Method SummaryMethods inherited from class java.net.URLConnectionaddRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentLengthLong, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString
- 
Constructor Details- 
DefaultURLConnectionConstructs a new instance.- Parameters:
- url- The URL to connect.
- fileContent- The URL fileContent.
 
 
- 
- 
Method Details- 
connect- Specified by:
- connectin class- URLConnection
 
- 
getContentEncoding- Overrides:
- getContentEncodingin class- URLConnection
 
- 
getContentLength- Overrides:
- getContentLengthin class- URLConnection
 
- 
getContentType- Overrides:
- getContentTypein class- URLConnection
 
- 
getInputStream- Overrides:
- getInputStreamin class- URLConnection
- Throws:
- IOException
 
- 
getLastModified- Overrides:
- getLastModifiedin class- URLConnection
 
- 
getOutputStream- Overrides:
- getOutputStreamin class- URLConnection
- Throws:
- IOException
 
 
-