CSenHttpTransportProperties Class Reference

Link against: SenServConn.LIB SenUtils.LIB

Capability Information

Required Capabilities

NetworkServices ReadUserData WriteUserData


#include <
SenHttpTransportProperties.h>

Inherits CSenTransportProperties.


Detailed Description

In SendL(CSenSoapEnvelope& aMessage, const TDesC8& aProperties) or SubmitL(CSenSoapEnvelope& aMessage, const TDesC8& aProperties, HBufc8*& aResponseTO) aProperties could be "HTTP GET" or "HTTP DELETE" aMessage is a soap message or serialized XML.

This scenario is not supported.

These are the function calls get called during this scenario iHttpProperties->SetHttpHeaderL(const TDesC8& aHeaderName, const TDesC8& aValue); iHttpProperties->SetHttpMethodL(CSenHttpTransportProperties::ESenHttpGet); SendL(CSenSoapEnvelope& aMessage, const TDesC8& aProperties);


Public Types

enum  TSenHttpMethod { ESenHttpPut, ESenHttpDelete, ESenHttpGet, ESenHttpPost }
 HttpMethod Enumeration. More...
enum  TSenHttpVersion { ESenHttp10, ESenHttp11 }
 HttpVersion Enumeration. More...

Public Member Functions

virtual TInt IapIdL (TUint32 &aCurrentIapId)
 Gets the IAP ID.
virtual void SetIapIdL (TUint32 aIapId)
 Sets the IAP ID.
virtual TInt ProxyPortL (TInt &aProxyPort)
 Gets the Proxy Port.
virtual void SetProxyPortL (TInt aProxyPort)
 Sets the Proxy Port.
virtual TInt ProxyHostL (TPtrC8 &aProxyHost)
 Gets the Proxy Host.
virtual void SetProxyHostL (const TDesC8 &aProxyHost)
 Sets the Proxy Host.
virtual TInt ProxyUsageL (TBool &aProxyUsage)
 Gets the Proxy Usage flag.
virtual void SetProxyUsageL (TBool aProxyUsage)
 Sets the Proxy Usage flag.
virtual TInt SecureDialogL (TBool &aSecureDialog)
 Gets the information if SecureDialog is shown or not.
virtual void SetSecureDialogL (TBool aSecureDialog)
 Sets the flag which controls showing of SecureDialog.
virtual TInt ContentTypeL (TPtrC8 &aContentType)
 Gets the Content Type.
virtual void SetContentTypeL (const TDesC8 &aContentType)
 Sets the Content Type.
virtual TInt SoapActionL (TPtrC8 &aSoapAction)
 Gets the SoapAction.
virtual void SetSoapActionL (const TDesC8 &aSoapAction)
 Sets the Soap Action.
virtual TInt UserAgentL (TPtrC8 &aUserAgent)
 Gets the UserAgent.
virtual void SetUserAgentL (const TDesC8 &aUserAgent)
 Sets the UserAgent.
virtual TInt AcceptL (TPtrC8 &aAccept)
 Gets the Accept.
virtual void SetAcceptL (const TDesC8 &aAccept)
 Sets the Accept.
virtual TInt HttpMethodL (TSenHttpMethod &aHttpMethod)
 Gets the Http method.
virtual void SetHttpMethodL (TSenHttpMethod aHttpMethod)
 Sets the Http method.
virtual TInt HttpVersionL (TSenHttpVersion &aHttpVersion)
 Gets the Http version.
virtual void SetHttpVersionL (TSenHttpVersion aHttpVersion)
 Sets the Http version.
virtual TInt HttpHeaderL (const TDesC8 &aHeaderName, TPtrC8 &aValue)
 Gets the Http header.
virtual void SetHttpHeaderL (const TDesC8 &aHeaderName, const TDesC8 &aValue)
 Sets the Http header.
virtual TInt DeviceIDL (TPtrC8 &aDeviceID)
 Gets the device ID.
virtual void SetDeviceIDL (const TDesC8 &aDeviceID)
 Sets the Device ID.
virtual TInt DownloadFolderL (TPtrC8 &aDownloadFolder)
 Gets download folder for incoming BLOB (binary large objects).
