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 Summary
Fields inherited from class URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class URLConnection
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentLengthLong, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, 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, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString
-
Constructor Details
-
DefaultURLConnection
-
-
Method Details
-
connect
- Specified by:
connectin classURLConnection
-
getInputStream
- Overrides:
getInputStreamin classURLConnection- Throws:
IOException
-
getOutputStream
- Overrides:
getOutputStreamin classURLConnection- Throws:
IOException
-
getLastModified
- Overrides:
getLastModifiedin classURLConnection
-
getContentLength
- Overrides:
getContentLengthin classURLConnection
-
getContentType
- Overrides:
getContentTypein classURLConnection
-
getContentEncoding
- Overrides:
getContentEncodingin classURLConnection
-