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.
19 @file RHTTPFilterCollection.h
20 @warning : This file contains Rose Model ID comments - please do not delete
23 #ifndef __RHTTPFILTERCOLLECTION_H__
24 #define __RHTTPFILTERCOLLECTION_H__
28 #include <http/thttpevent.h>
29 #include <stringpool.h>
31 // Forward declarations
35 class THTTPFilterIterator;
38 //##ModelId=3C4C187C02B3
39 class RHTTPFilterCollection
41 A Handle on the filter collection in a session. It provides
42 facilities for adding and deleting filters and for querying what
43 filters are installed.
46 @see RHTTPSession::FilterCollection
47 @see MHTTPFilter::TPositions
51 //##ModelId=3C4C187C02F9
52 inline RHTTPFilterCollection();
54 //##ModelId=3C4C187C02E5
55 IMPORT_C void AddFilterL(MHTTPFilter& aFilter, THTTPEvent aEvent,
56 RStringF aHeader, TInt aStatusCode,
57 TInt aPosition, RStringF aName);
60 //##ModelId=3C4C187C02F1
61 IMPORT_C void AddFilterL(MHTTPFilter& aFilter, THTTPEvent aEvent,
62 TInt aPosition, RStringF aName);
64 //##ModelId=3C4C187C02DF
65 IMPORT_C TBool CanChangeFilters() const;
67 //##ModelId=3C4C187C02DD
68 IMPORT_C void RemoveFilter(RStringF aFilter);
70 //##ModelId=3C4C187C02DB
71 IMPORT_C THTTPFilterIterator Query(RStringF aName = RStringF());
73 //##ModelId=3C4C187C02D1
74 inline RHTTPSession Session() const;
77 friend class CHTTPSession;
78 friend class RHTTPSession;
80 //##ModelId=3C4C187C02C9
81 CHTTPSession* iImplementation;
86 inline RHTTPFilterCollection::RHTTPFilterCollection()
87 : iImplementation(NULL)
91 #endif // __RHTTPFILTERCOLLECTION_H__