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,FileProvider,VfsComponent
A provider for WebDAV based on HTTP4.
- Since:
- 2.5.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UserAuthenticationData.Type[]Deprecated.Might be removed in the next major version.protected static final Collection<Capability> The capabilities of the WebDAV provider.static final Collection<Capability> The capabilities of the WebDAV provider. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected FileSystemdoCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions) Creates aFileSystem.Methods inherited from class org.apache.commons.vfs2.provider.http4.Http4FileProvider
createHttpClient, createHttpClientBuilder, createHttpClientContext, createSSLContextMethods inherited from class org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider
findFile, findFile, getFileSystemMethods inherited from class org.apache.commons.vfs2.provider.AbstractFileProvider
addFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getFileNameParser, parseUri, setFileNameParserMethods inherited from class org.apache.commons.vfs2.provider.AbstractVfsContainer
addComponent, removeComponentMethods inherited from class org.apache.commons.vfs2.provider.AbstractVfsComponent
getContext, getLogger, init, setContext, setLogger
-
Field Details
-
AUTHENTICATOR_TYPES
Deprecated.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 FileSystem doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions) throws 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
FileObjectin the FileSystem, then be sure to use correct signature of theFileSystemManagerresolveFile method.- Overrides:
doCreateFileSystemin classHttp4FileProvider- Throws:
FileSystemException- See Also:
-
getCapabilities
- Specified by:
getCapabilitiesin interfaceFileProvider- Overrides:
getCapabilitiesin classHttp4FileProvider
-
getConfigBuilder
- Specified by:
getConfigBuilderin interfaceFileProvider- Overrides:
getConfigBuilderin classHttp4FileProvider
-