#include <mw/SenHttpTransportProperties.h>
class CSenHttpTransportProperties : public CSenTransportProperties |
Public Member Enumerations | |
---|---|
enum | TSenHttpMethod { ESenHttpPut, ESenHttpDelete, ESenHttpGet, ESenHttpPost } |
enum | TSenHttpVersion { ESenHttp10, ESenHttp11 } |
Protected Member Functions | |
---|---|
CSenHttpTransportProperties() | |
virtual void | BaseConstructL(const TDesC8 &, const TDesC8 &, CSenXmlReader *) |
virtual void | BaseConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &, CSenXmlReader *) |
virtual void | BaseConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const TDesC8 &, CSenXmlReader *) |
virtual void | BaseConstructL(const CSenElement &) |
Inherited Attributes | |
---|---|
CSenXmlProperties::ipFragment | |
CSenXmlProperties::ipReader |
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);
void | ApplyBindingL | ( | TSOAPVersion | aSoapVersion | ) | [virtual] |
Reimplemented from CSenTransportProperties::ApplyBindingL(TSOAPVersion)
Apply binding.
Parameter | Description |
---|---|
aSoapVersion | is a soap1.2 or soap1.1. |
void | BaseConstructL | ( | const TDesC8 & | aLocalname, |
const TDesC8 & | aXml, | |||
CSenXmlReader * | aParser = NULL | |||
) | [protected, virtual] |
void | BaseConstructL | ( | const TDesC8 & | aNamespace, |
const TDesC8 & | aLocalname, | |||
const TDesC8 & | aXml, | |||
CSenXmlReader * | aParser = NULL | |||
) | [protected, virtual] |
void | BaseConstructL | ( | const TDesC8 & | aNamespace, |
const TDesC8 & | aLocalname, | |||
const TDesC8 & | aQualifiedName, | |||
const TDesC8 & | aXml, | |||
CSenXmlReader * | aParser = NULL | |||
) | [protected, virtual] |
void | BaseConstructL | ( | const CSenElement & | aElement | ) | [protected, virtual] |
Reimplemented from CSenTransportProperties::BaseConstructL(const CSenElement &)
Reimplemented from CSenTransportProperties::BoolPropertyL(const TDesC8 &,TBool &)
MSenProperties * | CloneL | ( | ) | const [virtual] |
Reimplemented from CSenTransportProperties::CloneL()const
Gets the information if IAPDialog is shown or not.
Parameter | Description |
---|---|
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. Sets the flag which controls showing of IAPDialog. KErrNone if no error, or some of the system wide error codes.
Reimplemented from CSenTransportProperties::DeviceIDL(TPtrC8 &)
Gets the device ID
Parameter | Description |
---|---|
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::DownloadFolderL(TPtrC8 &)
Gets download folder for incoming BLOB (binary large objects)
Parameter | Description |
---|---|
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::FileAttachmentL(const TDesC8 &,HBufC8 *&)
Gets filename of file attachment
Parameter | Description |
---|---|
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.
TInt | HttpMethodL | ( | TSenHttpMethod & | aHttpMethod | ) | [virtual] |
Gets the Http method.
Parameter | Description |
---|---|
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.
TInt | HttpVersionL | ( | TSenHttpVersion & | aHttpVersion | ) | [virtual] |
Gets the Http version.
Parameter | Description |
---|---|
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.
Reimplemented from CSenTransportProperties::IapIdL(TUint32 &)
Gets the IAP ID.
Parameter | Description |
---|---|
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::IntPropertyL(const TDesC8 &,TInt &)
TBool | IsSafeToCast | ( | TSenPropertiesClassType | aClass | ) | [virtual] |
Reimplemented from CSenTransportProperties::IsSafeToCast(TSenPropertiesClassType)
Reimplemented from CSenTransportProperties::MwsNamespaceL(TPtrC8 &)
Gets namespace of Microsoft schema
Parameter | Description |
---|---|
aMwsNamespace | - namespace |
Returns: KErrNone if no error, or some of the system wide error codes.
IMPORT_C CSenHttpTransportProperties * | NewL | ( | ) | [static] |
Reimplemented from CSenTransportProperties::NewL()
Basic constructor.
Returns: a pointer to new CSenHttpTransportProperties class instance.
IMPORT_C CSenHttpTransportProperties * | NewL | ( | const TDesC8 & | aXmlUtf8, |
CSenXmlReader & | aParser | |||
) | [static] |
Reimplemented from CSenTransportProperties::NewL(const TDesC8 &,CSenXmlReader &)
Basic constructor.
Parameter | Description |
---|---|
aParser | It is a XML reader |
Returns: a pointer to new CSenHttpTransportProperties class instance.
IMPORT_C CSenHttpTransportProperties * | NewL | ( | const CSenElement & | aElement | ) | [static] |
Reimplemented from CSenTransportProperties::NewL(const CSenElement &)
Basic constructor.
Returns: a pointer to new CSenHttpTransportProperties class instance.
IMPORT_C CSenHttpTransportProperties * | NewLC | ( | ) | [static] |
Reimplemented from CSenTransportProperties::NewLC()
Basic constructor.
Returns: a pointer to new CSenHttpTransportProperties class instance.
IMPORT_C CSenHttpTransportProperties * | NewLC | ( | const TDesC8 & | aXmlUtf8, |
CSenXmlReader & | aParser | |||
) | [static] |
Reimplemented from CSenTransportProperties::NewLC(const TDesC8 &,CSenXmlReader &)
Basic constructor.
Parameter | Description |
---|---|
aParser | It is a XML reader |
Returns: a pointer to new CSenHttpTransportProperties class instance.
IMPORT_C CSenHttpTransportProperties * | NewLC | ( | const CSenElement & | aElement | ) | [static] |
Reimplemented from CSenTransportProperties::NewLC(const CSenElement &)
Basic constructor.
Returns: a pointer to new CSenHttpTransportProperties class instance.
TSenPropertiesClassType | PropertiesClassType | ( | ) | [virtual] |
Reimplemented from CSenTransportProperties::PropertiesClassType()
Reimplemented from CSenTransportProperties::PropertyL(const TDesC8 &,TPtrC8 &)
Reimplemented from CSenTransportProperties::PropertyL(const TDesC8 &,TPtrC8 &,TPtrC8 &)
Parameter | Description |
---|---|
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::ProxyHostL(TPtrC8 &)
Gets the Proxy Host.
Parameter | Description |
---|---|
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::ProxyPortL(TInt &)
Gets the Proxy Port.
Parameter | Description |
---|---|
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::ProxyUsageL(TBool &)
Gets the Proxy Usage flag.
Parameter | Description |
---|---|
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.
void | ReadFromL | ( | const TDesC8 & | aBuffer | ) | [virtual] |
Reimplemented from CSenTransportProperties::ReadFromL(const TDesC8 &)
Reimplemented from CSenTransportProperties::RemovePropertyL(const TDesC8 &)
Reimplemented from CSenTransportProperties::SecureDialogL(TBool &)
Gets the information if SecureDialog is shown or not.
Returns: KErrNone if no error, or some of the system wide error codes.
void | SetAcceptL | ( | const TDesC8 & | aAccept | ) | [virtual] |
Sets the Accept.
Parameter | Description |
---|---|
aAccept | is the new Accept value. |
Reimplemented from CSenTransportProperties::SetBoolPropertyL(const TDesC8 &,const TBool)
See also: MSenProperties Leave codes: KErrSenInvalidCharacters if aName contains illegal characters. KErrSenZeroLengthDescriptor if aName is zero length.
void | SetContentTypeL | ( | const TDesC8 & | aContentType | ) | [virtual] |
Sets the Content Type.
Parameter | Description |
---|---|
aContentType | is the new Content Type. |
void | SetDeviceIDL | ( | const TDesC8 & | aDeviceID | ) | [virtual] |
Reimplemented from CSenTransportProperties::SetDeviceIDL(const TDesC8 &)
Sets the Device ID.
Parameter | Description |
---|---|
aDeviceID | is the new Device ID. |
void | SetDownloadFolderL | ( | const TDesC8 & | aDownloadFolder | ) | [virtual] |
Reimplemented from CSenTransportProperties::SetDownloadFolderL(const TDesC8 &)
Sets download folder for incoming BLOB (binary large objects)
Parameter | Description |
---|---|
aDownloadFolder | - shared, public folder for downloaded content |
Reimplemented from CSenTransportProperties::SetFileAttachmentL(const TDesC8 &,const TDesC8 &)
Sets filename of file attachment
Parameter | Description |
---|---|
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.
void | SetHttpMethodL | ( | TSenHttpMethod | aHttpMethod | ) | [virtual] |
Sets the Http method.
Parameter | Description |
---|---|
aHttpMethod | is the new Http method. |
void | SetHttpVersionL | ( | TSenHttpVersion | aHttpVersion | ) | [virtual] |
Sets the Http version.
Parameter | Description |
---|---|
aHttpVersion | is the new Http version. |
void | SetIapIdL | ( | TUint32 | aIapId | ) | [virtual] |
Reimplemented from CSenTransportProperties::SetIapIdL(TUint32)
Sets the IAP ID.
Parameter | Description |
---|---|
aIapId | is the new IAP ID. |
Reimplemented from CSenTransportProperties::SetIntPropertyL(const TDesC8 &,const TInt)
See also: MSenProperties Leave codes: KErrSenInvalidCharacters if aName contains illegal characters. KErrSenZeroLengthDescriptor if aName is zero length.
void | SetMwsNamespaceL | ( | const TDesC8 & | aMwsNamespace | ) | [virtual] |
Reimplemented from CSenTransportProperties::SetMwsNamespaceL(const TDesC8 &)
Sets namespace of Microsoft schema
Parameter | Description |
---|---|
aMwsNamespace | - namespace |
Returns: KErrNone if no error, or some of the system wide error codes.
Reimplemented from CSenTransportProperties::SetOmittedL(const TDesC8 &,TBool)
Reimplemented from CSenTransportProperties::SetPropertyL(const TDesC8 &,const TDesC8 &)
See also: MSenProperties Leave codes: KErrSenInvalidCharacters if aName contains illegal characters. KErrSenZeroLengthDescriptor if aName is zero length.
Reimplemented from CSenTransportProperties::SetPropertyL(const TDesC8 &,const TDesC8 &,const TDesC8 &)
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.
Parameter | Description |
---|---|
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.
void | SetProxyHostL | ( | const TDesC8 & | aProxyHost | ) | [virtual] |
Reimplemented from CSenTransportProperties::SetProxyHostL(const TDesC8 &)
Sets the Proxy Host.
Parameter | Description |
---|---|
aProxyHost | is the new Proxy Host. |
void | SetProxyPortL | ( | TInt | aProxyPort | ) | [virtual] |
Reimplemented from CSenTransportProperties::SetProxyPortL(TInt)
Sets the Proxy Port.
Parameter | Description |
---|---|
aProxyPort | is the new Proxy Port. |
void | SetProxyUsageL | ( | TBool | aProxyUsage | ) | [virtual] |
Reimplemented from CSenTransportProperties::SetProxyUsageL(TBool)
Sets the Proxy Usage flag.
Parameter | Description |
---|---|
aProxyUsage | is the new value for Proxy Usage. |
void | SetReader | ( | CSenXmlReader & | aReader | ) | [virtual] |
Reimplemented from CSenTransportProperties::SetReader(CSenXmlReader &)
void | SetSecureDialogL | ( | TBool | aSecureDialog | ) | [virtual] |
Reimplemented from CSenTransportProperties::SetSecureDialogL(TBool)
Sets the flag which controls showing of SecureDialog.
Parameter | Description |
---|---|
aSecureDialog | is the new value for SecureDialog flag. |
void | SetSnapIdL | ( | TUint32 | aSnapId | ) | [virtual] |
Reimplemented from CSenTransportProperties::SetSnapIdL(TUint32)
Sets the SNAP ID.
Parameter | Description |
---|---|
aSnapId | is the new SNAP ID. |
void | SetSoapActionL | ( | const TDesC8 & | aSoapAction | ) | [virtual] |
Reimplemented from CSenTransportProperties::SetSoapActionL(const TDesC8 &)
Sets the Soap Action.
Parameter | Description |
---|---|
aSoapAction | is the new Soap Action. |
void | SetUserAgentL | ( | const TDesC8 & | aUserAgent | ) | [virtual] |
Reimplemented from CSenTransportProperties::SetUserAgentL(const TDesC8 &)
Sets the UserAgent.
Parameter | Description |
---|---|
aUserAgent | is the new User Agent. |
Reimplemented from CSenTransportProperties::SnapIdL(TUint32 &)
Gets the SNAP ID.
Parameter | Description |
---|---|
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::SoapActionL(TPtrC8 &)
Gets the SoapAction.
Parameter | Description |
---|---|
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::UserAgentL(TPtrC8 &)
Gets the UserAgent.
Parameter | Description |
---|---|
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.
void | WriteToL | ( | RWriteStream & | aWriteStream | ) | [virtual] |
Reimplemented from CSenTransportProperties::WriteToL(RWriteStream &)