Class PathUrlFactory
- java.lang.Object
-
- org.dashbuilder.common.client.backend.PathUrlFactory
-
@ApplicationScoped public class PathUrlFactory extends Object
Factory for the generation of URL for accessing GIT files on backend.
-
-
Constructor Summary
Constructors Constructor Description PathUrlFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDownloadFileUrl(String path)Returns the download URL for a given file provided by a servlet method.StringgetDownloadFileUrl(org.uberfire.backend.vfs.Path path)Returns the download URL for a given file provided by a servlet method.StringgetUploadFileUrl(String path)Returns the upload URL for a given file provided by a servlet method.
-
-
-
Method Detail
-
getDownloadFileUrl
public String getDownloadFileUrl(org.uberfire.backend.vfs.Path path)
Returns the download URL for a given file provided by a servlet method.
- Parameters:
path- The path of the file.
-
getDownloadFileUrl
public String getDownloadFileUrl(String path)
Returns the download URL for a given file provided by a servlet method.
- Parameters:
path- The path of the file.
-
-