org.exoplatform.services.rest
Class ResourceIdentifier
java.lang.Object
org.exoplatform.services.rest.ResourceIdentifier
public class ResourceIdentifier
- extends Object
Created by The eXo Platform SAS .
- Version:
- $Id: $
- Author:
- Gennady Azarenkov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceIdentifier
public ResourceIdentifier(String host,
String baseURI,
String relURI)
- Parameters:
host - the host name.baseURI - the base URI.relURI - the relative URI.
ResourceIdentifier
public ResourceIdentifier(String baseURI,
String relURI)
- Parameters:
baseURI - the base URI.relURI - the relative URI.
ResourceIdentifier
public ResourceIdentifier(String relURI)
- Parameters:
relURI - the relative URI Relative URI used for identification
ResourceContainer with can serve the request.
getHost
public String getHost()
- Returns:
- the host.
getURI
public String getURI()
- Returns:
- the relative URI.
getBaseURI
public String getBaseURI()
- Returns:
- the base URI.
initParameters
public void initParameters(URIPattern pattern)
- Initialize the URI parameters.
- Parameters:
pattern - the URIPattern.- See Also:
.
getParameters
public Map<String,String> getParameters()
- Returns:
- the key-value pairs of URI parameters.
Copyright © 2009 eXo Platform SAS. All Rights Reserved.