public interface ResourceUrlBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getResourceBaseUrl()
Returns the Web service URL corresponding to the given resource.
|
String |
getResourceDeleteUrl(String id,
Map<String,Object> params)
Both id and params cannot be null.
|
String |
getResourceGetUrl(String id,
Map<String,Object> params)
Both id and params cannot be null.
|
String |
getResourcePatchUrl(String id)
Returns the URL for PUT'ing to the resource specified by the id.
|
String |
getResourcePostUrl()
Returns the URL for POST'ing to the resource.
|
String |
getResourcePutUrl(String id)
Returns the URL for PUT'ing to the resource specified by the id.
|
String getResourceBaseUrl()
String getResourceGetUrl(String id, Map<String,Object> params)
id - Resource id.params - URL query parameters to select a collection.String getResourcePostUrl()
String getResourcePutUrl(String id)
id - Resource id.String getResourcePatchUrl(String id)
id - Resource id.String getResourceDeleteUrl(String id, Map<String,Object> params)
id - Resource id.params - URL query parameters to select a collection.Copyright © 2013. All rights reserved.