com.couchbase.client.protocol.views
Interface HttpOperation

All Known Implementing Classes:
DesignDocFetcherOperationImpl, DesignDocOperationImpl, DocsOperationImpl, HttpOperationImpl, NoDocsOperationImpl, ReducedOperationImpl, SpatialViewFetcherOperationImpl, ViewFetcherOperationImpl, ViewOperationImpl

public interface HttpOperation

A Helper class for HttpOperation.


Method Summary
 void addAuthHeader(java.lang.String auth)
           
 void cancel()
           
 net.spy.memcached.ops.OperationCallback getCallback()
           
 net.spy.memcached.ops.OperationException getException()
           
 org.apache.http.HttpRequest getRequest()
           
 void handleResponse(org.apache.http.HttpResponse response)
           
 boolean hasErrored()
           
 boolean isCancelled()
           
 boolean isTimedOut()
           
 void timeOut()
           
 

Method Detail

getRequest

org.apache.http.HttpRequest getRequest()

getCallback

net.spy.memcached.ops.OperationCallback getCallback()

isCancelled

boolean isCancelled()

hasErrored

boolean hasErrored()

isTimedOut

boolean isTimedOut()

cancel

void cancel()

timeOut

void timeOut()

addAuthHeader

void addAuthHeader(java.lang.String auth)

getException

net.spy.memcached.ops.OperationException getException()

handleResponse

void handleResponse(org.apache.http.HttpResponse response)


Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.