KD SOAP  2.0.0
KDSoapServerRawXMLInterface.h
1 /****************************************************************************
2 **
3 ** This file is part of the KD Soap library.
4 **
5 ** SPDX-FileCopyrightText: 2010-2022 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6 **
7 ** SPDX-License-Identifier: LicenseRef-KDAB-KDSoap-AGPL3-Modified OR LicenseRef-KDAB-KDSoap OR LicenseRef-KDAB-KDSoap-US
8 **
9 ** Licensees holding valid commercial KD Soap licenses may use this file in
10 ** accordance with the KD Soap Commercial License Agreement provided with
11 ** the Software.
12 **
13 ** Contact info@kdab.com if any conditions of this licensing are not clear to you.
14 **
15 ****************************************************************************/
16 #ifndef KDSOAPSERVERRAWXMLINTERFACE_H
17 #define KDSOAPSERVERRAWXMLINTERFACE_H
18 
19 #include "KDSoapServerGlobal.h"
20 #include <QtCore/QObject>
21 #include <QtCore/QMap>
22 class KDSoapRawXMLentication;
23 class KDSoapServerSocket;
24 class KDSoapServerRawXMLPrivate;
25 
46 class KDSOAPSERVER_EXPORT KDSoapServerRawXMLInterface
47 {
48 public:
53 
57  virtual ~KDSoapServerRawXMLInterface();
58 
66  virtual bool newRequest(const QByteArray &requestType, const QMap<QByteArray, QByteArray> &httpHeaders)
67  {
68  Q_UNUSED(requestType);
69  Q_UNUSED(httpHeaders);
70  return false;
71  }
72 
76  virtual void processXML(const QByteArray &xmlChunk)
77  {
78  Q_UNUSED(xmlChunk);
79  }
80 
85  virtual void endRequest()
86  {
87  }
88 
89 private:
90  KDSoapServerRawXMLPrivate *const d;
91 };
92 
93 QT_BEGIN_NAMESPACE
94 Q_DECLARE_INTERFACE(KDSoapServerRawXMLInterface, "com.kdab.KDSoap.ServerRawXMLInterface/1.0")
95 QT_END_NAMESPACE
96 
97 #endif /* KDSOAPSERVERRAWXMLINTERFACE_H */
KDSoapServerRawXMLInterface::processXML
virtual void processXML(const QByteArray &xmlChunk)
Definition: KDSoapServerRawXMLInterface.h:76
KDSoapServerRawXMLInterface::endRequest
virtual void endRequest()
Definition: KDSoapServerRawXMLInterface.h:85
KDSoapServerRawXMLInterface
Definition: KDSoapServerRawXMLInterface.h:47
KDSoapServerRawXMLInterface::newRequest
virtual bool newRequest(const QByteArray &requestType, const QMap< QByteArray, QByteArray > &httpHeaders)
Definition: KDSoapServerRawXMLInterface.h:66
QMap< QByteArray, QByteArray >
QByteArray

© 2010-2022 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-soap/
Generated on Fri Jul 22 2022 15:57:43 for KD SOAP by doxygen 1.8.20