23 #ifndef KDSOAPSERVEROBJECTINTERFACE_H 24 #define KDSOAPSERVEROBJECTINTERFACE_H 26 #include "KDSoapServerGlobal.h" 27 #include <KDSoapClient/KDSoapMessage.h> 28 #include "KDSoapDelayedResponseHandle.h" 30 #include <QtCore/QObject> 33 class KDSoapServerSocket;
34 class QAbstractSocket;
106 virtual QIODevice *processFileRequest(
const QString &path, QByteArray &contentType);
126 virtual void processRequestWithPath(
const KDSoapMessage &request,
KDSoapMessage &response,
const QByteArray &soapAction,
const QString &path);
146 QByteArray soapAction()
const;
160 void setResponseNamespace(
const QString &ns);
173 void setFault(
const QString &faultCode,
const QString &faultString,
const QString &faultActor = QString(),
const QString &detail = QString());
186 void setFault(
const QString &faultCode,
const QString &faultString,
const QString &faultActor,
const KDSoapValue &detail);
191 bool hasFault()
const;
198 QAbstractSocket *serverSocket()
const;
214 bool isDelayedResponse()
const;
230 void writeHTTP(
const QByteArray &httpReply);
240 void writeXML(
const QByteArray &reply,
bool isFault =
false);
243 friend class KDSoapServerSocket;
244 void setServerSocket(KDSoapServerSocket *serverSocket);
245 void setRequestHeaders(
const KDSoapHeaders &headers,
const QByteArray &soapAction);
247 QString responseNamespace()
const;
255 "com.kdab.KDSoap.ServerObjectInterface/1.0")
258 #endif // KDSOAPSERVEROBJECTINTERFACE_H Definition: KDSoapValue.h:61
Definition: KDSoapServerObjectInterface.h:67
Definition: KDSoapMessage.h:41
Definition: KDSoapDelayedResponseHandle.h:39