Class ServiceConfig.Webdav

java.lang.Object
org.apache.opendal.ServiceConfig.Webdav
All Implemented Interfaces:
ServiceConfig
Enclosing interface:
ServiceConfig

public static class ServiceConfig.Webdav extends Object implements ServiceConfig
Configuration for service webdav.
  • Field Details

    • disableCopy

      public final Boolean 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

      public final Boolean 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

      public final Boolean 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

      public final String endpoint

      endpoint of this backend

    • password

      public final String password

      password of this backend

    • root

      public final String root

      root of this backend

    • token

      public final String token

      token of this backend

    • userMetadataPrefix

      public final String 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

      public final String 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

      public final String username

      username of this backend

  • Constructor Details

    • Webdav

      public Webdav()
  • Method Details