Class ServiceConfig.Webdav
- All Implemented Interfaces:
ServiceConfig
- Enclosing interface:
ServiceConfig
-
Nested Class Summary
Nested classes/interfaces inherited from interface ServiceConfig
ServiceConfig.AliyunDrive, ServiceConfig.Alluxio, ServiceConfig.Azblob, ServiceConfig.Azdls, ServiceConfig.Azfile, ServiceConfig.B2, ServiceConfig.Cacache, ServiceConfig.CloudflareKv, ServiceConfig.Compfs, ServiceConfig.Cos, ServiceConfig.D1, ServiceConfig.Dashmap, ServiceConfig.Dbfs, ServiceConfig.Dropbox, ServiceConfig.Etcd, ServiceConfig.Foyer, ServiceConfig.Fs, ServiceConfig.Gcs, ServiceConfig.Gdrive, ServiceConfig.Ghac, ServiceConfig.Github, ServiceConfig.Goosefs, ServiceConfig.Gridfs, ServiceConfig.HdfsNative, ServiceConfig.Hf, ServiceConfig.Http, ServiceConfig.Ipfs, ServiceConfig.Ipmfs, ServiceConfig.Koofr, ServiceConfig.Lakefs, ServiceConfig.Memcached, ServiceConfig.Memory, ServiceConfig.MiniMoka, ServiceConfig.Moka, ServiceConfig.Mongodb, ServiceConfig.Monoiofs, ServiceConfig.Mysql, ServiceConfig.Obs, ServiceConfig.Onedrive, ServiceConfig.Opfs, ServiceConfig.Oss, ServiceConfig.Pcloud, ServiceConfig.Persy, ServiceConfig.Postgresql, ServiceConfig.Redb, ServiceConfig.Redis, ServiceConfig.S3, ServiceConfig.Seafile, ServiceConfig.Sftp, ServiceConfig.Sled, ServiceConfig.Sqlite, ServiceConfig.Surrealdb, ServiceConfig.Swift, ServiceConfig.Tos, ServiceConfig.Upyun, ServiceConfig.VercelArtifacts, ServiceConfig.VercelBlob, ServiceConfig.Webdav, ServiceConfig.Webhdfs, ServiceConfig.YandexDisk -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal BooleanDeprecated.WebDAV copy capability is enabled by default and this option is no longer needed.final BooleanDisable automatic parent directory creation before write operations.final BooleanDeprecated.WebDAV user metadata capability is enabled by default.final Stringendpoint of this backendfinal Stringpassword of this backendfinal Stringroot of this backendfinal Stringtoken of this backendfinal StringThe XML namespace prefix for user metadata properties.final StringThe XML namespace URI for user metadata properties.final Stringusername of this backend -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
disableCopy
Deprecated.WebDAV copy capability is enabled by default and this option is no longer needed.Deprecated: WebDAV copy capability is enabled by default.
-
disableCreateDir
Disable automatic parent directory creation before write operations.
By default, OpenDAL creates parent directories using MKCOL before writing files. This requires PROPFIND support to check directory existence.
Some WebDAV-compatible servers (e.g., bazel-remote) don't support PROPFIND or don't require explicit directory creation. Enable this option to skip the MKCOL calls and write files directly.
Default: false
-
enableUserMetadata
Deprecated.WebDAV user metadata capability is enabled by default. Use CapabilityOverrideLayer to override write_with_user_metadata for endpoints without PROPPATCH support.Deprecated: WebDAV user metadata capability is enabled by default.
-
endpoint
endpoint of this backend
-
password
password of this backend
-
root
root of this backend
-
token
token of this backend
-
userMetadataPrefix
The XML namespace prefix for user metadata properties.
This prefix is used in PROPPATCH/PROPFIND XML requests. Different servers may require different prefixes.
Default: "opendal"
-
userMetadataUri
The XML namespace URI for user metadata properties.
This URI uniquely identifies the namespace for custom properties. Different servers may require different namespace URIs. For example, Nextcloud might work better with its own namespace.
Default:
https://opendal.apache.org/ns -
username
username of this backend
-
-
Constructor Details
-
Webdav
public Webdav()
-
-
Method Details
-
scheme
Description copied from interface:ServiceConfigThe scheme of the service.- Specified by:
schemein interfaceServiceConfig- Returns:
- the scheme
-
configMap
Description copied from interface:ServiceConfigConvert the structured config to a type erased config map.- Specified by:
configMapin interfaceServiceConfig- Returns:
- the config map
-