xdmprotocols/XcapProtocol/XcapHttpTransport/inc/XcapHttpReqPut.h
branchRCL_3
changeset 17 2669f8761a99
parent 16 2580314736af
child 18 fbd2e7cec7ef
equal deleted inserted replaced
16:2580314736af 17:2669f8761a99
     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:   CXcapHttpReqPut
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __XCAPHTTPREQPUT__
       
    22 #define __XCAPHTTPREQPUT__
       
    23 
       
    24 // INCLUDES
       
    25 #include "http.h"
       
    26 #include "XcapHttpContSupplier.h"
       
    27 
       
    28 //CONSTANTS
       
    29 
       
    30 //FORWARD DECLARATIONS
       
    31 class CXcapHttpResponse;
       
    32 
       
    33 // CLASS DECLARATION
       
    34 NONSHARABLE_CLASS( CXcapHttpReqPut ) : public CXcapHttpContSupplier
       
    35     {
       
    36     public:
       
    37         
       
    38         /**
       
    39         * C++ default constructor is private.
       
    40         */      
       
    41         static CXcapHttpReqPut* NewL( const TDesC& aRequestUri, 
       
    42                                       RHTTPSession& aHttpSession,
       
    43                                       CXcapHttpAuthManager& aAuthManager,
       
    44                                       CXcapHttpTransport& aTransportMain );
       
    45 
       
    46          /**
       
    47         * Destructor.
       
    48         */      
       
    49         virtual ~CXcapHttpReqPut();
       
    50 
       
    51     private:  // Constructors and destructor
       
    52         
       
    53         /**
       
    54         * C++ default constructor is private.
       
    55         */      
       
    56         CXcapHttpReqPut( RHTTPSession& aHttpSession,
       
    57                          CXcapHttpAuthManager& aAuthManager,
       
    58                          CXcapHttpTransport& aTransportMain );
       
    59 
       
    60         /**
       
    61         * Copies the request data
       
    62         * @param aRequestData Data to be sent
       
    63         */
       
    64         virtual void ConstructRequestL();
       
    65 
       
    66         /**
       
    67         * Append data to the response buffer.
       
    68         */
       
    69         virtual RStringF ConstructMethodStringL();
       
    70 
       
    71     private:
       
    72         
       
    73         /**
       
    74         * Second-phase constructor.
       
    75         */ 
       
    76         void ConstructL();
       
    77         
       
    78     private: //Data
       
    79         
       
    80     };
       
    81 
       
    82 #endif
       
    83 
       
    84 // End of File