public BucketResponse streamBucket(String bucket) {
return streamBucket(bucket, null);
}
BucketResponse listBucket(String bucket, RequestMeta meta, boolean streamResponse) {
HttpResponse r = helper.listBucket(bucket, meta, streamResponse);
try {
return getBucketResponse(r);
} catch (JSONException e) {
try {
return new BucketResponse(helper.toss(new RiakResponseRuntimeException(r, e)));