Interface DeeplinkUrlService
- All Known Implementing Classes:
DeeplinkUrlServiceImpl
public interface DeeplinkUrlService
The Interface DeeplinkUrlService. Service responsible for generating URLs for use with barcodes.
- Spring Bean ID:
- deeplinkUrlService
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classThe Class LongUrlInfo container for generated URL and forward or redirect info -
Method Summary
Modifier and TypeMethodDescriptiongenerateShortUrl(DeeplinkUrlModel deeplinkUrlModel, Object contextObject) Generate short url.generateUrl(String barcodeToken) Generate long url.parseTemplate(String template, org.apache.velocity.VelocityContext context) Parses the template.
-
Method Details
-
generateUrl
Generate long url.- Parameters:
barcodeToken- the barcode token- Returns:
- the LongUrlInfo object
-
generateShortUrl
Generate short url.- Parameters:
deeplinkUrlModel- the deeplink url modelcontextObject- the context object- Returns:
- the string
-
parseTemplate
Parses the template.- Parameters:
template- the templatecontext- the context- Returns:
- the string
-