epoc32/include/mw/http/rhttprequest.h
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     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
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    12 //
    12 //
    13 // Description:
    13 // Description:
    14 //
    14 //
    15 
    15 
    16 
       
    17 
       
    18 /**
    16 /**
    19  @file RHTTPRequest.h
    17  @file
    20  @warning : This file contains Rose Model ID comments - please do not delete
    18  @warning : This file contains Rose Model ID comments - please do not delete
    21 */
    19 */
    22 
    20 
    23 #ifndef __RHTTPREQUEST_H__
    21 #ifndef __RHTTPREQUEST_H__
    24 #define __RHTTPREQUEST_H__ 
    22 #define __RHTTPREQUEST_H__ 
    42  public:
    40  public:
    43 	/** Get Methods
    41 	/** Get Methods
    44 		Methods for reading information from the response.
    42 		Methods for reading information from the response.
    45 	*/
    43 	*/
    46 	//@{
    44 	//@{
    47 	/// Gets the method name
    45 	// Gets the method name
    48 	/// @return The method to be used in the HTTP request.
    46 	// @return The method to be used in the HTTP request.
    49 	//##ModelId=3C4C186E01B3
    47 	//##ModelId=3C4C186E01B3
    50 	IMPORT_C RStringF Method() const;
    48 	IMPORT_C RStringF Method() const;
    51 	/// Gets the URI
    49 	// Gets the URI
    52 	/// @return The URI to be used in the HTTP request.
    50 	// @return The URI to be used in the HTTP request.
    53 	//##ModelId=3C4C186E01B2
    51 	//##ModelId=3C4C186E01B2
    54 	IMPORT_C const TUriC8& URI() const;
    52 	IMPORT_C const TUriC8& URI() const;
    55 	//@}
    53 	//@}
    56 	/**Set Methods
    54 	/**Set Methods
    57 		
    55 		
    58 		Methods for setting information. These methods will not be of
    56 		Methods for setting information. These methods will not be of
    59 		use to the client; they are intended for the use of advanced
    57 		use to the client; they are intended for the use of advanced
    60 		filters
    58 		filters
    61 	*/
    59 	*/
    62 	//@{
    60 	//@{
    63 	/// Sets the method name
    61 	// Sets the method name
    64 	/// @param aMethod The method name to be used in the HTTP request.
    62 	// @param aMethod The method name to be used in the HTTP request.
    65 	//##ModelId=3C4C186E01B0
    63 	//##ModelId=3C4C186E01B0
    66 	IMPORT_C void  SetMethod(RStringF aMethod);
    64 	IMPORT_C void  SetMethod(RStringF aMethod);
    67 	/// Sets the URI
    65 	// Sets the URI
    68 	/// @param aURI The URI to be used in the HTTP request.
    66 	// @param aURI The URI to be used in the HTTP request.
    69 	//##ModelId=3C4C186E01A6
    67 	//##ModelId=3C4C186E01A6
    70 	IMPORT_C void SetURIL(const TUriC8& aURI);
    68 	IMPORT_C void SetURIL(const TUriC8& aURI);
    71 	//@}
    69 	//@}
    72 
    70 
    73 	friend class CRequest;
    71 	friend class CRequest;