applayerprotocols/httptransportfw/Test/Integration/inc/testexplicitsessionstep.h
changeset 0 b16258d2340f
equal deleted inserted replaced
-1:000000000000 0:b16258d2340f
       
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef TESTEXPLICITSESSIONSTEP_H_
       
    17 #define TESTEXPLICITSESSIONSTEP_H_
       
    18 
       
    19 #include <http/rexplicithttpsession.h>
       
    20 #include "testhttpbasestep.h"
       
    21 
       
    22 _LIT(KTestExplicitSessionStep, "TestExplicitSessionStep");
       
    23 
       
    24 class CTestExplicitSessionStep : public CTestHttpBaseStep
       
    25 	{
       
    26 public:
       
    27 	CTestExplicitSessionStep();
       
    28 	virtual ~CTestExplicitSessionStep();
       
    29 	
       
    30 private:
       
    31     void StartClientL();
       
    32     void InvokeHttpMethodL(const TDesC8& aUri, RStringF aMethod);
       
    33 	
       
    34 	void MHFRunL(RHTTPTransaction aTransaction, const THTTPEvent& aEvent) ;
       
    35 	TInt MHFRunError(TInt aError, RHTTPTransaction aTransaction, const THTTPEvent& aEvent) ;
       
    36 	
       
    37 public:
       
    38 	RExplicitHTTPSession	iExplicitSession;
       
    39 	RHTTPSession			iSession;
       
    40 	};
       
    41 
       
    42 #endif /*TESTEXPLICITSESSIONSTEP_H_*/