Class GetResponse

java.lang.Object
com.couchbase.client.core.msg.BaseResponse
com.couchbase.client.core.msg.kv.GetResponse
All Implemented Interfaces:
Response

public class GetResponse
extends BaseResponse
Represents the response of a GetRequest.
Since:
2.0.0
  • 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.