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