SerfRequestProcessorImpl.hxx (e9ff7e89) SerfRequestProcessorImpl.hxx (10e20387)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 35 unchanged lines hidden (view full) ---

44 bool processSerfResponseBucket( serf_request_t * inSerfRequest,
45
46 serf_bucket_t * inSerfResponseBucket,
47 apr_pool_t * inAprPool,
48 apr_status_t & outStatus );
49
50 void activateChunkedEncoding();
51
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 35 unchanged lines hidden (view full) ---

44 bool processSerfResponseBucket( serf_request_t * inSerfRequest,
45
46 serf_bucket_t * inSerfResponseBucket,
47 apr_pool_t * inAprPool,
48 apr_status_t & outStatus );
49
50 void activateChunkedEncoding();
51
52 /** Turn chunked encoding on or off, dependeing on the result of
53 useChunkedEncoding().
54 */
55 void handleChunkedEncoding (
56 serf_bucket_t* pRequestBucket,
57 apr_int64_t nLength) const;
58
52protected:
53 void setRequestHeaders( serf_bucket_t* inoutSerfHeaderBucket );
54
55 /*pure*/ virtual
56 void processChunkOfResponseData( const char* data, apr_size_t len ) = 0;
57
58 /*pure*/ virtual
59 void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket ) = 0;

--- 13 unchanged lines hidden ---
59protected:
60 void setRequestHeaders( serf_bucket_t* inoutSerfHeaderBucket );
61
62 /*pure*/ virtual
63 void processChunkOfResponseData( const char* data, apr_size_t len ) = 0;
64
65 /*pure*/ virtual
66 void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket ) = 0;

--- 13 unchanged lines hidden ---