10 #ifndef KDSOAPSERVEROBJECTINTERFACE_H
11 #define KDSOAPSERVEROBJECTINTERFACE_H
18 #include <QtCore/QByteArray>
19 #include <QtCore/QObject>
20 #include <QtCore/QVector>
25 class QAbstractSocket;
101 virtual QIODevice *processFileRequest(
const QString &path, QByteArray &contentType);
121 virtual void processRequestWithPath(
const KDSoapMessage &request,
KDSoapMessage &response,
const QByteArray &soapAction,
const QString &path);
159 QByteArray soapAction()
const;
173 void setResponseNamespace(
const QString &ns);
186 void setFault(
const QString &faultCode,
const QString &faultString,
const QString &faultActor = QString(),
const QString &detail = QString());
199 void setFault(
const QString &faultCode,
const QString &faultString,
const QString &faultActor,
const KDSoapValue &detail);
204 bool hasFault()
const;
211 QAbstractSocket *serverSocket()
const;
243 void writeHTTP(
const QByteArray &httpReply);
253 void writeXML(
const QByteArray &reply,
bool isFault =
false);
258 void setRequestHeaders(
const KDSoapHeaders &headers,
const QByteArray &soapAction);
260 QString responseNamespace()
const;
#define KDSOAPSERVER_EXPORT
QVector< HttpResponseHeaderItem > HttpResponseHeaderItems
bool isDelayedResponse() const
KDSoapServerObjectInterface(const KDSoapServerObjectInterface &)=delete
KDSoapServerObjectInterface & operator=(const KDSoapServerObjectInterface &)=delete