Package com.couchbase.client.core.msg.kv
Class GetResponse
java.lang.Object
com.couchbase.client.core.msg.BaseResponse
com.couchbase.client.core.msg.kv.KeyValueBaseResponse
com.couchbase.client.core.msg.kv.GetResponse
- All Implemented Interfaces:
Response
Represents the response of a
GetRequest
.- Since:
- 2.0.0
-
Constructor Summary
-
Method Summary
Methods inherited from class com.couchbase.client.core.msg.kv.KeyValueBaseResponse
flexibleExtras
Methods inherited from class com.couchbase.client.core.msg.BaseResponse
status, toString
-
Constructor Details
-
GetResponse
-
-
Method Details
-
content
public byte[] content()Returns the content, but might be empty or null. -
cas
public long cas()Returns the CAS value of the document at the time of the fetch. -
flags
public int flags()Returns the flags of this document, if found.
-