SerfCopyReqProcImpl.hxx (5f30f85e) SerfCopyReqProcImpl.hxx (3edf6992)
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

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

28{
29
30class SerfCopyReqProcImpl : public SerfRequestProcessorImpl
31{
32public:
33 SerfCopyReqProcImpl( const char* inSourcePath,
34 const DAVRequestHeaders& inRequestHeaders,
35 const char* inDestinationPath,
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

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

28{
29
30class SerfCopyReqProcImpl : public SerfRequestProcessorImpl
31{
32public:
33 SerfCopyReqProcImpl( const char* inSourcePath,
34 const DAVRequestHeaders& inRequestHeaders,
35 const char* inDestinationPath,
36 const bool inOverwrite );
36 const bool inOverwrite,
37 const char* inLockToken );
37
38 virtual ~SerfCopyReqProcImpl();
39
40 virtual
41 serf_bucket_t * createSerfRequestBucket( serf_request_t * inSerfRequest );
42
43protected:
44 virtual
45 void processChunkOfResponseData( const char* data, apr_size_t len );
46
47 virtual
48 void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket );
49
50private:
51 const char* mDestPathStr;
52 const bool mbOverwrite;
38
39 virtual ~SerfCopyReqProcImpl();
40
41 virtual
42 serf_bucket_t * createSerfRequestBucket( serf_request_t * inSerfRequest );
43
44protected:
45 virtual
46 void processChunkOfResponseData( const char* data, apr_size_t len );
47
48 virtual
49 void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket );
50
51private:
52 const char* mDestPathStr;
53 const bool mbOverwrite;
54 const char* mpLockToken;
53};
54
55} // namespace http_dav_ucp
56
57#endif // INCLUDED_SERFCOPYREQPROCIMPL_HXX
55};
56
57} // namespace http_dav_ucp
58
59#endif // INCLUDED_SERFCOPYREQPROCIMPL_HXX