![]() |
KD SOAP API Documentation
2.2
|
#include <KDSoapClientInterface_p.h>
Public Member Functions | |
KDSoapClientInterfacePrivate () | |
~KDSoapClientInterfacePrivate () | |
QNetworkAccessManager * | accessManager () |
QNetworkRequest | prepareRequest (const QString &method, const QString &action) |
QBuffer * | prepareRequestBuffer (const QString &method, const KDSoapMessage &message, const QString &soapAction, const KDSoapHeaders &headers) |
void | setupReply (QNetworkReply *reply) |
void | writeAttributes (QXmlStreamWriter &writer, const QList< KDSoapValue > &attributes) |
void | writeChildren (KDSoapNamespacePrefixes &namespacePrefixes, QXmlStreamWriter &writer, const KDSoapValueList &args, KDSoapMessage::Use use) |
void | writeElementContents (KDSoapNamespacePrefixes &namespacePrefixes, QXmlStreamWriter &writer, const KDSoapValue &element, KDSoapMessage::Use use) |
Public Attributes | |
QNetworkAccessManager * | m_accessManager |
KDSoapAuthentication | m_authentication |
QString | m_endPoint |
bool | m_hasMessageAddressingProperties = false |
QMap< QByteArray, QByteArray > | m_httpHeaders |
QList< QSslError > | m_ignoreErrorsList |
bool | m_ignoreSslErrors = false |
KDSoapHeaders | m_lastResponseHeaders |
KDSoapMessageAddressingProperties | m_messageAddressingProperties |
QString | m_messageNamespace |
QMap< QString, KDSoapMessage > | m_persistentHeaders |
bool | m_sendSoapActionInHttpHeader = true |
bool | m_sendSoapActionInWsAddressingHeader = false |
QSslConfiguration | m_sslConfiguration |
KDSoapSslHandler * | m_sslHandler |
KDSoapClientInterface::Style | m_style |
KDSoapClientThread | m_thread |
int | m_timeout = 30 * 60 * 1000 |
KDSoap::SoapVersion | m_version |
Definition at line 28 of file KDSoapClientInterface_p.h.
KDSoapClientInterfacePrivate::KDSoapClientInterfacePrivate | ( | ) |
Definition at line 53 of file KDSoapClientInterface.cpp.
References m_sslHandler.
KDSoapClientInterfacePrivate::~KDSoapClientInterfacePrivate | ( | ) |
Definition at line 64 of file KDSoapClientInterface.cpp.
References m_sslHandler.
QNetworkAccessManager * KDSoapClientInterfacePrivate::accessManager | ( | ) |
Definition at line 71 of file KDSoapClientInterface.cpp.
References m_accessManager.
Referenced by KDSoapClientInterface::asyncCall(), KDSoapClientInterface::call(), KDSoapClientInterface::callNoReply(), KDSoapClientInterface::cookieJar(), KDSoapThreadTask::process(), KDSoapClientInterface::proxy(), KDSoapClientInterface::setCookieJar(), and KDSoapClientInterface::setProxy().
QNetworkRequest KDSoapClientInterfacePrivate::prepareRequest | ( | const QString & | method, |
const QString & | action | ||
) |
Definition at line 80 of file KDSoapClientInterface.cpp.
References m_endPoint, m_httpHeaders, m_messageNamespace, m_sendSoapActionInHttpHeader, m_sslConfiguration, m_version, KDSoap::SOAP1_1, and KDSoap::SOAP1_2.
Referenced by KDSoapClientInterface::asyncCall(), KDSoapClientInterface::callNoReply(), and KDSoapThreadTask::process().
QBuffer * KDSoapClientInterfacePrivate::prepareRequestBuffer | ( | const QString & | method, |
const KDSoapMessage & | message, | ||
const QString & | soapAction, | ||
const KDSoapHeaders & | headers | ||
) |
Definition at line 136 of file KDSoapClientInterface.cpp.
References KDSoapMessageAddressingProperties::action(), m_authentication, m_hasMessageAddressingProperties, m_messageAddressingProperties, m_messageNamespace, m_persistentHeaders, m_sendSoapActionInWsAddressingHeader, m_style, m_version, KDSoapMessage::messageAddressingProperties(), KDSoapMessageWriter::messageToXml(), KDSoapClientInterface::RPCStyle, KDSoapMessageAddressingProperties::setAction(), KDSoapMessage::setMessageAddressingProperties(), KDSoapMessageWriter::setMessageNamespace(), and KDSoapMessageWriter::setVersion().
Referenced by KDSoapClientInterface::asyncCall(), KDSoapClientInterface::callNoReply(), and KDSoapThreadTask::process().
void KDSoapClientInterfacePrivate::setupReply | ( | QNetworkReply * | reply | ) |
Definition at line 281 of file KDSoapClientInterface.cpp.
References m_ignoreErrorsList, m_ignoreSslErrors, m_sslHandler, and m_timeout.
Referenced by KDSoapClientInterface::asyncCall(), KDSoapClientInterface::callNoReply(), and KDSoapThreadTask::process().
void KDSoapClientInterfacePrivate::writeAttributes | ( | QXmlStreamWriter & | writer, |
const QList< KDSoapValue > & | attributes | ||
) |
void KDSoapClientInterfacePrivate::writeChildren | ( | KDSoapNamespacePrefixes & | namespacePrefixes, |
QXmlStreamWriter & | writer, | ||
const KDSoapValueList & | args, | ||
KDSoapMessage::Use | use | ||
) |
void KDSoapClientInterfacePrivate::writeElementContents | ( | KDSoapNamespacePrefixes & | namespacePrefixes, |
QXmlStreamWriter & | writer, | ||
const KDSoapValue & | element, | ||
KDSoapMessage::Use | use | ||
) |
QNetworkAccessManager* KDSoapClientInterfacePrivate::m_accessManager |
Definition at line 37 of file KDSoapClientInterface_p.h.
Referenced by accessManager().
KDSoapAuthentication KDSoapClientInterfacePrivate::m_authentication |
Definition at line 41 of file KDSoapClientInterface_p.h.
Referenced by KDSoapClientInterface::call(), prepareRequestBuffer(), and KDSoapClientInterface::setAuthentication().
QString KDSoapClientInterfacePrivate::m_endPoint |
Definition at line 38 of file KDSoapClientInterface_p.h.
Referenced by KDSoapClientInterface::KDSoapClientInterface(), KDSoapClientInterface::endPoint(), prepareRequest(), and KDSoapClientInterface::setEndPoint().
bool KDSoapClientInterfacePrivate::m_hasMessageAddressingProperties = false |
Definition at line 57 of file KDSoapClientInterface_p.h.
Referenced by prepareRequestBuffer(), and KDSoapClientInterface::setMessageAddressingProperties().
QMap<QByteArray, QByteArray> KDSoapClientInterfacePrivate::m_httpHeaders |
Definition at line 43 of file KDSoapClientInterface_p.h.
Referenced by prepareRequest(), and KDSoapClientInterface::setRawHTTPHeaders().
QList<QSslError> KDSoapClientInterfacePrivate::m_ignoreErrorsList |
Definition at line 49 of file KDSoapClientInterface_p.h.
Referenced by KDSoapClientInterface::ignoreSslErrors(), and setupReply().
bool KDSoapClientInterfacePrivate::m_ignoreSslErrors = false |
Definition at line 54 of file KDSoapClientInterface_p.h.
Referenced by KDSoapClientInterface::ignoreSslErrors(), and setupReply().
KDSoapHeaders KDSoapClientInterfacePrivate::m_lastResponseHeaders |
Definition at line 47 of file KDSoapClientInterface_p.h.
Referenced by KDSoapClientInterface::call(), and KDSoapClientInterface::lastResponseHeaders().
KDSoapMessageAddressingProperties KDSoapClientInterfacePrivate::m_messageAddressingProperties |
Definition at line 46 of file KDSoapClientInterface_p.h.
Referenced by prepareRequestBuffer(), and KDSoapClientInterface::setMessageAddressingProperties().
QString KDSoapClientInterfacePrivate::m_messageNamespace |
Definition at line 39 of file KDSoapClientInterface_p.h.
Referenced by KDSoapClientInterface::KDSoapClientInterface(), prepareRequest(), and prepareRequestBuffer().
QMap<QString, KDSoapMessage> KDSoapClientInterfacePrivate::m_persistentHeaders |
Definition at line 42 of file KDSoapClientInterface_p.h.
Referenced by prepareRequestBuffer(), and KDSoapClientInterface::setHeader().
bool KDSoapClientInterfacePrivate::m_sendSoapActionInHttpHeader = true |
Definition at line 55 of file KDSoapClientInterface_p.h.
Referenced by prepareRequest(), KDSoapClientInterface::sendSoapActionInHttpHeader(), and KDSoapClientInterface::setSendSoapActionInHttpHeader().
bool KDSoapClientInterfacePrivate::m_sendSoapActionInWsAddressingHeader = false |
Definition at line 56 of file KDSoapClientInterface_p.h.
Referenced by prepareRequestBuffer(), KDSoapClientInterface::sendSoapActionInWsAddressingHeader(), and KDSoapClientInterface::setSendSoapActionInWsAddressingHeader().
QSslConfiguration KDSoapClientInterfacePrivate::m_sslConfiguration |
Definition at line 50 of file KDSoapClientInterface_p.h.
Referenced by prepareRequest(), KDSoapClientInterface::setSslConfiguration(), and KDSoapClientInterface::sslConfiguration().
KDSoapSslHandler* KDSoapClientInterfacePrivate::m_sslHandler |
Definition at line 51 of file KDSoapClientInterface_p.h.
Referenced by KDSoapClientInterfacePrivate(), ~KDSoapClientInterfacePrivate(), setupReply(), and KDSoapClientInterface::sslHandler().
KDSoapClientInterface::Style KDSoapClientInterfacePrivate::m_style |
Definition at line 45 of file KDSoapClientInterface_p.h.
Referenced by prepareRequestBuffer(), KDSoapClientInterface::setStyle(), and KDSoapClientInterface::style().
KDSoapClientThread KDSoapClientInterfacePrivate::m_thread |
Definition at line 40 of file KDSoapClientInterface_p.h.
Referenced by KDSoapClientInterface::~KDSoapClientInterface(), and KDSoapClientInterface::call().
int KDSoapClientInterfacePrivate::m_timeout = 30 * 60 * 1000 |
Definition at line 53 of file KDSoapClientInterface_p.h.
Referenced by KDSoapClientInterface::setTimeout(), setupReply(), and KDSoapClientInterface::timeout().
KDSoap::SoapVersion KDSoapClientInterfacePrivate::m_version |
Definition at line 44 of file KDSoapClientInterface_p.h.
Referenced by KDSoapClientInterface::KDSoapClientInterface(), KDSoapClientInterface::asyncCall(), prepareRequest(), prepareRequestBuffer(), KDSoapThreadTask::process(), KDSoapClientInterface::setSoapVersion(), and KDSoapClientInterface::soapVersion().