public class ShortUrlService extends Object
| Constructor and Description |
|---|
ShortUrlService() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createShortener(String strUrl) |
static String |
createShortener(String strUrl,
boolean bUseOnce) |
static void |
deleteShortener(String strKey) |
static String |
getServletUrl(String strKey,
javax.servlet.http.HttpServletRequest request) |
static ShortUrl |
getShortener(String strKey) |
static Boolean |
isValidShortUrl(String strShortUrl)
Test if the BacUrl is a valid url
|
Copyright © 2019 City of Paris. All rights reserved.