Class Webdav4FileProvider
java.lang.Object
org.apache.commons.vfs2.provider.AbstractVfsComponent
org.apache.commons.vfs2.provider.AbstractVfsContainer
org.apache.commons.vfs2.provider.AbstractFileProvider
org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider
org.apache.commons.vfs2.provider.http4.Http4FileProvider
org.apache.commons.vfs2.provider.webdav4.Webdav4FileProvider
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.commons.vfs2.provider.FileProvider
,org.apache.commons.vfs2.provider.VfsComponent
A provider for WebDAV based on HTTP4.
- Since:
- 2.5.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.commons.vfs2.UserAuthenticationData.Type[]
Deprecated.Might be removed in the next major version.protected static final Collection<org.apache.commons.vfs2.Capability>
The capabilities of the WebDAV provider.static final Collection<org.apache.commons.vfs2.Capability>
The capabilities of the WebDAV provider. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.commons.vfs2.FileSystem
doCreateFileSystem
(org.apache.commons.vfs2.FileName name, org.apache.commons.vfs2.FileSystemOptions fileSystemOptions) Creates aFileSystem
.Collection<org.apache.commons.vfs2.Capability>
org.apache.commons.vfs2.FileSystemConfigBuilder
Methods inherited from class org.apache.commons.vfs2.provider.http4.Http4FileProvider
createHttpClient, createHttpClientBuilder, createHttpClientContext, createSSLContext
Methods inherited from class org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider
findFile, findFile, getFileSystem
Methods inherited from class org.apache.commons.vfs2.provider.AbstractFileProvider
addFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getFileNameParser, parseUri, setFileNameParser
Methods inherited from class org.apache.commons.vfs2.provider.AbstractVfsContainer
addComponent, removeComponent
Methods inherited from class org.apache.commons.vfs2.provider.AbstractVfsComponent
getContext, getLogger, init, setContext, setLogger
-
Field Details
-
AUTHENTICATOR_TYPES
@Deprecated public static final org.apache.commons.vfs2.UserAuthenticationData.Type[] AUTHENTICATOR_TYPESDeprecated.Might be removed in the next major version.The authenticator types used by the WebDAV provider. -
DEFAULT_CAPABILITIES
The capabilities of the WebDAV provider. -
capabilities
The capabilities of the WebDAV provider.
-
-
Constructor Details
-
Webdav4FileProvider
public Webdav4FileProvider()Constructs a new instance.
-
-
Method Details
-
doCreateFileSystem
protected org.apache.commons.vfs2.FileSystem doCreateFileSystem(org.apache.commons.vfs2.FileName name, org.apache.commons.vfs2.FileSystemOptions fileSystemOptions) throws org.apache.commons.vfs2.FileSystemException Creates aFileSystem
.If you're looking at this method and wondering how to get a FileSystemOptions object bearing the proxy host and credentials configuration through to this method so it's used for resolving a
FileObject
in the FileSystem, then be sure to use correct signature of theFileSystemManager
resolveFile method.- Overrides:
doCreateFileSystem
in classorg.apache.commons.vfs2.provider.http4.Http4FileProvider
- Throws:
org.apache.commons.vfs2.FileSystemException
- See Also:
-
DefaultFileSystemManager.resolveFile(FileObject, String, FileSystemOptions)
-
getCapabilities
- Specified by:
getCapabilities
in interfaceorg.apache.commons.vfs2.provider.FileProvider
- Overrides:
getCapabilities
in classorg.apache.commons.vfs2.provider.http4.Http4FileProvider
-
getConfigBuilder
- Specified by:
getConfigBuilder
in interfaceorg.apache.commons.vfs2.provider.FileProvider
- Overrides:
getConfigBuilder
in classorg.apache.commons.vfs2.provider.http4.Http4FileProvider
-