virtual void SetDownloadFolderL (const TDesC8 &aDownloadFolder)
 Sets download folder for incoming BLOB (binary large objects).
virtual TInt FileAttachmentL (const TDesC8 &aCid, HBufC8 *&aFileName)
 Gets filename of file attachment.
virtual TInt SetFileAttachmentL (const TDesC8 &aCid, const TDesC8 &aFileName)
 Sets filename of file attachment.
virtual void ApplyBindingL (TSOAPVersion aSoapVersion)
 Apply binding.
virtual TInt MwsNamespaceL (TPtrC8 &aMwsNamespace)
 Gets namespace of Microsoft schema.
virtual void SetMwsNamespaceL (const TDesC8 &aMwsNamespace)
 Sets namespace of Microsoft schema.
virtual void SetReader (CSenXmlReader &aReader)
 Sets the XML reader to be used for parsing.
virtual TSenPropertiesClassType PropertiesClassType ()
 Get an integer identifying properties class type.
virtual void WriteToL (RWriteStream &aWriteStream)
 Writes this properties object as descriptor into a stream.
virtual void ReadFromL (const TDesC8 &aBuffer)
 Reads this properties object from the descriptor.
virtual HBufC8 * AsUtf8L ()
 Get these properties as UTF-8 charset encoded descriptor.
virtual HBufC8 * AsUtf8LC ()
 Get these properties as UTF-8 charset encoded descriptor.
virtual TBool IsSafeToCast (TSenPropertiesClassType aClass)
virtual MSenPropertiesCloneL () const
 Method creates exact copy of the properties, preserving the real, concrete subclass type (this can be resolved via PropertiesClassType() method.
virtual TInt SetPropertyL (const TDesC8 &aName, const TDesC8 &aValue)
virtual TInt PropertyL (const TDesC8 &aName, TPtrC8 &aValue)
 Gets the value of the property behind certain name.
virtual TInt SetPropertyL (const TDesC8 &aName, const TDesC8 &aValue, const TDesC8 &aType)
 Sets new property.
virtual TInt PropertyL (const TDesC8 &aName, TPtrC8 &aValue, TPtrC8 &aType)
 Gets the value of the property behind certain name.
virtual TInt SetIntPropertyL (const TDesC8 &aName, const TInt aValue)
virtual TInt IntPropertyL (const TDesC8 &aName, TInt &aValue)
 Gets the integer value of the property behind certain name.
virtual TInt SetBoolPropertyL (const TDesC8 &aName, const TBool aValue)
virtual TInt BoolPropertyL (const TDesC8 &aName, TBool &aValue)
 Gets the boolean value of the property behind certain name.
virtual TInt SetOmittedL (const TDesC8 &aName, TBool aValue)
virtual TInt RemovePropertyL (const TDesC8 &aName)
virtual ~CSenHttpTransportProperties ()
 Destructor.
virtual void SetSnapIdL (TUint32 aSnapId)
 Sets the SNAP ID.
virtual TInt SnapIdL (TUint32 &aCurrentSnapId)
 Gets the SNAP ID.

Static Public Member Functions

static IMPORT_C CSenHttpTransportPropertiesNewL ()
 Basic constructor.
static IMPORT_C CSenHttpTransportPropertiesNewLC ()
 Basic constructor.
static IMPORT_C CSenHttpTransportPropertiesNewL (const TDesC8 &aXmlUtf8, CSenXmlReader &aParser)
 Basic constructor.
static IMPORT_C CSenHttpTransportPropertiesNewLC (const TDesC8 &aXmlUtf8, CSenXmlReader &aParser)
 Basic constructor.
static IMPORT_C CSenHttpTransportPropertiesNewL (const CSenElement &aElement)
 Basic constructor.
static IMPORT_C CSenHttpTransportPropertiesNewLC (const CSenElement &aElement)
 Basic constructor.

Protected Member Functions

virtual void BaseConstructL (const TDesC8 &aLocalname, const TDesC8 &aXml, CSenXmlReader *aParser=NULL)
virtual void BaseConstructL (const TDesC8 &aNamespace, const TDesC8 &aLocalname, const TDesC8 &aXml, CSenXmlReader *aParser=NULL)
virtual void BaseConstructL (const TDesC8 &aNamespace, const TDesC8 &aLocalname, const TDesC8 &aQualifiedName, const TDesC8 &aXml, CSenXmlReader *aParser=NULL)
virtual void BaseConstructL (const CSenElement &aElement)
 CSenHttpTransportProperties ()
 Constructor.

Member Enumeration Documentation

enum CSenHttpTransportProperties::TSenHttpMethod
 

HttpMethod Enumeration.

Enumerator:
ESenHttpPut 
ESenHttpDelete 
ESenHttpGet 
ESenHttpPost 
enum CSenHttpTransportProperties::TSenHttpVersion
 

HttpVersion Enumeration.

Enumerator:
ESenHttp10 
ESenHttp11 

Constructor & Destructor Documentation

virtual CSenHttpTransportProperties::~CSenHttpTransportProperties  )  [virtual]
 

