public abstract class AbstractCouchbaseResponse extends java.lang.Object implements CouchbaseResponse
The default representation of a CouchbaseResponse
.
Modifier | Constructor and Description |
---|---|
protected |
AbstractCouchbaseResponse(ResponseStatus status,
CouchbaseRequest request)
Sets the required properties for the response.
|
Modifier and Type | Method and Description |
---|---|
CouchbaseRequest |
request()
Stub method implementation which needs to be overriden by all responses that support cloning.
|
ResponseStatus |
status()
The typesafe status of the response.
|
java.lang.String |
toString() |
protected AbstractCouchbaseResponse(ResponseStatus status, CouchbaseRequest request)
Sets the required properties for the response.
status
- the status of the response.public ResponseStatus status()
CouchbaseResponse
The typesafe status of the response.
status
in interface CouchbaseResponse
public CouchbaseRequest request()
Stub method implementation which needs to be overriden by all responses that support cloning.
request
in interface CouchbaseResponse
public java.lang.String toString()
toString
in class java.lang.Object