Class HttpFileSystem
java.lang.Object
org.apache.commons.vfs2.provider.AbstractVfsComponent
org.apache.commons.vfs2.provider.AbstractFileSystem
org.apache.commons.vfs2.provider.http.HttpFileSystem
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- FileSystem,- VfsComponent
Deprecated.
An HTTP file system.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedHttpFileSystem(GenericFileName rootName, org.apache.commons.httpclient.HttpClient httpClient, FileSystemOptions fileSystemOptions) Deprecated.Constructs a new instance.
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidaddCapabilities(Collection<Capability> caps) Deprecated.Adds the capabilities of this file system.voidDeprecated.Closes the underlying link used to access the files.protected FileObjectcreateFile(AbstractFileName name) Deprecated.Creates a file object.protected org.apache.commons.httpclient.HttpClientDeprecated.Gets the HTTP client.Methods inherited from class org.apache.commons.vfs2.provider.AbstractFileSystemaddJunction, addListener, close, decorateFileObject, doCloseCommunicationLink, doReplicateFile, fireFileChanged, fireFileCreated, fireFileDeleted, getAttribute, getFileFromCache, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, getRootURI, hasCapability, init, isOpen, isReleaseable, notifyAllStreamsClosed, putFileToCache, removeFileFromCache, removeJunction, removeListener, replicateFile, resolveFile, resolveFile, setAttributeMethods inherited from class org.apache.commons.vfs2.provider.AbstractVfsComponentgetContext, getLogger, setContext, setLogger
- 
Constructor Details- 
HttpFileSystemprotected HttpFileSystem(GenericFileName rootName, org.apache.commons.httpclient.HttpClient httpClient, FileSystemOptions fileSystemOptions) Deprecated.Constructs a new instance.- Parameters:
- rootName- root base name
- httpClient-- HttpClientinstance
- fileSystemOptions- Options to build this file system.
 
 
- 
- 
Method Details- 
addCapabilitiesDeprecated.Adds the capabilities of this file system.- Specified by:
- addCapabilitiesin class- AbstractFileSystem
- Parameters:
- caps- collections of Capabilities, can be immutable.
 
- 
closeCommunicationLinkDeprecated.Description copied from class:AbstractFileSystemCloses the underlying link used to access the files.- Overrides:
- closeCommunicationLinkin class- AbstractFileSystem
- Since:
- 2.0
 
- 
createFileDeprecated.Creates a file object. This method is called only if the requested file is not cached.- Specified by:
- createFilein class- AbstractFileSystem
- Parameters:
- name- name referencing the new file.
- Returns:
- new created FileObject.
- Throws:
- Exception- might throw an Exception, which is then wrapped in FileSystemException.
 
- 
getClientDeprecated.Gets the HTTP client.- Returns:
- the HttpClient.
 
 
- 
org.apache.commons.vfs2.provider.http5.