@ApplicationScoped public class PathUrlFactory extends Object
| Constructor and Description |
|---|
PathUrlFactory() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDownloadFileUrl(Path path)
Returns the download URL for a given file provided by a servlet method.
|
String |
getUploadFileUrl(String path)
Returns the upload URL for a given file provided by a servlet method.
|
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.