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
@Internal public final class GetResponse extends KeyValueBaseResponse
Represents the response of aGetRequest
.- Since:
- 2.0.0
-
-
Constructor Summary
Constructors Constructor Description GetResponse(ResponseStatus status, byte[] content, long cas, int flags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
cas()
Returns the CAS value of the document at the time of the fetch.byte[]
content()
Returns the content, but might be empty or null.int
flags()
Returns the flags of this document, if found.-
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 Detail
-
GetResponse
public GetResponse(ResponseStatus status, byte[] content, long cas, int flags)
-
-