Destructor.

CSenHttpTransportProperties::CSenHttpTransportProperties  )  [protected]
 

Constructor.


Member Function Documentation

virtual TInt CSenHttpTransportProperties::AcceptL TPtrC8 &  aAccept  )  [virtual]
 

Gets the Accept.

Parameters:
aAccept A TPtrC8 reference to be filled in with the value of the Accept.
Returns:
KErrNone if no error, or some of the system wide error codes.
virtual void CSenHttpTransportProperties::ApplyBindingL TSOAPVersion  aSoapVersion  )  [virtual]
 

Apply binding.

Parameters:
aSoapVersion is a soap1.2 or soap1.1.

Reimplemented from CSenTransportProperties.

virtual HBufC8* CSenHttpTransportProperties::AsUtf8L  )  [virtual]
 

Get these properties as UTF-8 charset encoded descriptor.

Since:
Series60
Returns:
a pointer to UTF-8 encoded descriptor. Caller takes ownership.

Reimplemented from CSenTransportProperties.

virtual HBufC8* CSenHttpTransportProperties::AsUtf8LC  )  [virtual]
 

Get these properties as UTF-8 charset encoded descriptor.

Since:
Series60
Returns:
a pointer to UTF-8 encoded descriptor, which is has been left on cleanup stack. Caller takes ownership.

Reimplemented from CSenTransportProperties.

virtual void CSenHttpTransportProperties::BaseConstructL const CSenElement aElement  )  [protected, virtual]
 

Reimplemented from CSenTransportProperties.

virtual void CSenHttpTransportProperties::BaseConstructL const TDesC8 &  aNamespace,
const TDesC8 &  aLocalname,
const TDesC8 &  aQualifiedName,
const TDesC8 &  aXml,
CSenXmlReader aParser = NULL
[protected, virtual]
 

Reimplemented from CSenTransportProperties.

virtual void CSenHttpTransportProperties::BaseConstructL const TDesC8 &  aNamespace,
const TDesC8 &  aLocalname,
const TDesC8 &  aXml,
CSenXmlReader aParser = NULL
[protected, virtual]
 

Reimplemented from CSenTransportProperties.

virtual void CSenHttpTransportProperties::BaseConstructL const TDesC8 &  aLocalname,
const TDesC8 &  aXml,
CSenXmlReader aParser = NULL
[protected, virtual]
 

Reimplemented from CSenTransportProperties.

virtual TInt CSenHttpTransportProperties::BoolPropertyL const TDesC8 &  aName,
TBool &  aValue
[virtual]
 

Gets the boolean value of the property behind certain name.

Since:
Series60
Parameters:
aName The name identifying this property.
aValue A TBool reference to be filled in with the value of the property.
Returns:
KErrNone on success, KErrSenOmitted if property has been omitted, or some of the system-wide error codes otherwise.

Reimplemented from CSenTransportProperties.

virtual MSenProperties* CSenHttpTransportProperties::CloneL  )  const [virtual]
 

Method creates exact copy of the properties, preserving the real, concrete subclass type (this can be resolved via PropertiesClassType() method.

Furthermore, the IsSafeToCast() method can be used to reflect the returned pointer to a concrete class. NOTE: one must cast the returned pointer to concrete class in order to safely de-allocate any memory allocated by this method.

Returns:
pointer to *concrete* properties object, which MUST be class cast to known subclass(!).

Reimplemented from CSenTransportProperties.

virtual TInt CSenHttpTransportProperties::ContentTypeL TPtrC8 &  aContentType  )  [virtual]
 

