CSenHttpTransportProperties Class Reference
class CSenHttpTransportProperties : public CSenTransportProperties
|
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);
Inherits from
-
CSenHttpTransportProperties
Public Member Functions
|
|
~CSenHttpTransportProperties
()
|
TInt
|
AcceptL
(
TPtrC8
&)
|
void
|
ApplyBindingL
(
TSOAPVersion
)
|
HBufC8
*
|
AsUtf8L
()
|
HBufC8
*
|
AsUtf8LC
()
|
TInt
|
BoolPropertyL
(const
TDesC8
&,
TBool
&)
|
MSenProperties
*
|
CloneL
()
|
TInt
|
ContentTypeL
(
TPtrC8
&)
|
TInt
|
DeviceIDL
(
TPtrC8
&)
|
TInt
|
DownloadFolderL
(
TPtrC8
&)
|
TInt
|
FileAttachmentL
(const
TDesC8
&,
HBufC8
*&)
|
TInt
|
HttpHeaderL
(const
TDesC8
&,
TPtrC8
&)
|
TInt
|
HttpMethodL
(
TSenHttpMethod
&)
|
TInt
|
HttpVersionL
(
TSenHttpVersion
&)
|
TInt
|
IapIdL
(
TUint32
&)
|
TInt
|
IntPropertyL
(const
TDesC8
&,
TInt
&)
|
TBool
|
IsSafeToCast
(TSenPropertiesClassType)
|
TInt
|
MwsNamespaceL
(
TPtrC8
&)
|
IMPORT_C
CSenHttpTransportProperties
*
|
NewL
()
|
IMPORT_C
CSenHttpTransportProperties
*
|
NewL
(const
TDesC8
&,
CSenXmlReader
&)
|
IMPORT_C
CSenHttpTransportProperties
*
|
NewL
(const
CSenElement
&)
|
IMPORT_C
CSenHttpTransportProperties
*
|
NewLC
()
|
IMPORT_C
CSenHttpTransportProperties
*
|
NewLC
(const
TDesC8
&,
CSenXmlReader
&)
|
IMPORT_C
CSenHttpTransportProperties
*
|
NewLC
(const
CSenElement
&)
|
TSenPropertiesClassType
|
PropertiesClassType
()
|
TInt
|
PropertyL
(const
TDesC8
&,
TPtrC8
&)
|
TInt
|
PropertyL
(const
TDesC8
&,
TPtrC8
&,
TPtrC8
&)
|
TInt
|
ProxyHostL
(
TPtrC8
&)
|
TInt
|
ProxyPortL
(
TInt
&)
|
TInt
|
ProxyUsageL
(
TBool
&)
|
void
|
ReadFromL
(const
TDesC8
&)
|
TInt
|
RemovePropertyL
(const
TDesC8
&)
|
TInt
|
SecureDialogL
(
TBool
&)
|
void
|
SetAcceptL
(const
TDesC8
&)
|
TInt
|
SetBoolPropertyL
(const
TDesC8
&, const
TBool
)
|
void
|
SetContentTypeL
(const
TDesC8
&)
|
void
|
SetDeviceIDL
(const
TDesC8
&)
|
void
|
SetDownloadFolderL
(const
TDesC8
&)
|
TInt
|
SetFileAttachmentL
(const
TDesC8
&, const
TDesC8
&)
|
void
|
SetHttpHeaderL
(const
TDesC8
&, const
TDesC8
&)
|
void
|
SetHttpMethodL
(
TSenHttpMethod
)
|
void
|
SetHttpVersionL
(
TSenHttpVersion
)
|
void
|
SetIapIdL
(
TUint32
)
|
TInt
|
SetIntPropertyL
(const
TDesC8
&, const
TInt
)
|
void
|
SetMwsNamespaceL
(const
TDesC8
&)
|
TInt
|
SetOmittedL
(const
TDesC8
&,
TBool
)
|
TInt
|
SetPropertyL
(const
TDesC8
&, const
TDesC8
&)
|
TInt
|
SetPropertyL
(const
TDesC8
&, const
TDesC8
&, const
TDesC8
&)
|
void
|
SetProxyHostL
(const
TDesC8
&)
|
void
|
SetProxyPortL
(
TInt
)
|
void
|
SetProxyUsageL
(
TBool
)
|
void
|
SetReader
(
CSenXmlReader
&)
|
void
|
SetSecureDialogL
(
TBool
)
|
void
|
SetSnapIdL
(
TUint32
)
|
void
|
SetSoapActionL
(const
TDesC8
&)
|
void
|
SetUserAgentL
(const
TDesC8
&)
|
TInt
|
SnapIdL
(
TUint32
&)
|
TInt
|
SoapActionL
(
TPtrC8
&)
|
TInt
|
UserAgentL
(
TPtrC8
&)
|
void
|
WriteToL
(
RWriteStream
&)
|
Constructor & Destructor Documentation
CSenHttpTransportProperties()
CSenHttpTransportProperties
|
(
|
)
|
[protected]
|
~CSenHttpTransportProperties()
~CSenHttpTransportProperties
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AcceptL(TPtrC8 &)
Parameters
TPtrC8
& aAccept
|
A TPtrC8 reference to be filled in with the value of the Accept.
|
AdaptDblQutesLC(const TDesC8 &)
HBufC8
*
|
AdaptDblQutesLC
|
(
|
const
TDesC8
&
|
aValue
|
)
|
[private]
|
ApplyBindingL(TSOAPVersion)
void
|
ApplyBindingL
|
(
|
TSOAPVersion
|
aSoapVersion
|
)
|
[virtual]
|
Parameters
TSOAPVersion
aSoapVersion
|
is a soap1.2 or soap1.1.
|
AsUtf8L()
HBufC8
*
|
AsUtf8L
|
(
|
)
|
[virtual]
|
AsUtf8LC()
HBufC8
*
|
AsUtf8LC
|
(
|
)
|
[virtual]
|
BaseConstructL(const TDesC8 &, const TDesC8 &, CSenXmlReader *)
BaseConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &, CSenXmlReader *)
BaseConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const TDesC8 &, CSenXmlReader *)
BaseConstructL(const CSenElement &)
void
|
BaseConstructL
|
(
|
const
CSenElement
&
|
aElement
|
)
|
[protected, virtual]
|
BoolPropertyL(const TDesC8 &, TBool &)
ContentTypeL(TPtrC8 &)
TInt
|
ContentTypeL
|
(
|
TPtrC8
&
|
aContentType
|
)
|
[virtual]
|
Gets the information if IAPDialog is shown or not.
Parameters
TPtrC8
& aContentType
|
A TPtrC8 reference to be filled in with the value of the Content Type.
|
DeviceIDL(TPtrC8 &)
Parameters
TPtrC8
& aDeviceID
|
A TPtrC8 reference to be filled in with the value of the Device ID.
|
DownloadFolderL(TPtrC8 &)
TInt
|
DownloadFolderL
|
(
|
TPtrC8
&
|
aDownloadFolder
|
)
|
[virtual]
|
Gets download folder for incoming BLOB (binary large objects)
Parameters
TPtrC8
& aDownloadFolder
|
- A TPtrC8 reference to be filled in with the value of the shared, public folder for downloaded content
|
FileAttachmentL(const TDesC8 &, HBufC8 *&)
Gets filename of file attachment
Parameters
const
TDesC8
& aCid
|
- cid for filename
|
HBufC8
*& aFileName
|
- filename of file attachment with current cid
|
HttpHeaderL(const TDesC8 &, TPtrC8 &)
Parameters
const
TDesC8
& aHeaderName
|
Name of the Http header.
|
TPtrC8
& aValue
|
A TPtrC8 reference to be filled in with the value of the Http header.
|
HttpMethodL(TSenHttpMethod &)
Parameters
TSenHttpMethod
& aHttpMethod
|
A TSenHttpMethod reference to be filled in with the value of the Http method.
|
HttpVersionL(TSenHttpVersion &)
Parameters
TSenHttpVersion
& aHttpVersion
|
A TSenHttpVersion reference to be filled in with the value of the Http version.
|
IapIdL(TUint32 &)
Parameters
TUint32
& aCurrentIapId
|
A TUint32 reference to be filled in with the value of the IAP ID.
|
IntPropertyL(const TDesC8 &, TInt &)
IsSafeToCast(TSenPropertiesClassType)
TBool
|
IsSafeToCast
|
(
|
TSenPropertiesClassType
|
aClass
|
)
|
[virtual]
|
Parameters
TSenPropertiesClassType aClass
|
|
MwsNamespaceL(TPtrC8 &)
TInt
|
MwsNamespaceL
|
(
|
TPtrC8
&
|
aMwsNamespace
|
)
|
[virtual]
|
Gets namespace of Microsoft schema
Parameters
TPtrC8
& aMwsNamespace
|
- namespace
|
NewL(const TDesC8 &, CSenXmlReader &)
NewL(const CSenElement &)
NewLC(const TDesC8 &, CSenXmlReader &)
NewLC(const CSenElement &)
PropertiesClassType()
TSenPropertiesClassType
|
PropertiesClassType
|
(
|
)
|
[virtual]
|
PropertyL(const TDesC8 &, TPtrC8 &)
PropertyL(const TDesC8 &, TPtrC8 &, TPtrC8 &)
Gets the value of the property behind certain name.
-
Since
-
Series60
Parameters
const
TDesC8
& aName
|
The name identifying this property.
|
TPtrC8
& aValue
|
A TPtrC8 reference to be filled in with the value of the property.
|
TPtrC8
& aType
|
A TPtrC8 reference to be filled in with the type of the property.
|
ProxyHostL(TPtrC8 &)
Parameters
TPtrC8
& aProxyHost
|
A TPtrC8 reference to be filled in with the value of the Proxy Host.
|
ProxyPortL(TInt &)
TInt
|
ProxyPortL
|
(
|
TInt
&
|
aProxyPort
|
)
|
[virtual]
|
Parameters
TInt
& aProxyPort
|
A TInt reference to be filled in with the value of the Proxy Port.
|
ProxyUsageL(TBool &)
TInt
|
ProxyUsageL
|
(
|
TBool
&
|
aProxyUsage
|
)
|
[virtual]
|
Gets the Proxy Usage flag.
Parameters
TBool
& aProxyUsage
|
A TBool reference to be filled in with the value of the Proxy Usage.
|
ReadFromL(const TDesC8 &)
void
|
ReadFromL
|
(
|
const
TDesC8
&
|
aBuffer
|
)
|
[virtual]
|
RemovePropertyL(const TDesC8 &)
TInt
|
RemovePropertyL
|
(
|
const
TDesC8
&
|
aName
|
)
|
[virtual]
|
SecureDialogL(TBool &)
TInt
|
SecureDialogL
|
(
|
TBool
&
|
aSecureDialog
|
)
|
[virtual]
|
Gets the information if SecureDialog is shown or not.
SetAcceptL(const TDesC8 &)
void
|
SetAcceptL
|
(
|
const
TDesC8
&
|
aAccept
|
)
|
[virtual]
|
Parameters
const
TDesC8
& aAccept
|
is the new Accept value.
|
SetBoolPropertyL(const TDesC8 &, const TBool)
TInt
|
SetBoolPropertyL
|
(
|
const
TDesC8
&
|
aName,
|
|
const
TBool
|
aValue
|
|
)
|
[virtual]
|
SetContentTypeL(const TDesC8 &)
void
|
SetContentTypeL
|
(
|
const
TDesC8
&
|
aContentType
|
)
|
[virtual]
|
Parameters
const
TDesC8
& aContentType
|
is the new Content Type.
|
SetDeviceIDL(const TDesC8 &)
void
|
SetDeviceIDL
|
(
|
const
TDesC8
&
|
aDeviceID
|
)
|
[virtual]
|
Parameters
const
TDesC8
& aDeviceID
|
is the new Device ID.
|
SetDownloadFolderL(const TDesC8 &)
void
|
SetDownloadFolderL
|
(
|
const
TDesC8
&
|
aDownloadFolder
|
)
|
[virtual]
|
Sets download folder for incoming BLOB (binary large objects)
Parameters
const
TDesC8
& aDownloadFolder
|
- shared, public folder for downloaded content
|
SetFileAttachmentL(const TDesC8 &, const TDesC8 &)
TInt
|
SetFileAttachmentL
|
(
|
const
TDesC8
&
|
aCid,
|
|
const
TDesC8
&
|
aFileName
|
|
)
|
[virtual]
|
Sets filename of file attachment
Parameters
const
TDesC8
& aCid
|
- cid for filename
|
const
TDesC8
& aFileName
|
- filename of file attachment with current cid
|
SetHttpHeaderL(const TDesC8 &, const TDesC8 &)
void
|
SetHttpHeaderL
|
(
|
const
TDesC8
&
|
aHeaderName,
|
|
const
TDesC8
&
|
aValue
|
|
)
|
[virtual]
|
Parameters
const
TDesC8
& aHeaderName
|
Name of the Http header.
|
const
TDesC8
& aValue
|
Value of the Http header
|
SetHttpMethodL(TSenHttpMethod)
SetHttpVersionL(TSenHttpVersion)
SetIapIdL(TUint32)
void
|
SetIapIdL
|
(
|
TUint32
|
aIapId
|
)
|
[virtual]
|
SetIntPropertyL(const TDesC8 &, const TInt)
TInt
|
SetIntPropertyL
|
(
|
const
TDesC8
&
|
aName,
|
|
const
TInt
|
aValue
|
|
)
|
[virtual]
|
SetMwsNamespaceL(const TDesC8 &)
void
|
SetMwsNamespaceL
|
(
|
const
TDesC8
&
|
aMwsNamespace
|
)
|
[virtual]
|
Sets namespace of Microsoft schema
Parameters
const
TDesC8
& aMwsNamespace
|
- namespace
|
SetOmittedL(const TDesC8 &, TBool)
SetPropertyL(const TDesC8 &, const TDesC8 &)
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.
Parameters
const
TDesC8
& aName
|
Name of the property, which can be later used to refer the given value.
|
const
TDesC8
& aValue
|
Is the value of this property.
|
const
TDesC8
& aType
|
Is the type of this property.
|
SetProxyHostL(const TDesC8 &)
void
|
SetProxyHostL
|
(
|
const
TDesC8
&
|
aProxyHost
|
)
|
[virtual]
|
Parameters
const
TDesC8
& aProxyHost
|
is the new Proxy Host.
|
SetProxyPortL(TInt)
void
|
SetProxyPortL
|
(
|
TInt
|
aProxyPort
|
)
|
[virtual]
|
Parameters
TInt
aProxyPort
|
is the new Proxy Port.
|
SetProxyUsageL(TBool)
void
|
SetProxyUsageL
|
(
|
TBool
|
aProxyUsage
|
)
|
[virtual]
|
Sets the Proxy Usage flag.
Parameters
TBool
aProxyUsage
|
is the new value for Proxy Usage.
|
SetReader(CSenXmlReader &)
SetSecureDialogL(TBool)
void
|
SetSecureDialogL
|
(
|
TBool
|
aSecureDialog
|
)
|
[virtual]
|
Sets the flag which controls showing of SecureDialog.
Parameters
TBool
aSecureDialog
|
is the new value for SecureDialog flag.
|
SetSnapIdL(TUint32)
void
|
SetSnapIdL
|
(
|
TUint32
|
aSnapId
|
)
|
[virtual]
|
Parameters
TUint32
aSnapId
|
is the new SNAP ID.
|
SetSoapActionL(const TDesC8 &)
void
|
SetSoapActionL
|
(
|
const
TDesC8
&
|
aSoapAction
|
)
|
[virtual]
|
Parameters
const
TDesC8
& aSoapAction
|
is the new Soap Action.
|
SetUserAgentL(const TDesC8 &)
void
|
SetUserAgentL
|
(
|
const
TDesC8
&
|
aUserAgent
|
)
|
[virtual]
|
Parameters
const
TDesC8
& aUserAgent
|
is the new User Agent.
|
SnapIdL(TUint32 &)
Parameters
TUint32
& aCurrentSnapId
|
A TUint32 reference to be filled in with the value of the SNAP ID.
|
SoapActionL(TPtrC8 &)
TInt
|
SoapActionL
|
(
|
TPtrC8
&
|
aSoapAction
|
)
|
[virtual]
|
Parameters
TPtrC8
& aSoapAction
|
A TPtrC8 reference to be filled in with the value of the SoapAction.
|
UserAgentL(TPtrC8 &)
Parameters
TPtrC8
& aUserAgent
|
A TPtrC8 reference to be filled in with the value of the UserAgent.
|
Member Enumerations Documentation
Enum TSenHttpMethod
Enumerators
ESenHttpPut
|
|
ESenHttpDelete
|
|
ESenHttpGet
|
|
ESenHttpPost
|
|
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.