Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
1 // Copyright (c) 2001-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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
20 @warning : This file contains Rose Model ID comments - please do not delete
23 #ifndef __RHTTPREQUEST_H__
24 #define __RHTTPREQUEST_H__
28 #include <stringpool.h>
29 #include <http/rhttpmessage.h>
32 //##ModelId=3C4C186E0191
33 class RHTTPRequest : public RHTTPMessage
35 An HTTP Request. This class extends the abstract HTTP Message to add an HTTP
36 method to be invoked on the resource at the remote HTTP server, and the URL that
37 identifies that resource.
44 Methods for reading information from the response.
47 /// Gets the method name
48 /// @return The method to be used in the HTTP request.
49 //##ModelId=3C4C186E01B3
50 IMPORT_C RStringF Method() const;
52 /// @return The URI to be used in the HTTP request.
53 //##ModelId=3C4C186E01B2
54 IMPORT_C const TUriC8& URI() const;
58 Methods for setting information. These methods will not be of
59 use to the client; they are intended for the use of advanced
63 /// Sets the method name
64 /// @param aMethod The method name to be used in the HTTP request.
65 //##ModelId=3C4C186E01B0
66 IMPORT_C void SetMethod(RStringF aMethod);
68 /// @param aURI The URI to be used in the HTTP request.
69 //##ModelId=3C4C186E01A6
70 IMPORT_C void SetURIL(const TUriC8& aURI);
73 friend class CRequest;
77 #endif // __RHTTPREQUEST_H__