public interface IShortUrlClientService
| Modifier and Type | Method and Description |
|---|---|
ShortUrlJsonResponse |
createShortener(String strUrl,
boolean bUseOnce,
javax.servlet.http.HttpServletRequest request)
create shortener Url
|
ShortUrlJsonResponse |
createShortener(String strUrl,
javax.servlet.http.HttpServletRequest request)
create shortener Url
|
boolean |
deleteShortener(String strKey,
javax.servlet.http.HttpServletRequest request)
Delete short url using short url key
|
void |
setServerBaseUrl(String serverUrl)
set serverUrl
|
ShortUrlJsonResponse createShortener(String strUrl, javax.servlet.http.HttpServletRequest request)
strUrl - the urlrequest - the requestShortUrlJsonResponse createShortener(String strUrl, boolean bUseOnce, javax.servlet.http.HttpServletRequest request)
strUrl - the urlbUseOnce - true if the shortUrl can be used just one timerequest - the requestboolean deleteShortener(String strKey, javax.servlet.http.HttpServletRequest request)
strKey - the sorturl keyrequest - the requestvoid setServerBaseUrl(String serverUrl)
strServerUrl - Copyright © 2019 City of Paris. All rights reserved.