Class ServiceConfig.Webdav
- All Implemented Interfaces:
ServiceConfig
- Enclosing interface:
ServiceConfig
-
Nested Class Summary
Nested classes/interfaces inherited from interface ServiceConfig
ServiceConfig.Akamai, ServiceConfig.AliyunDrive, ServiceConfig.Azblob, ServiceConfig.Azdls, ServiceConfig.Azfile, ServiceConfig.B2, ServiceConfig.B2S3, ServiceConfig.Cacache, ServiceConfig.CephRgw, ServiceConfig.CloudflareKv, ServiceConfig.Compfs, ServiceConfig.Cos, ServiceConfig.CosS3, ServiceConfig.D1, ServiceConfig.Dashmap, ServiceConfig.Dbfs, ServiceConfig.Dropbox, ServiceConfig.Etcd, ServiceConfig.Exoscale, ServiceConfig.Foyer, ServiceConfig.Fs, ServiceConfig.Garage, ServiceConfig.Gcs, ServiceConfig.GcsGrpc, ServiceConfig.GcsS3, ServiceConfig.Gdrive, ServiceConfig.Ghac, ServiceConfig.Github, ServiceConfig.Goosefs, ServiceConfig.Gridfs, ServiceConfig.HdfsNative, ServiceConfig.Hetzner, ServiceConfig.Hf, ServiceConfig.Http, ServiceConfig.IbmCos, ServiceConfig.IdriveE2, ServiceConfig.Ionos, ServiceConfig.Ipfs, ServiceConfig.Ipmfs, ServiceConfig.Koofr, ServiceConfig.Lakefs, ServiceConfig.LakefsS3, ServiceConfig.Memcached, ServiceConfig.Memory, ServiceConfig.MiniMoka, ServiceConfig.Minio, ServiceConfig.Moka, ServiceConfig.Mongodb, ServiceConfig.Monoiofs, ServiceConfig.Mysql, ServiceConfig.Neon, ServiceConfig.Obs, ServiceConfig.ObsS3, ServiceConfig.Oci, ServiceConfig.Onedrive, ServiceConfig.Opfs, ServiceConfig.Oss, ServiceConfig.OssS3, ServiceConfig.Ovhcloud, ServiceConfig.Pcloud, ServiceConfig.Persy, ServiceConfig.Postgresql, ServiceConfig.Qingstor, ServiceConfig.R2, ServiceConfig.Redb, ServiceConfig.Redis, ServiceConfig.Rustfs, ServiceConfig.S3, ServiceConfig.Scaleway, ServiceConfig.Seafile, ServiceConfig.Seaweedfs, ServiceConfig.Sftp, ServiceConfig.Sled, ServiceConfig.Spaces, ServiceConfig.Sqlite, ServiceConfig.Storj, ServiceConfig.Supabase, ServiceConfig.Surrealdb, ServiceConfig.Swift, ServiceConfig.SwiftS3api, ServiceConfig.Tigris, ServiceConfig.Tos, ServiceConfig.TosS3, ServiceConfig.Upyun, ServiceConfig.VercelArtifacts, ServiceConfig.VercelBlob, ServiceConfig.Wasabi, 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 writing files.final BooleanDisable native recursive listing with WebDAV'sDepth: infinity.final BooleanDeprecated.WebDAV conditional read capabilities are enabled by default.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 writing files.
By default, OpenDAL checks for parent directories using
PROPFINDand creates missing directories usingMKCOLbefore writing files. Enable this option to skip those checks andMKCOLcalls for servers such asbazel-remote.Explicit
create_dircalls are unaffected.Default:
false -
disableDepthInfinity
Disable native recursive listing with WebDAV's
Depth: infinity.Set this to
truefor servers that reject or ignore infinity depth. With capability simulation enabled, OpenDAL walks the directory tree usingDepth: 1requests instead.The default is
false. -
enableConditionalRead
Deprecated.WebDAV conditional read capabilities are enabled by default. Use CapabilityOverrideLayer to override read_with_if_match, read_with_if_none_match, read_with_if_modified_since and read_with_if_unmodified_since for endpoints without ETag support.Deprecated: WebDAV conditional read capabilities are enabled by default.
-
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.A map-valued field becomes one entry, under the field's option name, whose value is a JSON object string, such as
assume_role_session_tags={"Team":"data"}. The map's entries are not flattened into top-level entries. Its keys are sorted, an empty map becomes{}, and an unset field has no entry.- Specified by:
configMapin interfaceServiceConfig- Returns:
- the config map
-