Interface PathResolver

  • All Known Implementing Classes:
    PathResolver.Defaults

    public interface PathResolver
    Implementations resolve host path elements.
    • Method Detail

      • getRootPath

        String getRootPath()
        Return the root path for a DAV server implementation.
        Returns:
        a string representing the root path of a repository URL.
      • getPrincipalPath

        String getPrincipalPath​(String calendarId)
        Return the principal collection path for a DAV server implementation.
        Parameters:
        calendarId - a calendar id
        Returns:
        a string representing the path to the principal collection for a calendar
      • getRepositoryRoot

        String getRepositoryRoot​(String resourcePath,
                                 String wspPath)
        Return the resource path (e.g. calendar collection) for a DAV server implementation.
        Parameters:
        resourcePath - a path component representing a resource
        Returns:
        a string representing the repository path to the resource