xdmprotocols/XcapProtocol/XcapHttpTransport/inc/XcapHttpReqMkcol.h
changeset 0 c8caa15ef882
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/xdmprotocols/XcapProtocol/XcapHttpTransport/inc/XcapHttpReqMkcol.h	Tue Feb 02 01:05:17 2010 +0200
@@ -0,0 +1,82 @@
+/*
+* Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:   CXcapHttpReqMkcol
+*
+*/
+
+#ifndef __XCAPHTTPREQMKCOL__
+#define __XCAPHTTPREQMKCOL__
+
+// INCLUDES
+#include "http.h"
+#include "XcapHttpContSupplier.h"
+
+//CONSTANTS
+_LIT8( KXcapRequestMkcol, "MKCOL" );
+
+//FORWARD DECLARATIONS
+class CXcapHttpResponse;
+
+// CLASS DECLARATION
+NONSHARABLE_CLASS( CXcapHttpReqMkcol ) : public CXcapHttpContSupplier
+    {
+    public:
+        
+        /**
+        * C++ default constructor is private.
+        */      
+        static CXcapHttpReqMkcol* NewL( const TDesC& aRequestUri, 
+                                      RHTTPSession& aHttpSession,
+                                      CXcapHttpAuthManager& aAuthManager,
+                                      CXcapHttpTransport& aTransportMain );
+
+         /**
+        * Destructor.
+        */      
+        virtual ~CXcapHttpReqMkcol();
+
+    private:  // Constructors and destructor
+        
+        /**
+        * C++ default constructor is private.
+        */      
+        CXcapHttpReqMkcol( RHTTPSession& aHttpSession,
+                         CXcapHttpAuthManager& aAuthManager,
+                         CXcapHttpTransport& aTransportMain );
+
+        /**
+        * Copies the request data
+        * @param aRequestData Data to be sent
+        */
+        virtual void ConstructRequestL();
+
+        /**
+        * Append data to the response buffer.
+        */
+        virtual RStringF ConstructMethodStringL();
+
+    private:
+        
+        /**
+        * Second-phase constructor.
+        */ 
+        void ConstructL();
+        
+    private: //Data
+        
+    };
+
+#endif
+
+// End of File