LibreOffice Module ucb (master)  1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
http_dav_ucp::SerfRequestProcessorImpl Class Referenceabstract

#include <SerfRequestProcessorImpl.hxx>

Inheritance diagram for http_dav_ucp::SerfRequestProcessorImpl:
[legend]

Public Member Functions

 SerfRequestProcessorImpl (const char *inPath, const DAVRequestHeaders &inRequestHeaders)
 
virtual ~SerfRequestProcessorImpl ()
 
virtual serf_bucket_t * createSerfRequestBucket (serf_request_t *inSerfRequest)=0
 
bool processSerfResponseBucket (serf_request_t *inSerfRequest, serf_bucket_t *inSerfResponseBucket, apr_pool_t *inAprPool, apr_status_t &outStatus)
 
void activateChunkedEncoding ()
 
void handleChunkedEncoding (serf_bucket_t *pRequestBucket, apr_int64_t nLength) const
 Turn chunked encoding on or off, depending on the result of useChunkedEncoding(). More...
 

Protected Member Functions

void setRequestHeaders (serf_bucket_t *inoutSerfHeaderBucket)
 
virtual void processChunkOfResponseData (const char *data, apr_size_t len)=0
 
virtual void handleEndOfResponseData (serf_bucket_t *inSerfResponseBucket)=0
 
const char * getPathStr () const
 
bool useChunkedEncoding () const
 

Private Attributes

const char * mPathStr
 
const DAVRequestHeadersmrRequestHeaders
 
bool mbUseChunkedEncoding
 

Detailed Description

Definition at line 31 of file SerfRequestProcessorImpl.hxx.

Constructor & Destructor Documentation

http_dav_ucp::SerfRequestProcessorImpl::SerfRequestProcessorImpl ( const char *  inPath,
const DAVRequestHeaders inRequestHeaders 
)

Definition at line 34 of file SerfRequestProcessorImpl.cxx.

http_dav_ucp::SerfRequestProcessorImpl::~SerfRequestProcessorImpl ( )
virtual

Definition at line 42 of file SerfRequestProcessorImpl.cxx.

Member Function Documentation

void http_dav_ucp::SerfRequestProcessorImpl::activateChunkedEncoding ( )
virtual serf_bucket_t* http_dav_ucp::SerfRequestProcessorImpl::createSerfRequestBucket ( serf_request_t *  inSerfRequest)
pure virtual
const char * http_dav_ucp::SerfRequestProcessorImpl::getPathStr ( ) const
protected
void http_dav_ucp::SerfRequestProcessorImpl::handleChunkedEncoding ( serf_bucket_t *  pRequestBucket,
apr_int64_t  nLength 
) const
virtual void http_dav_ucp::SerfRequestProcessorImpl::handleEndOfResponseData ( serf_bucket_t *  inSerfResponseBucket)
protectedpure virtual
virtual void http_dav_ucp::SerfRequestProcessorImpl::processChunkOfResponseData ( const char *  data,
apr_size_t  len 
)
protectedpure virtual
bool http_dav_ucp::SerfRequestProcessorImpl::processSerfResponseBucket ( serf_request_t *  inSerfRequest,
serf_bucket_t *  inSerfResponseBucket,
apr_pool_t *  inAprPool,
apr_status_t &  outStatus 
)
void http_dav_ucp::SerfRequestProcessorImpl::setRequestHeaders ( serf_bucket_t *  inoutSerfHeaderBucket)
protected
bool http_dav_ucp::SerfRequestProcessorImpl::useChunkedEncoding ( ) const
protected

Definition at line 56 of file SerfRequestProcessorImpl.cxx.

References mbUseChunkedEncoding.

Referenced by handleChunkedEncoding().

Member Data Documentation

bool http_dav_ucp::SerfRequestProcessorImpl::mbUseChunkedEncoding
private

Definition at line 72 of file SerfRequestProcessorImpl.hxx.

Referenced by activateChunkedEncoding(), and useChunkedEncoding().

const char* http_dav_ucp::SerfRequestProcessorImpl::mPathStr
private

Definition at line 70 of file SerfRequestProcessorImpl.hxx.

Referenced by getPathStr().

const DAVRequestHeaders& http_dav_ucp::SerfRequestProcessorImpl::mrRequestHeaders
private

Definition at line 71 of file SerfRequestProcessorImpl.hxx.

Referenced by setRequestHeaders().


The documentation for this class was generated from the following files: