KD SOAP  1.9.1
KDSoapServerRawXMLInterface.h
1 /****************************************************************************
2 ** Copyright (C) 2010-2020 Klaralvdalens Datakonsult AB, a KDAB Group company, info@kdab.com.
3 ** All rights reserved.
4 **
5 ** This file is part of the KD Soap library.
6 **
7 ** Licensees holding valid commercial KD Soap licenses may use this file in
8 ** accordance with the KD Soap Commercial License Agreement provided with
9 ** the Software.
10 **
11 **
12 ** This file may be distributed and/or modified under the terms of the
13 ** GNU Lesser General Public License version 2.1 and version 3 as published by the
14 ** Free Software Foundation and appearing in the file LICENSE.LGPL.txt included.
15 **
16 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
17 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
18 **
19 ** Contact info@kdab.com if any conditions of this licensing are not
20 ** clear to you.
21 **
22 **********************************************************************/
23 #ifndef KDSOAPSERVERRAWXMLINTERFACE_H
24 #define KDSOAPSERVERRAWXMLINTERFACE_H
25 
26 #include "KDSoapServerGlobal.h"
27 #include <QtCore/QObject>
28 #include <QtCore/QMap>
29 class KDSoapRawXMLentication;
30 class KDSoapServerSocket;
31 class KDSoapServerRawXMLPrivate;
32 
53 class KDSOAPSERVER_EXPORT KDSoapServerRawXMLInterface
54 {
55 public:
60 
64  virtual ~KDSoapServerRawXMLInterface();
65 
72  virtual bool newRequest(const QByteArray &requestType, const QMap<QByteArray, QByteArray> &httpHeaders)
73  {
74  Q_UNUSED(requestType);
75  Q_UNUSED(httpHeaders);
76  return false;
77  }
78 
82  virtual void processXML(const QByteArray &xmlChunk)
83  {
84  Q_UNUSED(xmlChunk);
85  }
86 
91  virtual void endRequest()
92  {
93  }
94 
95 private:
96  KDSoapServerRawXMLPrivate *const d;
97 };
98 
99 QT_BEGIN_NAMESPACE
100 Q_DECLARE_INTERFACE(KDSoapServerRawXMLInterface,
101  "com.kdab.KDSoap.ServerRawXMLInterface/1.0")
102 QT_END_NAMESPACE
103 
104 #endif /* KDSOAPSERVERRAWXMLINTERFACE_H */
Definition: KDSoapServerRawXMLInterface.h:53
virtual bool newRequest(const QByteArray &requestType, const QMap< QByteArray, QByteArray > &httpHeaders)
Definition: KDSoapServerRawXMLInterface.h:72
virtual void processXML(const QByteArray &xmlChunk)
Definition: KDSoapServerRawXMLInterface.h:82
virtual void endRequest()
Definition: KDSoapServerRawXMLInterface.h:91

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/