RHTTPFilterCollection Class Reference
class RHTTPFilterCollection
|
Constructor & Destructor Documentation
RHTTPFilterCollection()
RHTTPFilterCollection
|
(
|
)
|
[inline]
|
Member Functions Documentation
AddFilterL(MHTTPFilter &, THTTPEvent, RStringF, TInt, TInt, RStringF)
Adds a filter to the session's filter queue.
Note: This function only adds filters; it doesn't replace or otherwise affect any pre-existing filters.
Parameters
MHTTPFilter
& aFilter
|
The filter to add
|
THTTPEvent
aEvent
|
The event that triggers this filter (or all)
|
RStringF
aHeader
|
The header whose presence triggers this filter (or KNullDesC for any)
|
TInt
aStatusCode
|
The status code that triggers this filter (or -1 for all)
|
TInt
aPosition
|
The position of the filter in the queue. Standard values are documented in the documentation for the supplied filters, and are based on the standard defines in MHTTPFilter::TPositions
|
RStringF
aName
|
the name of the Filter to add
|
AddFilterL(MHTTPFilter &, THTTPEvent, TInt, RStringF)
Adds a filter to the session's filter queue. Intended Usage: This variant takes no status code or header. It is intended for filters that are only interested in events. For example session events.
-
Pre-condition
-
The session is open and no transactions have been created yet
See
MHTTPFilter::TPositions
Parameters
MHTTPFilter
& aFilter
|
The filter to add
|
THTTPEvent
aEvent
|
The event that triggers this filter (or all)
|
TInt
aPosition
|
The position of the filter in the queue. Standard values are documented in the documentation for the supplied filters, and are based on the standard defines in MHTTPFilter::TPositions
|
RStringF
aName
|
the name of the Filter to add
|
CanChangeFilters()
IMPORT_C
TBool
|
CanChangeFilters
|
(
|
)
|
const
|
Query(RStringF)
An iterator to look at all filter registrations of a particular name. By default it will find all filters.
Parameters
RStringF
aName =
RStringF
()
|
The name of the filter to find. (All filters will be found if the default parameter is used)
|
RemoveFilter(RStringF)
IMPORT_C void
|
RemoveFilter
|
(
|
RStringF
|
aFilter
|
)
|
|
Removes all filter registrations of the specified name.
Member Data Documentation
CHTTPSession * iImplementation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.