org.apache.commons.vfs2.provider.http5
.@Deprecated public class Http4FileSystem extends AbstractFileSystem
Modifier | Constructor and Description |
---|---|
protected |
Http4FileSystem(FileName rootName,
FileSystemOptions fileSystemOptions,
org.apache.http.client.HttpClient httpClient,
org.apache.http.client.protocol.HttpClientContext httpClientContext)
Deprecated.
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addCapabilities(Collection<Capability> caps)
Deprecated.
Adds the capabilities of this file system.
|
protected FileObject |
createFile(AbstractFileName name)
Deprecated.
Creates a file object.
|
protected void |
doCloseCommunicationLink()
Deprecated.
Closes the underlying link used to access the files.
|
protected org.apache.http.client.HttpClient |
getHttpClient()
Deprecated.
Gets the internal
HttpClient instance. |
protected org.apache.http.client.protocol.HttpClientContext |
getHttpClientContext()
Deprecated.
Gets the internal
HttpClientContext instance. |
protected URI |
getInternalBaseURI()
Deprecated.
Gets the internal base
URI instance. |
addJunction, 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, setAttribute
getContext, getLogger, setContext, setLogger
protected Http4FileSystem(FileName rootName, FileSystemOptions fileSystemOptions, org.apache.http.client.HttpClient httpClient, org.apache.http.client.protocol.HttpClientContext httpClientContext)
rootName
- root base namefileSystemOptions
- file system optionshttpClient
- HttpClient
instancehttpClientContext
- HttpClientContext
instanceprotected void addCapabilities(Collection<Capability> caps)
AbstractFileSystem
addCapabilities
in class AbstractFileSystem
caps
- collections of Capabilities, can be immutable.protected FileObject createFile(AbstractFileName name) throws Exception
AbstractFileSystem
This method is called only if the requested file is not cached.
createFile
in class AbstractFileSystem
name
- name referencing the new file.Exception
- might throw an Exception, which is then wrapped in FileSystemException.protected void doCloseCommunicationLink()
AbstractFileSystem
doCloseCommunicationLink
in class AbstractFileSystem
protected org.apache.http.client.HttpClient getHttpClient()
HttpClient
instance.HttpClient
instanceprotected org.apache.http.client.protocol.HttpClientContext getHttpClientContext()
HttpClientContext
instance.HttpClientContext
instanceprotected URI getInternalBaseURI()
URI
instance.URI
instanceCopyright © 2002–2025 The Apache Software Foundation. All rights reserved.