return _request;
}
private String bindPathKeys()
{
UriTemplate template = new UriTemplate(_request.getBaseUriTemplate());
@SuppressWarnings("unchecked")
Map<String, Object> pathKeys = _request.getPathKeys();
Map<String, String> escapedKeys = new HashMap<String, String>();
for(Map.Entry<String, Object> entry : pathKeys.entrySet())
{
String value = URIParamUtils.encodeKeyForUri(entry.getValue(), UriComponent.Type.PATH_SEGMENT, _version);
if (value == null)
{
throw new IllegalArgumentException("Missing value for path key " + entry.getKey());
}
escapedKeys.put(entry.getKey(), value);
}
return template.createURI(escapedKeys);
}