epoc32/include/mw/http/rhttprequest.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 epoc32/include/http/rhttprequest.h@2fe1408b6811
child 4 837f303aceeb
permissions -rw-r--r--
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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 
    17 
    18 /**
    19  @file RHTTPRequest.h
    20  @warning : This file contains Rose Model ID comments - please do not delete
    21 */
    22 
    23 #ifndef __RHTTPREQUEST_H__
    24 #define __RHTTPREQUEST_H__ 
    25 
    26 // System includes
    27 #include <uri8.h>
    28 #include <stringpool.h>
    29 #include <http/rhttpmessage.h>
    30 
    31 
    32 //##ModelId=3C4C186E0191
    33 class RHTTPRequest : public RHTTPMessage
    34 /** 
    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.
    38 @publishedAll
    39 @released
    40 */
    41 	{
    42  public:
    43 	/** Get Methods
    44 		Methods for reading information from the response.
    45 	*/
    46 	//@{
    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;
    51 	/// Gets the URI
    52 	/// @return The URI to be used in the HTTP request.
    53 	//##ModelId=3C4C186E01B2
    54 	IMPORT_C const TUriC8& URI() const;
    55 	//@}
    56 	/**Set Methods
    57 		
    58 		Methods for setting information. These methods will not be of
    59 		use to the client; they are intended for the use of advanced
    60 		filters
    61 	*/
    62 	//@{
    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);
    67 	/// Sets the URI
    68 	/// @param aURI The URI to be used in the HTTP request.
    69 	//##ModelId=3C4C186E01A6
    70 	IMPORT_C void SetURIL(const TUriC8& aURI);
    71 	//@}
    72 
    73 	friend class CRequest;
    74 	};
    75 
    76 
    77 #endif //	__RHTTPREQUEST_H__