类 DefaultUrlManager
java.lang.Object
com.onlyoffice.manager.url.DefaultUrlManager
- 所有已实现的接口:
UrlManager
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getCallbackUrl(String bucket, String fileId) Returns the URL to the callback handler.getCreateUrl(String bucket, String fileId) Returns the URL to create a new file with the ID specified in the request.Returns the URL to the Document Server API.Returns the URL to the Document Server Preloader API.Returns the URL to the Document Server.getFileUrl(String bucket, String fileId) Returns the URL to download a file with the ID specified in the request.getGobackUrl(String bucket, String fileId) Returns the URL to the location folder of a file with the ID specified in the request.Returns the inner URL to the Document Server.getServiceUrl(RequestedService requestedService) Returns the URL to the service using the requested service properties specified in the request.getTestConvertUrl(String url) Returns the URL to the test file.Replaces the internal URL from the Document Server with the Document Server URL.Replaces the URL to the Document Server with the internal one.sanitizeUrl(String url) Removes the trailing slash from the URL if it exists.voidsetSettingsManager(SettingsManager settingsManager)
-
构造器详细资料
-
DefaultUrlManager
-
-
方法详细资料
-
getSettingsManager
-
setSettingsManager
-
getDocumentServerUrl
从接口复制的说明:UrlManagerReturns the URL to the Document Server.- 指定者:
getDocumentServerUrl在接口中UrlManager- 返回:
- The URL to the Document Server.
-
getInnerDocumentServerUrl
从接口复制的说明:UrlManagerReturns the inner URL to the Document Server.- 指定者:
getInnerDocumentServerUrl在接口中UrlManager- 返回:
- The inner URL to the Document Server.
-
getDocumentServerApiUrl
从接口复制的说明:UrlManagerReturns the URL to the Document Server API.- 指定者:
getDocumentServerApiUrl在接口中UrlManager- 返回:
- The URL to the Document Server API.
-
getDocumentServerPreloaderApiUrl
从接口复制的说明:UrlManagerReturns the URL to the Document Server Preloader API.- 指定者:
getDocumentServerPreloaderApiUrl在接口中UrlManager- 返回:
- The URL to the Document Server Preloader API.
-
getServiceUrl
从接口复制的说明:UrlManagerReturns the URL to the service using the requested service properties specified in the request.- 指定者:
getServiceUrl在接口中UrlManager- 参数:
requestedService- The requested service.- 返回:
- The URL to ONLYOFFICE service.
-
sanitizeUrl
从接口复制的说明:UrlManagerRemoves the trailing slash from the URL if it exists.- 指定者:
sanitizeUrl在接口中UrlManager- 参数:
url- The URL to the Document Server.- 返回:
- The URL without the trailing slash.
-
replaceToDocumentServerUrl
从接口复制的说明:UrlManagerReplaces the internal URL from the Document Server with the Document Server URL.- 指定者:
replaceToDocumentServerUrl在接口中UrlManager- 参数:
url- The internal URL from the Document Server.- 返回:
- The URL start with Document Server URL.
-
replaceToInnerDocumentServerUrl
从接口复制的说明:UrlManagerReplaces the URL to the Document Server with the internal one.- 指定者:
replaceToInnerDocumentServerUrl在接口中UrlManager- 参数:
url- The URL to the Document Server.- 返回:
- The internal URL.
-
getFileUrl
从接口复制的说明:UrlManagerReturns the URL to download a file with the ID specified in the request.- 指定者:
getFileUrl在接口中UrlManager- 参数:
bucket- The file bucket.fileId- The file ID.- 返回:
- The URL to download a file.
-
getCallbackUrl
从接口复制的说明:UrlManagerReturns the URL to the callback handler.- 指定者:
getCallbackUrl在接口中UrlManager- 参数:
bucket- The file bucket.fileId- The file ID.- 返回:
- The URL to the callback handler.
-
getGobackUrl
从接口复制的说明:UrlManagerReturns the URL to the location folder of a file with the ID specified in the request.- 指定者:
getGobackUrl在接口中UrlManager- 参数:
bucket- The file bucket.fileId- The file ID.- 返回:
- The URL to the file location folder.
-
getCreateUrl
从接口复制的说明:UrlManagerReturns the URL to create a new file with the ID specified in the request.- 指定者:
getCreateUrl在接口中UrlManager- 参数:
bucket- The file bucket.fileId- The file ID.- 返回:
- The URL to create a new file.
-
getTestConvertUrl
从接口复制的说明:UrlManagerReturns the URL to the test file.- 指定者:
getTestConvertUrl在接口中UrlManager- 参数:
url- The URL to the integration Product.- 返回:
- The URL to the test file.
-