![]() |
KD SOAP API Documentation 2.2
|
#include <KDSoapServerCustomVerbRequestInterface.h>
Public Member Functions | |
| KDSoapServerCustomVerbRequestInterface () | |
| KDSoapServerCustomVerbRequestInterface (const KDSoapServerCustomVerbRequestInterface &other)=delete | |
| virtual | ~KDSoapServerCustomVerbRequestInterface () |
| KDSoapServerCustomVerbRequestInterface & | operator= (const KDSoapServerCustomVerbRequestInterface &other)=delete |
| virtual bool | processCustomVerbRequest (const QByteArray &requestType, const QByteArray &requestData, const QMap< QByteArray, QByteArray > &httpHeaders, QByteArray &customAnswer) |
Additional interface for handling custom verb request.
In addition to deriving from KDSoapServerObjectInterface, you can derive from KDSoapServerCustomVerbRequestInterface in order to handle custom verb HTTP requests.
Use Q_INTERFACES(KDSoapServerCustomVerbRequestInterface) in your derived class (under Q_OBJECT) so that Qt can discover the additional inheritance.
Definition at line 30 of file KDSoapServerCustomVerbRequestInterface.h.
| KDSoapServerCustomVerbRequestInterface::KDSoapServerCustomVerbRequestInterface | ( | ) |
Constructor
Definition at line 13 of file KDSoapServerCustomVerbRequestInterface.cpp.
|
delete |
|
virtual |
Destructor
Definition at line 18 of file KDSoapServerCustomVerbRequestInterface.cpp.
|
delete |
|
virtual |
Process a request made with a custom HTTP verb
| requestType | HTTP verb other than GET and POST |
| requestData | is the content of the request |
| httpHeaders | the map of http headers (keys have been lowercased since they are case insensitive) |
| customAnswer | allow to send back the answer to the client if the request has been handled |
Definition at line 22 of file KDSoapServerCustomVerbRequestInterface.cpp.
© 2010-2024 Klarälvdalens Datakonsult AB (KDAB)
https://www.kdab.com/development-resources/qt-tools/kd-soap/