xdmprotocols/XcapProtocol/XcapHttpTransport/inc/XcapHttpReqDelete.h
branchGCC_SURGE
changeset 28 d9861ae9169c
parent 23 77cb48a03620
parent 26 04ca1926b01c
equal deleted inserted replaced
23:77cb48a03620 28:d9861ae9169c
     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:  CXcapHttpReqDelete 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __XCAPHTTPREQDELETE__
       
    22 #define __XCAPHTTPREQDELETE__
       
    23 
       
    24 // INCLUDES
       
    25 #include "http.h"
       
    26 #include "XcapHttpRequest.h"
       
    27 
       
    28 //CONSTANTS
       
    29 
       
    30 //FORWARD DECLARATIONS
       
    31 class CXcapHttpResponse;
       
    32 
       
    33 // CLASS DECLARATION
       
    34 NONSHARABLE_CLASS( CXcapHttpReqDelete ) : public CXcapHttpRequest
       
    35     {
       
    36     public:
       
    37         
       
    38         /**
       
    39         * C++ default constructor is private.
       
    40         */      
       
    41         static CXcapHttpReqDelete* NewL( const TDesC& aRequestUri, 
       
    42                                          RHTTPSession& aHttpSession,
       
    43                                          CXcapHttpAuthManager& aAuthManager,
       
    44                                          CXcapHttpTransport& aTransportMain );
       
    45 
       
    46          /**
       
    47         * Destructor.
       
    48         */      
       
    49         virtual ~CXcapHttpReqDelete();
       
    50 
       
    51     private:  // Constructors and destructor
       
    52         
       
    53         /**
       
    54         * C++ default constructor is private.
       
    55         */      
       
    56         CXcapHttpReqDelete( 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