* If the links could not be walked or the result steps were not
* returned.
*/
public List<? extends List<? extends RiakObject>> walk(String bucket, String key, String walkSpec, RequestMeta meta)
throws RiakIOException, RiakResponseException {
WalkResponse r = impl.walk(bucket, key, walkSpec, meta);
if (r.getStatusCode() == 404)
return null;
if (r.getStatusCode() != 200)
throw new RiakResponseException(new RiakResponseRuntimeException(r, r.getBodyAsString()));
if (!r.hasSteps())
throw new RiakResponseException(new RiakResponseRuntimeException(r, "Failed to parse walk results"));
return r.getSteps();
}