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

#include <SerfPostReqProcImpl.hxx>

Inheritance diagram for http_dav_ucp::SerfPostReqProcImpl:
[legend]
Collaboration diagram for http_dav_ucp::SerfPostReqProcImpl:
[legend]

Public Member Functions

 SerfPostReqProcImpl (const char *inPath, const DAVRequestHeaders &inRequestHeaders, const char *inData, apr_size_t inDataLen, const char *inContentType, const char *inReferer, const rtl::Reference< SerfInputStream > &xioInStrm)
 
 SerfPostReqProcImpl (const char *inPath, const DAVRequestHeaders &inRequestHeaders, const char *inData, apr_size_t inDataLen, const char *inContentType, const char *inReferer, const css::uno::Reference< css::io::XOutputStream > &xioOutStrm)
 
virtual ~SerfPostReqProcImpl () override
 
virtual serf_bucket_t * createSerfRequestBucket (serf_request_t *inSerfRequest) override
 
- Public Member Functions inherited from http_dav_ucp::SerfRequestProcessorImpl
 SerfRequestProcessorImpl (const char *inPath, const DAVRequestHeaders &inRequestHeaders)
 
virtual ~SerfRequestProcessorImpl ()
 
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

virtual void processChunkOfResponseData (const char *data, apr_size_t len) override
 
virtual void handleEndOfResponseData (serf_bucket_t *inSerfResponseBucket) override
 
- Protected Member Functions inherited from http_dav_ucp::SerfRequestProcessorImpl
void setRequestHeaders (serf_bucket_t *inoutSerfHeaderBucket)
 
const char * getPathStr () const
 
bool useChunkedEncoding () const
 

Private Attributes

const char * mpPostData
 
apr_size_t mnPostDataLen
 
const char * mpContentType
 
const char * mpReferer
 
rtl::Reference< SerfInputStreamxInputStream
 
css::uno::Reference< css::io::XOutputStream > xOutputStream
 

Detailed Description

Definition at line 31 of file SerfPostReqProcImpl.hxx.

Constructor & Destructor Documentation

http_dav_ucp::SerfPostReqProcImpl::SerfPostReqProcImpl ( const char *  inPath,
const DAVRequestHeaders inRequestHeaders,
const char *  inData,
apr_size_t  inDataLen,
const char *  inContentType,
const char *  inReferer,
const rtl::Reference< SerfInputStream > &  xioInStrm 
)

Definition at line 29 of file SerfPostReqProcImpl.cxx.

http_dav_ucp::SerfPostReqProcImpl::SerfPostReqProcImpl ( const char *  inPath,
const DAVRequestHeaders inRequestHeaders,
const char *  inData,
apr_size_t  inDataLen,
const char *  inContentType,
const char *  inReferer,
const css::uno::Reference< css::io::XOutputStream > &  xioOutStrm 
)

Definition at line 46 of file SerfPostReqProcImpl.cxx.

http_dav_ucp::SerfPostReqProcImpl::~SerfPostReqProcImpl ( )
overridevirtual

Definition at line 63 of file SerfPostReqProcImpl.cxx.

Member Function Documentation

serf_bucket_t * http_dav_ucp::SerfPostReqProcImpl::createSerfRequestBucket ( serf_request_t *  inSerfRequest)
overridevirtual
void http_dav_ucp::SerfPostReqProcImpl::handleEndOfResponseData ( serf_bucket_t *  inSerfResponseBucket)
overrideprotectedvirtual

Implements http_dav_ucp::SerfRequestProcessorImpl.

Definition at line 119 of file SerfPostReqProcImpl.cxx.

void http_dav_ucp::SerfPostReqProcImpl::processChunkOfResponseData ( const char *  data,
apr_size_t  len 
)
overrideprotectedvirtual

Implements http_dav_ucp::SerfRequestProcessorImpl.

Definition at line 105 of file SerfPostReqProcImpl.cxx.

References xInputStream, and xOutputStream.

Member Data Documentation

apr_size_t http_dav_ucp::SerfPostReqProcImpl::mnPostDataLen
private

Definition at line 64 of file SerfPostReqProcImpl.hxx.

Referenced by createSerfRequestBucket().

const char* http_dav_ucp::SerfPostReqProcImpl::mpContentType
private

Definition at line 65 of file SerfPostReqProcImpl.hxx.

Referenced by createSerfRequestBucket().

const char* http_dav_ucp::SerfPostReqProcImpl::mpPostData
private

Definition at line 63 of file SerfPostReqProcImpl.hxx.

Referenced by createSerfRequestBucket().

const char* http_dav_ucp::SerfPostReqProcImpl::mpReferer
private

Definition at line 66 of file SerfPostReqProcImpl.hxx.

Referenced by createSerfRequestBucket().

rtl::Reference< SerfInputStream > http_dav_ucp::SerfPostReqProcImpl::xInputStream
private

Definition at line 67 of file SerfPostReqProcImpl.hxx.

Referenced by processChunkOfResponseData().

css::uno::Reference< css::io::XOutputStream > http_dav_ucp::SerfPostReqProcImpl::xOutputStream
private

Definition at line 68 of file SerfPostReqProcImpl.hxx.

Referenced by processChunkOfResponseData().


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