Class GetResponse

All Implemented Interfaces:

@Internal public final class GetResponse extends KeyValueBaseResponse
Represents the response of a GetRequest.
  • Constructor Details

    • GetResponse

      public GetResponse(ResponseStatus status, byte[] content, long cas, int flags)
  • 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.