org.glassfish.jersey.examples.shortener.webapp.service
Class ShortenerService
java.lang.Object
org.glassfish.jersey.examples.shortener.webapp.service.ShortenerService
public final class ShortenerService
- extends Object
Service responsible for shortening links and storing shortened links in memory.
- Author:
- Michal Gajdos (michal.gajdos at oracle.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShortenerService
public ShortenerService()
shortenLink
public static ShortenedLink shortenLink(URI baseUri,
String link)
getLink
public static ShortenedLink getLink(String link)
containsLink
public static boolean containsLink(ShortenedLink link)
Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.