Class AbstractMountBuilder

java.lang.Object
org.cryptomator.frontend.webdav.mount.AbstractMountBuilder
All Implemented Interfaces:
org.cryptomator.integrations.mount.MountBuilder

public abstract class AbstractMountBuilder extends Object implements org.cryptomator.integrations.mount.MountBuilder
  • Field Details

    • vfsRoot

      protected final Path vfsRoot
    • volumeId

      protected String volumeId
    • port

      protected int port
  • Constructor Details

    • AbstractMountBuilder

      public AbstractMountBuilder(Path vfsRoot)
  • Method Details

    • setLoopbackPort

      public org.cryptomator.integrations.mount.MountBuilder setLoopbackPort(@org.jetbrains.annotations.Range(from=0L, to=32767L) int port)
      Specified by:
      setLoopbackPort in interface org.cryptomator.integrations.mount.MountBuilder
    • setVolumeId

      public org.cryptomator.integrations.mount.MountBuilder setVolumeId(String volumeId)
      Specified by:
      setVolumeId in interface org.cryptomator.integrations.mount.MountBuilder
    • getContextPath

      protected String getContextPath()
    • mount

      public final org.cryptomator.integrations.mount.Mount mount() throws org.cryptomator.integrations.mount.MountFailedException
      Specified by:
      mount in interface org.cryptomator.integrations.mount.MountBuilder
      Throws:
      org.cryptomator.integrations.mount.MountFailedException
    • mount

      protected abstract org.cryptomator.integrations.mount.Mount mount(WebDavServerHandle serverHandle, WebDavServletController servlet, URI uri) throws org.cryptomator.integrations.mount.MountFailedException
      Throws:
      org.cryptomator.integrations.mount.MountFailedException