public class HttpFileSystem extends AbstractFileSystem
Modifier | Constructor and Description |
---|---|
protected |
HttpFileSystem(GenericFileName rootName,
org.apache.commons.httpclient.HttpClient client,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method and Description |
---|---|
protected void |
addCapabilities(Collection<Capability> caps)
Adds the capabilities of this file system.
|
void |
closeCommunicationLink()
Closes the underlying link used to access the files.
|
protected FileObject |
createFile(AbstractFileName name)
Creates a file object.
|
protected org.apache.commons.httpclient.HttpClient |
getClient() |
addJunction, 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, setAttribute
getContext, getLogger, setContext, setLogger
protected HttpFileSystem(GenericFileName rootName, org.apache.commons.httpclient.HttpClient client, FileSystemOptions fileSystemOptions)
protected void addCapabilities(Collection<Capability> caps)
addCapabilities
in class AbstractFileSystem
caps
- collections of Capabilities, can be immutable.public void closeCommunicationLink()
AbstractFileSystem
closeCommunicationLink
in class AbstractFileSystem
protected FileObject createFile(AbstractFileName name) throws Exception
createFile
in class AbstractFileSystem
name
- name referencing the new file.Exception
- might throw an Exception, which is then wrapped in FileSystemException.protected org.apache.commons.httpclient.HttpClient getClient()
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.