Class Response

java.lang.Object
org.lightcouch.Response

public class Response extends Object
Contains the response returned from CouchDB.

The response typically contains an id and rev values, additional data might be returned such as error from Bulk request.

Since:
0.0.2
See Also:
  • Field Details

  • Constructor Details

    • Response

      public Response()
  • Method Details

    • getId

      public String getId()
      Returns:
      the id of the response
    • getRev

      public String getRev()
      Returns:
      the rev of the response
    • getError

      public String getError()
    • getReason

      public String getReason()
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      id and rev concatenated.