epoc32/include/http/mhttpfilter.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- a/epoc32/include/http/mhttpfilter.h	Tue Mar 16 16:12:26 2010 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,95 +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 MHTTPFilter.h
    1.23 - @warning : This file contains Rose Model ID comments - please do not delete
    1.24 -*/
    1.25 -
    1.26 -#ifndef __MHTTPFILTER_H__
    1.27 -#define __MHTTPFILTER_H__
    1.28 -
    1.29 -// System includes
    1.30 -#include <e32std.h>
    1.31 -#include <http/mhttpfilterbase.h>
    1.32 -#include <http/rhttpsession.h>
    1.33 -#include <http/thttpfilterhandle.h>
    1.34 -
    1.35 -
    1.36 -//##ModelId=3C4C187D03E1
    1.37 -class MHTTPFilter : public MHTTPFilterBase
    1.38 -/** 
    1.39 -A HTTP filter 
    1.40 -@publishedAll
    1.41 -@released
    1.42 -*/
    1.43 -	{
    1.44 - public:
    1.45 -	/** Called when the filter is being removed from a session's filter queue.
    1.46 -		@param aSession The session it's being removed from
    1.47 -		@param aHandle The filter handle. Complex filters may need to 
    1.48 -		refer to this to keep track of which particular registration is
    1.49 -		being unloaded.
    1.50 -	*/
    1.51 -	//##ModelId=3C4C187E0011
    1.52 -	IMPORT_C virtual void MHFUnload(RHTTPSession aSession, 
    1.53 -									THTTPFilterHandle aHandle);
    1.54 -
    1.55 -	/** Called when the filter is being added to the session's filter queue.
    1.56 -		@param aSession The session it's being added to.
    1.57 -		@param aHandle The filter handle. Complex filters may need to keep
    1.58 -		track of this, for instance if generating events in response to
    1.59 -		external stimuli
    1.60 -	*/
    1.61 -	//##ModelId=3C4C187E000E
    1.62 -	IMPORT_C virtual void MHFLoad(RHTTPSession aSession,
    1.63 -								  THTTPFilterHandle aHandle);
    1.64 - public:
    1.65 -	/** 
    1.66 -		@enum TPositions
    1.67 -		Default filter positions
    1.68 -	 */
    1.69 -	enum TPositions
    1.70 -		{
    1.71 -		/** The Protocol Handler :- At the base of the filter chain
    1.72 -			and nearest to the transport layer */
    1.73 -		EProtocolHandler	= 0,
    1.74 -		// Filters that should be downstream of any status-code related processing
    1.75 -		/** Filters to handle caching behaviours.*/
    1.76 -		ECache				= 100,
    1.77 -		/** Filters to handle particular status codes.
    1.78 -			e.g.Redirection and authentication. */
    1.79 -		EStatusCodeHandler	= 200,
    1.80 -		/**	The UAProf filter. */
    1.81 -		EUAProf				= 250,
    1.82 -		/** The cookie filter, and other filters that don't need to be
    1.83 -			concerned with resubmitting of transactions due to things
    1.84 -			like redirection. */
    1.85 -		ECookies			= 300,
    1.86 -		/** The validation filter and any other final tidy up or
    1.87 -            initial preprocessing of transactions*/
    1.88 -		ETidyUp = 400,
    1.89 -		/** Client filters that assume all standard behaviour is
    1.90 -            already there.*/
    1.91 -		EClientFilters		= 500,
    1.92 -		/** The client :- At the head of the filter chain : 
    1.93 -			No position above this must be used. */
    1.94 -		EClient				= 1000
    1.95 -		};
    1.96 -	}; 
    1.97 -
    1.98 -#endif // __MHTTPFILTER_H__