|
1 /* |
|
2 * Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: CXcapHttpReqMkcol |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __XCAPHTTPREQMKCOL__ |
|
19 #define __XCAPHTTPREQMKCOL__ |
|
20 |
|
21 // INCLUDES |
|
22 #include "http.h" |
|
23 #include "XcapHttpContSupplier.h" |
|
24 |
|
25 //CONSTANTS |
|
26 _LIT8( KXcapRequestMkcol, "MKCOL" ); |
|
27 |
|
28 //FORWARD DECLARATIONS |
|
29 class CXcapHttpResponse; |
|
30 |
|
31 // CLASS DECLARATION |
|
32 NONSHARABLE_CLASS( CXcapHttpReqMkcol ) : public CXcapHttpContSupplier |
|
33 { |
|
34 public: |
|
35 |
|
36 /** |
|
37 * C++ default constructor is private. |
|
38 */ |
|
39 static CXcapHttpReqMkcol* NewL( const TDesC& aRequestUri, |
|
40 RHTTPSession& aHttpSession, |
|
41 CXcapHttpAuthManager& aAuthManager, |
|
42 CXcapHttpTransport& aTransportMain ); |
|
43 |
|
44 /** |
|
45 * Destructor. |
|
46 */ |
|
47 virtual ~CXcapHttpReqMkcol(); |
|
48 |
|
49 private: // Constructors and destructor |
|
50 |
|
51 /** |
|
52 * C++ default constructor is private. |
|
53 */ |
|
54 CXcapHttpReqMkcol( RHTTPSession& aHttpSession, |
|
55 CXcapHttpAuthManager& aAuthManager, |
|
56 CXcapHttpTransport& aTransportMain ); |
|
57 |
|
58 /** |
|
59 * Copies the request data |
|
60 * @param aRequestData Data to be sent |
|
61 */ |
|
62 virtual void ConstructRequestL(); |
|
63 |
|
64 /** |
|
65 * Append data to the response buffer. |
|
66 */ |
|
67 virtual RStringF ConstructMethodStringL(); |
|
68 |
|
69 private: |
|
70 |
|
71 /** |
|
72 * Second-phase constructor. |
|
73 */ |
|
74 void ConstructL(); |
|
75 |
|
76 private: //Data |
|
77 |
|
78 }; |
|
79 |
|
80 #endif |
|
81 |
|
82 // End of File |