|
|
virtual std::shared_ptr< HttpAuthentication > | getAuthentication ()=0 |
| |
|
virtual void | generateFault (Buffer &output, HttpResponseStatus &httpStatus, String &contentType, const HTTPException &e, bool jsonOutput) const =0 |
| |
|
xdoc::SNode | processXmlContent (const char *startOfMessage, const xdoc::SNode &xmlContent) const |
| |
|
void | processJsonContent (const char *startOfMessage, const xdoc::SNode &jsonContent, RequestInfo &requestInfo, HttpResponseStatus &httpStatus, String &contentType) const |
| |
| String | processMessage (Buffer &output, const xdoc::SNode &xmlContent, const xdoc::SNode &jsonContent, const SHttpAuthentication &authentication, bool requestIsJSON, HttpResponseStatus &httpResponseStatus, String &contentType) const |
| |
| TCPSocket & | socket () |
| |
| HttpHeaders & | headers () |
| |
| String | header (const sptk::String &name) |
| |
|
|
static void | RESTtoSOAP (const URL &url, const char *startOfMessage, const xdoc::SNode &message) |
| |
|
static xdoc::SNode | findRequestNode (const xdoc::SNode &message, const String &messageType) |
| |
◆ processMessage()
| String sptk::BaseWebServiceProtocol::processMessage |
( |
Buffer & |
output, |
|
|
const xdoc::SNode & |
xmlContent, |
|
|
const xdoc::SNode & |
jsonContent, |
|
|
const SHttpAuthentication & |
authentication, |
|
|
bool |
requestIsJSON, |
|
|
HttpResponseStatus & |
httpResponseStatus, |
|
|
String & |
contentType |
|
) |
| const |
|
protected |
Process request message, and store response to output
- Parameters
-
| output | Output buffer |
| xmlContent | Input message |
| authentication | Authentication |
| requestIsJSON | Request is in JSON format |
| httpResponseStatus | Output HTTP response status |
| contentType | Output content type |
The documentation for this class was generated from the following file: