public class BaseUri extends Object
| Constructor and Description |
|---|
BaseUri(URI uri)
Creates a new
BaseUri with the given URI as base. |
| Modifier and Type | Method and Description |
|---|---|
String |
getRepositoryLookupPath(NativeWebRequest request)
Extracts the actual lookup path within the Spring Data REST managed URI space.
|
String |
getRepositoryLookupPath(String lookupPath)
Extracts the actual lookup path within the Spring Data REST managed URI space.
|
URI |
getUri()
Returns the base URI.
|
public static final BaseUri NONE
public URI getUri()
public String getRepositoryLookupPath(NativeWebRequest request)
request - must not be null.public String getRepositoryLookupPath(String lookupPath)
lookupPath - must not be null.Copyright © 2011-2014-2014 Pivotal Software, Inc.. All Rights Reserved.