public abstract class ViewOperationImpl extends HttpOperationImpl implements ViewOperation
ViewOperation.ViewCallback| Modifier and Type | Field and Description |
|---|---|
protected static net.spy.memcached.compat.log.Logger |
LOGGER |
callback, exception| Constructor and Description |
|---|
ViewOperationImpl(org.apache.http.HttpRequest r,
AbstractView view,
net.spy.memcached.ops.OperationCallback cb) |
| Modifier and Type | Method and Description |
|---|---|
AbstractView |
getView() |
void |
handleResponse(org.apache.http.HttpResponse response) |
protected abstract void |
parseError(java.lang.String json,
int errorcode) |
protected abstract ViewResponse |
parseResult(java.lang.String json) |
addAuthHeader, cancel, getCallback, getEntityString, getException, getRequest, hasErrored, isCancelled, isTimedOut, parseViewForStatus, setException, timeOut, toStringpublic ViewOperationImpl(org.apache.http.HttpRequest r,
AbstractView view,
net.spy.memcached.ops.OperationCallback cb)
public AbstractView getView()
public void handleResponse(org.apache.http.HttpResponse response)
handleResponse in interface HttpOperationhandleResponse in class HttpOperationImplprotected abstract void parseError(java.lang.String json,
int errorcode)
throws java.text.ParseException
java.text.ParseExceptionprotected abstract ViewResponse parseResult(java.lang.String json) throws java.text.ParseException
java.text.ParseExceptionCopyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.