public interface BinaryResponse extends CouchbaseResponse, ReferenceCounted
Marker interface which signals a binary response.
Modifier and Type | Method and Description |
---|---|
String |
bucket()
The name of the bucket where this response is coming from.
|
ByteBuf |
content()
Contains the content of the response, potentially null or empty.
|
long |
serverDuration()
Returns the reported server duration, if set.
|
BinaryResponse |
serverDuration(long duration)
Sets the server duration.
|
short |
serverStatusCode() |
request, status, statusDetails, statusDetails
creationTime
ByteBuf content()
Contains the content of the response, potentially null or empty.
String bucket()
The name of the bucket where this response is coming from.
short serverStatusCode()
long serverDuration()
Returns the reported server duration, if set.
BinaryResponse serverDuration(long duration)
Sets the server duration.
duration
- the duration to set.Copyright © 2018 Couchbase, Inc.. All rights reserved.