Gets the Content Type.

Parameters:
aContentType A TPtrC8 reference to be filled in with the value of the Content Type.
Returns:
KErrNone if no error, or some of the system wide error codes.
virtual TInt CSenHttpTransportProperties::DeviceIDL TPtrC8 &  aDeviceID  )  [virtual]
 

Gets the device ID.

Parameters:
aDeviceID A TPtrC8 reference to be filled in with the value of the Device ID.
Returns:
KErrNone if no error, or some of the system wide error codes.

Reimplemented from CSenTransportProperties.

virtual TInt CSenHttpTransportProperties::DownloadFolderL TPtrC8 &  aDownloadFolder  )  [virtual]
 

Gets download folder for incoming BLOB (binary large objects).

Parameters:
aDownloadFolder - A TPtrC8 reference to be filled in with the value of the shared, public folder for downloaded content
Returns:
KErrNone if no error, or some of the system wide error codes.

Reimplemented from CSenTransportProperties.

virtual TInt CSenHttpTransportProperties::FileAttachmentL const TDesC8 &  aCid,
HBufC8 *&  aFileName
[virtual]
 

Gets filename of file attachment.

Parameters:
aCid - cid for filename
aFileName - filename of file attachment with current cid
Returns:
KErrNone if no error, or some of the system wide error codes.

Reimplemented from CSenTransportProperties.

virtual TInt CSenHttpTransportProperties::HttpHeaderL const TDesC8 &  aHeaderName,
TPtrC8 &  aValue
[virtual]
 

Gets the Http header.

Parameters:
aHeaderName Name of the Http header.
aValue A TPtrC8 reference to be filled in with the value of the Http header.
Returns:
KErrNone if no error, or some of the system wide error codes.
virtual TInt CSenHttpTransportProperties::HttpMethodL TSenHttpMethod aHttpMethod  )  [virtual]
 

Gets the Http method.

Parameters:
aHttpMethod A TSenHttpMethod reference to be filled in with the value of the Http method.
Returns:
KErrNone if no error, or some of the system wide error codes.
virtual TInt CSenHttpTransportProperties::HttpVersionL TSenHttpVersion aHttpVersion  )  [virtual]
 

Gets the Http version.

Parameters:
aHttpVersion A TSenHttpVersion reference to be filled in with the value of the Http version.
Returns:
KErrNone if no error, or some of the system wide error codes.
virtual TInt CSenHttpTransportProperties::IapIdL TUint32 &  aCurrentIapId  )  [virtual]
 

Gets the IAP ID.

Parameters:
aCurrentIapId A TUint32 reference to be filled in with the value of the IAP ID.
Returns:
KErrNone if no error, or some of the system wide error codes.

Reimplemented from CSenTransportProperties.

virtual TInt CSenHttpTransportProperties::IntPropertyL const TDesC8 &  aName,
TInt &  aValue
[virtual]
 

Gets the integer value of the property behind certain name.

Since:
Series60
Parameters:
aName The name identifying this property.
aValue A TInt reference to be filled in with the value of the property.
Returns:
KErrNone on success, KErrSenOmitted if property has been omitted, or some of the system-wide error codes otherwise.

Reimplemented from CSenTransportProperties.

virtual TBool CSenHttpTransportProperties::IsSafeToCast TSenPropertiesClassType  aClass  )  [virtual]
 

Reimplemented from CSenTransportProperties.

virtual TInt CSenHttpTransportProperties::MwsNamespaceL TPtrC8 &  aMwsNamespace  )  [virtual]
 

Gets namespace of Microsoft schema.

Parameters:
aMwsNamespace - namespace
Returns:
KErrNone if no error, or some of the system wide error codes.

Reimplemented from CSenTransportProperties.

static IMPORT_C CSenHttpTransportProperties* CSenHttpTransportProperties::NewL const CSenElement aElement  )  [static]
 

Basic constructor.

Parameters:
aElement 
Returns:
a pointer to new CSenHttpTransportProperties class instance.

Reimplemented from CSenTransportProperties.

static IMPORT_C CSenHttpTransportProperties* CSenHttpTransportProperties::NewL const TDesC8 &  aXmlUtf8,
CSenXmlReader aParser
[static]
 

