|
|
|
Location:
http\rhttpfiltercollection.h
Link against: http.lib
class RHTTPFilterCollection
Supported from 7.0
A handle to the filter collection in a session.
It provides facilities for adding and deleting filters, and for querying what filters are installed.
Defined in RHTTPFilterCollection:
AddFilterL(), AddFilterL(), CanChangeFilters(), Query(), RHTTPFilterCollection(), RemoveFilter(), Session(), iImplementation
void AddFilterL(MHTTPFilter& aFilter, THTTPEvent aEvent, RStringF aHeader, TInt aStatusCode, TInt aPosition, RStringF aName);
Adds a filter to the session's filter queue.
Note that this function only adds filters: it doesn't replace or otherwise affect any pre-existing filters.
|
|
void AddFilterL(MHTTPFilter& aFilter, THTTPEvent aEvent, TInt aPosition, RStringF aName);
Adds a filter to the session's filter queue.
This overload takes no status code or header parameter, and so is intended for filters that are only interested in events.
|
|
TBool CanChangeFilters() const;
Tests if a filter can currently be added or removed.
Filters can only be added or removed if there are no transactions in existence on the session.
|
void RemoveFilter(RStringF aFilter);
Removes all registrations of the specified filter.
|
THTTPFilterIterator Query(RStringF aName=RStringF());
Gets an iterator for all registrations of a specified filter.
|
|
inline RHTTPSession Session() const;
This is internal and not intended for use.
|
private: CHTTPSession* iImplementation;
This is internal and not intended for use.