KD SOAP  1.10.0
KDSoapServerRawXMLInterface.h
1 /****************************************************************************
2 **
3 ** This file is part of the KD Soap library.
4 **
5 ** SPDX-FileCopyrightText: 2010-2020 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 
65  virtual bool newRequest(const QByteArray &requestType, const QMap<QByteArray, QByteArray> &httpHeaders)
66  {
67  Q_UNUSED(requestType);
68  Q_UNUSED(httpHeaders);
69  return false;
70  }
71 
75  virtual void processXML(const QByteArray &xmlChunk)
76  {
77  Q_UNUSED(xmlChunk);
78  }
79 
84  virtual void endRequest()
85  {
86  }
87 
88 private:
89  KDSoapServerRawXMLPrivate *const d;
90 };
91 
92 QT_BEGIN_NAMESPACE
93 Q_DECLARE_INTERFACE(KDSoapServerRawXMLInterface,
94  "com.kdab.KDSoap.ServerRawXMLInterface/1.0")
95 QT_END_NAMESPACE
96 
97 #endif /* KDSOAPSERVERRAWXMLINTERFACE_H */
Definition: KDSoapServerRawXMLInterface.h:46
virtual bool newRequest(const QByteArray &requestType, const QMap< QByteArray, QByteArray > &httpHeaders)
Definition: KDSoapServerRawXMLInterface.h:65
virtual void processXML(const QByteArray &xmlChunk)
Definition: KDSoapServerRawXMLInterface.h:75
virtual void endRequest()
Definition: KDSoapServerRawXMLInterface.h:84

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/