applayerpluginsandutils/httpprotocolplugins/httpheadercodec/chttpserverheaderwriter.h
changeset 0 b16258d2340f
equal deleted inserted replaced
-1:000000000000 0:b16258d2340f
       
     1 // Copyright (c) 2002-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 "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __CHTTPSERVERHEADERWRITER_H__
       
    17 #define __CHTTPSERVERHEADERWRITER_H__
       
    18 
       
    19 #include <e32base.h>
       
    20 
       
    21 #include "chttpheaderwriter.h"
       
    22 
       
    23 /**	
       
    24 	@internalComponent
       
    25 */
       
    26 class CHttpServerHeaderWriter : public CHttpHeaderWriter
       
    27 	{
       
    28 public:	// methods
       
    29 
       
    30 	static CHttpServerHeaderWriter* NewL(RStringPool aStringPool);
       
    31 
       
    32 	virtual ~CHttpServerHeaderWriter();
       
    33 
       
    34 private:	// methods from CHeaderWriter
       
    35 
       
    36 	virtual void EncodeHeaderL(RHeaderField& aHeader);
       
    37 
       
    38 private:	// methods
       
    39 
       
    40 	CHttpServerHeaderWriter(RStringPool aStringPool);
       
    41 
       
    42 	void EncodeWWWAuthenticateL(RHeaderField& aHeader) const;
       
    43 	};
       
    44 
       
    45 #endif	// __CHTTPSERVERHEADERWRITER_H__