public interface UrlManager
| Modifier and Type | Method and Description |
|---|---|
String |
getCallbackUrl(String fileId)
Returns the URL to the callback handler.
|
String |
getCreateUrl(String fileId)
Returns the URL to create a new file with the ID specified in the request.
|
String |
getDocumentServerApiUrl()
Returns the URL to the Document Server API.
|
String |
getDocumentServerApiUrl(String shardKey)
Returns the URL to the Document Server API with shardKey.
|
String |
getDocumentServerPreloaderApiUrl()
Returns the URL to the Document Server Preloader API.
|
String |
getDocumentServerUrl()
Returns the URL to the Document Server.
|
String |
getFileUrl(String fileId)
Returns the URL to download a file with the ID specified in the request.
|
String |
getGobackUrl(String fileId)
Returns the URL to the location folder of a file with the ID specified in the request.
|
String |
getInnerDocumentServerUrl()
Returns the inner URL to the Document Server.
|
String |
getServiceUrl(RequestedService requestedService)
Returns the URL to the service using the requested service properties specified in the request.
|
String |
getTestConvertUrl(String url)
Returns the URL to the test file.
|
String |
replaceToDocumentServerUrl(String url)
Replaces the internal URL from the Document Server with the Document Server URL.
|
String |
replaceToInnerDocumentServerUrl(String url)
Replaces the URL to the Document Server with the internal one.
|
String |
sanitizeUrl(String url)
Removes the trailing slash from the URL if it exists.
|
String getDocumentServerUrl()
String getInnerDocumentServerUrl()
String getDocumentServerApiUrl()
String getDocumentServerApiUrl(String shardKey)
shardKey - The shardKey parameter for insert to the URL query string.String getDocumentServerPreloaderApiUrl()
String getFileUrl(String fileId)
fileId - The file ID.String getCallbackUrl(String fileId)
fileId - The file ID.String getGobackUrl(String fileId)
fileId - The file ID.String getCreateUrl(String fileId)
fileId - The file ID.String getServiceUrl(RequestedService requestedService)
requestedService - The requested service.String sanitizeUrl(String url)
url - The URL to the Document Server.String replaceToDocumentServerUrl(String url)
url - The internal URL from the Document Server.String replaceToInnerDocumentServerUrl(String url)
url - The URL to the Document Server.Copyright © 2023–2024. All rights reserved.