1.1 --- a/epoc32/include/http/rhttpresponse.h Tue Mar 16 16:12:26 2010 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,85 +0,0 @@
1.4 -// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 -// All rights reserved.
1.6 -// This component and the accompanying materials are made available
1.7 -// 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
1.8 -// which accompanies this distribution, and is available
1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.10 -//
1.11 -// Initial Contributors:
1.12 -// Nokia Corporation - initial contribution.
1.13 -//
1.14 -// Contributors:
1.15 -//
1.16 -// Description:
1.17 -//
1.18 -
1.19 -
1.20 -
1.21 -/**
1.22 - @file RHTTPResponse.h
1.23 - @warning : This file contains Rose Model ID comments - please do not delete
1.24 -*/
1.25 -
1.26 -#ifndef __RHTTPRESPONSE_H__
1.27 -#define __RHTTPRESPONSE_H__
1.28 -
1.29 -// System includes
1.30 -#include <e32std.h>
1.31 -#include <http/rhttpmessage.h>
1.32 -#include <stringpool.h>
1.33 -
1.34 -
1.35 -//##ModelId=3A375D1203B5
1.36 -class RHTTPResponse : public RHTTPMessage
1.37 -/**
1.38 -An HTTP Response. This class extends the abstract HTTP Message to add an HTTP
1.39 -version, a status code and status text.
1.40 -@publishedAll
1.41 -@released
1.42 -*/
1.43 - {
1.44 -public:
1.45 - /**Get Methods
1.46 - Methods for reading information from the response.
1.47 - */
1.48 - //@{
1.49 - /**
1.50 - Returns the status code
1.51 - */
1.52 - //##ModelId=3A914DF801B3
1.53 - IMPORT_C TInt StatusCode() const;
1.54 - /** Returns the status text, that is the text after the number on
1.55 - the first line of the response. */
1.56 - //##ModelId=3A914DF80195
1.57 - IMPORT_C RStringF StatusText() const;
1.58 - /**
1.59 - Returns the version of HTTP used by the server
1.60 - */
1.61 - //##ModelId=3A914DF80163
1.62 - IMPORT_C TVersion Version() const;
1.63 - //@}
1.64 - /** Set Methods
1.65 -
1.66 - Methods for setting information. These methods will not be of
1.67 - use to the client; they are intended for the use of advanced
1.68 - filters
1.69 - */
1.70 - //@{
1.71 - /** Sets the status code.
1.72 - */
1.73 - //##ModelId=3A3765310382
1.74 - IMPORT_C void SetStatusCode(TInt aStatus);
1.75 - /// Sets the status string
1.76 - //##ModelId=3A914DF8019F
1.77 - IMPORT_C void SetStatusText(RStringF aStatusString);
1.78 - /// Sets the HTTP version
1.79 - //##ModelId=3A914DF8016D
1.80 - IMPORT_C void SetVersion(TVersion aVersion);
1.81 - //@}
1.82 -
1.83 - friend class CResponse;
1.84 - };
1.85 -
1.86 -
1.87 -
1.88 -#endif // __RHTTPRESPONSE_H__