Basic constructor.

Parameters:
aXmlUtf8 
aParser It is a XML reader
Returns:
a pointer to new CSenHttpTransportProperties class instance.

Reimplemented from CSenTransportProperties.

static IMPORT_C CSenHttpTransportProperties* CSenHttpTransportProperties::NewL  )  [static]
 

Basic constructor.

Returns:
a pointer to new CSenHttpTransportProperties class instance.

Reimplemented from CSenTransportProperties.

static IMPORT_C CSenHttpTransportProperties* CSenHttpTransportProperties::NewLC const CSenElement aElement  )  [static]
 

Basic constructor.

Parameters:
aElement 
Returns:
a pointer to new CSenHttpTransportProperties class instance.

Reimplemented from CSenTransportProperties.

static IMPORT_C CSenHttpTransportProperties* CSenHttpTransportProperties::NewLC const TDesC8 &  aXmlUtf8,
CSenXmlReader aParser
[static]
 

Basic constructor.

Parameters:
aXmlUtf8 
aParser It is a XML reader
Returns:
a pointer to new CSenHttpTransportProperties class instance.

Reimplemented from CSenTransportProperties.

static IMPORT_C CSenHttpTransportProperties* CSenHttpTransportProperties::NewLC  )  [static]
 

Basic constructor.

Returns:
a pointer to new CSenHttpTransportProperties class instance.

Reimplemented from CSenTransportProperties.

virtual TSenPropertiesClassType CSenHttpTransportProperties::PropertiesClassType  )  [virtual]
 

Get an integer identifying properties class type.

All subclasses MUST return use unique integer value.

Returns:
unique TInt identifying this properties class type

Reimplemented from CSenTransportProperties.

virtual TInt CSenHttpTransportProperties::PropertyL const TDesC8 &  aName,
TPtrC8 &  aValue,
TPtrC8 &  aType
[virtual]
 

Gets the value of the property behind certain name.

Since:
Series60
Parameters:
aName The name identifying this property.
aValue A TPtrC8 reference to be filled in with the value of the property.
aType A TPtrC8 reference to be filled in with the type of the property.
Returns:
KErrNone if no error, or some of the system wide error codes.

Reimplemented from CSenTransportProperties.

virtual TInt CSenHttpTransportProperties::PropertyL const TDesC8 &  aName,
TPtrC8 &  aValue
[virtual]
 

Gets the value of the property behind certain name.

Since:
Series60
Parameters:
aName The name identifying this property.
aValue The value of the property, or KNullDesC8 if property is not found.
Returns:
KErrNone on success, KErrSenOmitted if property has been omitted, or some of the system-wide error codes otherwise.

Reimplemented from CSenTransportProperties.

virtual TInt CSenHttpTransportProperties::ProxyHostL TPtrC8 &  aProxyHost  )  [virtual]
 

Gets the Proxy Host.

Parameters:
aProxyHost A TPtrC8 reference to be filled in with the value of the Proxy Host.
Returns:
KErrNone if no error, or some of the system wide error codes.

Reimplemented from CSenTransportProperties.

virtual TInt CSenHttpTransportProperties::ProxyPortL TInt &  aProxyPort  )  [virtual]
 

Gets the Proxy Port.

Parameters:
aProxyPort A TInt reference to be filled in with the value of the Proxy Port.
Returns:
KErrNone if no error, or some of the system wide error codes.

Reimplemented from CSenTransportProperties.

virtual TInt CSenHttpTransportProperties::ProxyUsageL TBool &  aProxyUsage  )  [virtual]
 

Gets the Proxy Usage flag.

Parameters:
aProxyUsage A TBool reference to be filled in with the value of the Proxy Usage.
Returns:
KErrNone if no error, or some of the system wide error codes.

Reimplemented from CSenTransportProperties.

virtual void CSenHttpTransportProperties::ReadFromL const TDesC8 &  aBuffer  )  [virtual]
 

Reads this properties object from the descriptor.

UTF-8 charset encoding should be used.

Since:
Series60
Parameters:
aBuffer The buffer to read from.

Reimplemented from CSenTransportProperties.

