org.duraspace.fcrepo.cloudsync.service.rest
Class URIMapper

java.lang.Object
  extended by org.duraspace.fcrepo.cloudsync.service.rest.URIMapper

public final class URIMapper
extends Object


Method Summary
static String getId(URI uri)
          Gets the id for the given task, set, store, user, or taskLog URI.
static URI getUri(javax.ws.rs.core.UriInfo uriInfo, javax.servlet.http.HttpServletRequest req, String path)
          Gets a full URI for the given path, based on the request URI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getUri

public static URI getUri(javax.ws.rs.core.UriInfo uriInfo,
                         javax.servlet.http.HttpServletRequest req,
                         String path)
Gets a full URI for the given path, based on the request URI.


getId

public static String getId(URI uri)
Gets the id for the given task, set, store, user, or taskLog URI.



Copyright © 2012 DuraSpace. All Rights Reserved.