Class Http4FileSystem
java.lang.Object
org.apache.commons.vfs2.provider.AbstractVfsComponent
org.apache.commons.vfs2.provider.AbstractFileSystem
org.apache.commons.vfs2.provider.http4.Http4FileSystem
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- FileSystem,- VfsComponent
Deprecated.
http4 file system.
- Since:
- 2.3
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedHttp4FileSystem(FileName rootName, FileSystemOptions fileSystemOptions, org.apache.http.client.HttpClient httpClient, org.apache.http.client.protocol.HttpClientContext httpClientContext) Deprecated.Constructs a new instance.
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidaddCapabilities(Collection<Capability> caps) Deprecated.Adds the capabilities of this file system.protected FileObjectcreateFile(AbstractFileName name) Deprecated.Creates a file object.protected voidDeprecated.Closes the underlying link used to access the files.protected org.apache.http.client.HttpClientDeprecated.Gets the internalHttpClientinstance.protected org.apache.http.client.protocol.HttpClientContextDeprecated.Gets the internalHttpClientContextinstance.protected URIDeprecated.Gets the internal baseURIinstance.Methods inherited from class org.apache.commons.vfs2.provider.AbstractFileSystemaddJunction, addListener, close, closeCommunicationLink, decorateFileObject, 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- 
Http4FileSystemprotected Http4FileSystem(FileName rootName, FileSystemOptions fileSystemOptions, org.apache.http.client.HttpClient httpClient, org.apache.http.client.protocol.HttpClientContext httpClientContext) Deprecated.Constructs a new instance.- Parameters:
- rootName- root base name
- fileSystemOptions- file system options
- httpClient-- HttpClientinstance
- httpClientContext-- HttpClientContextinstance
 
 
- 
- 
Method Details- 
addCapabilitiesDeprecated.Description copied from class:AbstractFileSystemAdds the capabilities of this file system.- Specified by:
- addCapabilitiesin class- AbstractFileSystem
- Parameters:
- caps- collections of Capabilities, can be immutable.
 
- 
createFileDeprecated.Description copied from class:AbstractFileSystemCreates 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.
 
- 
doCloseCommunicationLinkDeprecated.Description copied from class:AbstractFileSystemCloses the underlying link used to access the files.- Overrides:
- doCloseCommunicationLinkin class- AbstractFileSystem
 
- 
getHttpClientDeprecated.Gets the internalHttpClientinstance.- Returns:
- the internal HttpClientinstance
 
- 
getHttpClientContextDeprecated.Gets the internalHttpClientContextinstance.- Returns:
- the internal HttpClientContextinstance
 
- 
getInternalBaseURIDeprecated.Gets the internal baseURIinstance.- Returns:
- the internal base URIinstance
 
 
- 
org.apache.commons.vfs2.provider.http5.