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

#include <SerfGetReqProcImpl.hxx>

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

Public Member Functions

 SerfGetReqProcImpl (const char *inPath, const DAVRequestHeaders &inRequestHeaders, const rtl::Reference< SerfInputStream > &xioInStrm)
 
 SerfGetReqProcImpl (const char *inPath, const DAVRequestHeaders &inRequestHeaders, const rtl::Reference< SerfInputStream > &xioInStrm, const std::vector< OUString > &inHeaderNames, DAVResource &ioResource)
 
 SerfGetReqProcImpl (const char *inPath, const DAVRequestHeaders &inRequestHeaders, const css::uno::Reference< css::io::XOutputStream > &xioOutStrm)
 
 SerfGetReqProcImpl (const char *inPath, const DAVRequestHeaders &inRequestHeaders, const css::uno::Reference< css::io::XOutputStream > &xioOutStrm, const std::vector< OUString > &inHeaderNames, DAVResource &ioResource)
 
virtual ~SerfGetReqProcImpl () override
 
virtual serf_bucket_t * createSerfRequestBucket (serf_request_t *inSerfRequest) override
 
void processSingleResponseHeader (const char *inHeaderName, const char *inHeaderValue)
 
- 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

rtl::Reference< SerfInputStreamxInputStream
 
css::uno::Reference< css::io::XOutputStream > xOutputStream
 
const std::vector< OUString > * mpHeaderNames
 
DAVResourcempResource
 

Detailed Description

Definition at line 35 of file SerfGetReqProcImpl.hxx.

Constructor & Destructor Documentation

http_dav_ucp::SerfGetReqProcImpl::SerfGetReqProcImpl ( const char *  inPath,
const DAVRequestHeaders inRequestHeaders,
const rtl::Reference< SerfInputStream > &  xioInStrm 
)

Definition at line 27 of file SerfGetReqProcImpl.cxx.

http_dav_ucp::SerfGetReqProcImpl::SerfGetReqProcImpl ( const char *  inPath,
const DAVRequestHeaders inRequestHeaders,
const rtl::Reference< SerfInputStream > &  xioInStrm,
const std::vector< OUString > &  inHeaderNames,
DAVResource ioResource 
)

Definition at line 38 of file SerfGetReqProcImpl.cxx.

http_dav_ucp::SerfGetReqProcImpl::SerfGetReqProcImpl ( const char *  inPath,
const DAVRequestHeaders inRequestHeaders,
const css::uno::Reference< css::io::XOutputStream > &  xioOutStrm 
)

Definition at line 51 of file SerfGetReqProcImpl.cxx.

http_dav_ucp::SerfGetReqProcImpl::SerfGetReqProcImpl ( const char *  inPath,
const DAVRequestHeaders inRequestHeaders,
const css::uno::Reference< css::io::XOutputStream > &  xioOutStrm,
const std::vector< OUString > &  inHeaderNames,
DAVResource ioResource 
)

Definition at line 62 of file SerfGetReqProcImpl.cxx.

http_dav_ucp::SerfGetReqProcImpl::~SerfGetReqProcImpl ( )
overridevirtual

Definition at line 75 of file SerfGetReqProcImpl.cxx.

Member Function Documentation

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

Implements http_dav_ucp::SerfRequestProcessorImpl.

Definition at line 124 of file SerfGetReqProcImpl.cxx.

References mpHeaderNames, and mpResource.

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

Implements http_dav_ucp::SerfRequestProcessorImpl.

Definition at line 96 of file SerfGetReqProcImpl.cxx.

References xInputStream, and xOutputStream.

void http_dav_ucp::SerfGetReqProcImpl::processSingleResponseHeader ( const char *  inHeaderName,
const char *  inHeaderValue 
)

Member Data Documentation

const std::vector< OUString >* http_dav_ucp::SerfGetReqProcImpl::mpHeaderNames
private

Definition at line 76 of file SerfGetReqProcImpl.hxx.

Referenced by handleEndOfResponseData(), and processSingleResponseHeader().

DAVResource* http_dav_ucp::SerfGetReqProcImpl::mpResource
private

Definition at line 77 of file SerfGetReqProcImpl.hxx.

Referenced by handleEndOfResponseData(), and processSingleResponseHeader().

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

Definition at line 74 of file SerfGetReqProcImpl.hxx.

Referenced by processChunkOfResponseData().

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

Definition at line 75 of file SerfGetReqProcImpl.hxx.

Referenced by processChunkOfResponseData().


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