virtual TInt CSenHttpTransportProperties::RemovePropertyL const TDesC8 &  aName  )  [virtual]
 

Reimplemented from CSenTransportProperties.

virtual TInt CSenHttpTransportProperties::SecureDialogL TBool &  aSecureDialog  )  [virtual]
 

Gets the information if SecureDialog is shown or not.

Parameters:
aProxyUsage A TBool reference to be filled in with the value of the SecureDialog flag.
Returns:
KErrNone if no error, or some of the system wide error codes.

Reimplemented from CSenTransportProperties.

virtual void CSenHttpTransportProperties::SetAcceptL const TDesC8 &  aAccept  )  [virtual]
 

Sets the Accept.

Parameters:
aAccept is the new Accept value.
virtual TInt CSenHttpTransportProperties::SetBoolPropertyL const TDesC8 &  aName,
const TBool  aValue
[virtual]
 
See also:
MSenProperties Leave codes: KErrSenInvalidCharacters if aName contains illegal characters. KErrSenZeroLengthDescriptor if aName is zero length.

Reimplemented from CSenTransportProperties.

virtual void CSenHttpTransportProperties::SetContentTypeL const TDesC8 &  aContentType  )  [virtual]
 

Sets the Content Type.

Parameters:
aContentType is the new Content Type.
virtual void CSenHttpTransportProperties::SetDeviceIDL const TDesC8 &  aDeviceID  )  [virtual]
 

Sets the Device ID.

Parameters:
aDeviceID is the new Device ID.

Reimplemented from CSenTransportProperties.

virtual void CSenHttpTransportProperties::SetDownloadFolderL const TDesC8 &  aDownloadFolder  )  [virtual]
 

Sets download folder for incoming BLOB (binary large objects).

Parameters:
aDownloadFolder - shared, public folder for downloaded content

Reimplemented from CSenTransportProperties.

virtual TInt CSenHttpTransportProperties::SetFileAttachmentL const TDesC8 &  aCid,
const TDesC8 &  aFileName
[virtual]
 

Sets filename of file attachment.

Parameters:
aCid - cid for filename
aFileName - filename of file attachment with current cid
Returns:
KErrNone if no error, or some of the system wide error codes.

Reimplemented from CSenTransportProperties.

virtual void CSenHttpTransportProperties::SetHttpHeaderL const TDesC8 &  aHeaderName,
const TDesC8 &  aValue
[virtual]
 

Sets the Http header.

Parameters:
aHeaderName Name of the Http header.
aValue Value of the Http header
virtual void CSenHttpTransportProperties::SetHttpMethodL TSenHttpMethod  aHttpMethod  )  [virtual]
 

Sets the Http method.

Parameters:
aHttpMethod is the new Http method.
virtual void CSenHttpTransportProperties::SetHttpVersionL TSenHttpVersion  aHttpVersion  )  [virtual]
 

Sets the Http version.

Parameters:
aHttpVersion is the new Http version.
virtual void CSenHttpTransportProperties::SetIapIdL TUint32  aIapId  )  [virtual]
 

Sets the IAP ID.

Parameters:
aIapId is the new IAP ID.

Reimplemented from CSenTransportProperties.

virtual TInt CSenHttpTransportProperties::SetIntPropertyL const TDesC8 &  aName,
const TInt  aValue
[virtual]
 
See also:
MSenProperties Leave codes: KErrSenInvalidCharacters if aName contains illegal characters. KErrSenZeroLengthDescriptor if aName is zero length.

Reimplemented from CSenTransportProperties.

virtual void CSenHttpTransportProperties::SetMwsNamespaceL const TDesC8 &  aMwsNamespace  )  [virtual]
 

Sets namespace of Microsoft schema.

Parameters:
aMwsNamespace - namespace
Returns:
KErrNone if no error, or some of the system wide error codes.

Reimplemented from CSenTransportProperties.

virtual TInt CSenHttpTransportProperties::SetOmittedL const TDesC8 &  aName,
TBool  aValue
[virtual]
 

Reimplemented from CSenTransportProperties.

virtual TInt CSenHttpTransportProperties::SetPropertyL const TDesC8 &  aName,
const TDesC8 &  aValue,
const TDesC8 &  aType
[virtual]
 

Sets new property.

If property with given name does not exist, new property with given value will be added. Otherwise the value of existing property will be updated.

Since:
Series60
Parameters:
aName Name of the property, which can be later used to refer the given value.
aValue Is the value of this property.
aType Is the type of this property.
Returns:
KErrNone if no error, or some of the system wide error codes.

Reimplemented from CSenTransportProperties.

virtual TInt CSenHttpTransportProperties::SetPropertyL const TDesC8 &  aName,
const TDesC8 &  aValue
[virtual]
 
See also:
MSenProperties Leave codes: KErrSenInvalidCharacters if aName contains illegal characters. KErrSenZeroLengthDescriptor if aName is zero length.

Reimplemented from CSenTransportProperties.

virtual void CSenHttpTransportProperties::SetProxyHostL const TDesC8 &  aProxyHost  )  [virtual]
 

Sets the Proxy Host.

Parameters:
aProxyHost is the new Proxy Host.

Reimplemented from CSenTransportProperties.

virtual void CSenHttpTransportProperties::SetProxyPortL TInt  aProxyPort  )  [virtual]
 

Sets the Proxy Port.

Parameters:
aProxyPort is the new Proxy Port.

Reimplemented from CSenTransportProperties.

virtual void CSenHttpTransportProperties::SetProxyUsageL TBool  aProxyUsage  )  [virtual]
 

Sets the Proxy Usage flag.

Parameters:
aProxyUsage is the new value for Proxy Usage.

Reimplemented from CSenTransportProperties.

virtual void CSenHttpTransportProperties::SetReader CSenXmlReader aReader  )  [virtual]
 

Sets the XML reader to be used for parsing.

Parameters:
aReader,: the reader to be used. Ownership is NOT transferred.

Reimplemented from CSenTransportProperties.

virtual void CSenHttpTransportProperties::SetSecureDialogL TBool  aSecureDialog  )  [virtual]
 

Sets the flag which controls showing of SecureDialog.

Parameters:
aSecureDialog is the new value for SecureDialog flag.

Reimplemented from CSenTransportProperties.

virtual void CSenHttpTransportProperties::SetSnapIdL TUint32  aSnapId  )  [virtual]
 

Sets the SNAP ID.

Parameters:
aSnapId is the new SNAP ID.

Reimplemented from CSenTransportProperties.

virtual void CSenHttpTransportProperties::SetSoapActionL const TDesC8 &  aSoapAction  )  [virtual]
 

Sets the Soap Action.

Parameters:
aSoapAction is the new Soap Action.

Reimplemented from CSenTransportProperties.

virtual void CSenHttpTransportProperties::SetUserAgentL const TDesC8 &  aUserAgent  )  [virtual]
 

Sets the UserAgent.

Parameters:
aUserAgent is the new User Agent.

Reimplemented from CSenTransportProperties.

virtual TInt CSenHttpTransportProperties::SnapIdL TUint32 &  aCurrentSnapId  )  [virtual]
 

Gets the SNAP ID.

Parameters:
aCurrentSnapId A TUint32 reference to be filled in with the value of the SNAP ID.
Returns:
KErrNone if no error, or some of the system wide error codes.

Reimplemented from CSenTransportProperties.

virtual TInt CSenHttpTransportProperties::SoapActionL TPtrC8 &  aSoapAction  )  [virtual]
 

Gets the SoapAction.

Parameters:
aSoapAction A TPtrC8 reference to be filled in with the value of the SoapAction.
Returns:
KErrNone if no error, or some of the system wide error codes.

Reimplemented from CSenTransportProperties.

virtual TInt CSenHttpTransportProperties::UserAgentL TPtrC8 &  aUserAgent  )  [virtual]
 

Gets the UserAgent.

Parameters:
aUserAgent A TPtrC8 reference to be filled in with the value of the UserAgent.
Returns:
KErrNone if no error, or some of the system wide error codes.

Reimplemented from CSenTransportProperties.

virtual void CSenHttpTransportProperties::WriteToL RWriteStream &  aWriteStream  )  [virtual]
 

Writes this properties object as descriptor into a stream.

UTF-8 charset encoding will be used.

Since:
Series60
Parameters:
aWriteStream The stream to write to.

Reimplemented from CSenTransportProperties.


The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2007
Back to top