CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::HttpRequestHandler Class Reference

#include <cxHttpRequestHandler.h>

Inheritance diagram for cx::HttpRequestHandler:

Public Slots

void handle_request (QHttpRequest *req, QHttpResponse *resp)
 

Public Member Functions

 HttpRequestHandler (RemoteAPIPtr api)
 

Protected Member Functions

void handle_complete_request (QHttpRequest *req, QHttpResponse *resp)
 
void process_mainpage (QHttpRequest *req, QHttpResponse *resp)
 
void handle_screen (QHttpRequest *req, QHttpResponse *resp)
 
void process_screen (QHttpRequest *req, QHttpResponse *resp)
 
void handle_layout (QHttpRequest *req, QHttpResponse *resp)
 
void process_display (QHttpRequest *req, QHttpResponse *resp)
 
void process_stream (QHttpRequest *req, QHttpResponse *resp)
 
void process_layout (QHttpRequest *req, QHttpResponse *resp)
 
void reply_mainpage (QHttpResponse *resp)
 
void reply_screenshot (QHttpResponse *resp)
 
void reply_notfound (QHttpResponse *resp)
 
void reply_method_not_allowed (QHttpResponse *resp)
 
void reply_layout_list (QHttpResponse *resp)
 
void get_display_image (QHttpResponse *resp)
 
void create_display (QHttpRequest *req, QHttpResponse *resp)
 
void delete_display (QHttpResponse *resp)
 
virtual void create_stream (QHttpRequest *req, QHttpResponse *resp)
 
virtual void delete_stream (QHttpResponse *resp)
 
virtual QString getAdditionalMainPageDescription () const
 

Protected Attributes

RemoteAPIPtr mApi
 

Detailed Description

Definition at line 29 of file cxHttpRequestHandler.h.

Constructor & Destructor Documentation

cx::HttpRequestHandler::HttpRequestHandler ( RemoteAPIPtr  api)

Definition at line 39 of file cxHttpRequestHandler.cpp.

Member Function Documentation

void cx::HttpRequestHandler::create_display ( QHttpRequest *  req,
QHttpResponse *  resp 
)
protected

Definition at line 214 of file cxHttpRequestHandler.cpp.

void cx::HttpRequestHandler::create_stream ( QHttpRequest *  req,
QHttpResponse *  resp 
)
protectedvirtual

Definition at line 248 of file cxHttpRequestHandler.cpp.

void cx::HttpRequestHandler::delete_display ( QHttpResponse *  resp)
protected

Definition at line 234 of file cxHttpRequestHandler.cpp.

void cx::HttpRequestHandler::delete_stream ( QHttpResponse *  resp)
protectedvirtual

Definition at line 253 of file cxHttpRequestHandler.cpp.

void cx::HttpRequestHandler::get_display_image ( QHttpResponse *  resp)
protected

Definition at line 202 of file cxHttpRequestHandler.cpp.

virtual QString cx::HttpRequestHandler::getAdditionalMainPageDescription ( ) const
inlineprotectedvirtual

Definition at line 60 of file cxHttpRequestHandler.h.

void cx::HttpRequestHandler::handle_complete_request ( QHttpRequest *  req,
QHttpResponse *  resp 
)
protected

Definition at line 66 of file cxHttpRequestHandler.cpp.

void cx::HttpRequestHandler::handle_layout ( QHttpRequest *  req,
QHttpResponse *  resp 
)
protected

Definition at line 103 of file cxHttpRequestHandler.cpp.

void cx::HttpRequestHandler::handle_request ( QHttpRequest *  req,
QHttpResponse *  resp 
)
slot

Definition at line 43 of file cxHttpRequestHandler.cpp.

void cx::HttpRequestHandler::handle_screen ( QHttpRequest *  req,
QHttpResponse *  resp 
)
protected

Definition at line 312 of file cxHttpRequestHandler.cpp.

void cx::HttpRequestHandler::process_display ( QHttpRequest *  req,
QHttpResponse *  resp 
)
protected

Definition at line 157 of file cxHttpRequestHandler.cpp.

void cx::HttpRequestHandler::process_layout ( QHttpRequest *  req,
QHttpResponse *  resp 
)
protected

Definition at line 125 of file cxHttpRequestHandler.cpp.

void cx::HttpRequestHandler::process_mainpage ( QHttpRequest *  req,
QHttpResponse *  resp 
)
protected

Definition at line 258 of file cxHttpRequestHandler.cpp.

void cx::HttpRequestHandler::process_screen ( QHttpRequest *  req,
QHttpResponse *  resp 
)
protected

Definition at line 338 of file cxHttpRequestHandler.cpp.

void cx::HttpRequestHandler::process_stream ( QHttpRequest *  req,
QHttpResponse *  resp 
)
protected

Definition at line 139 of file cxHttpRequestHandler.cpp.

void cx::HttpRequestHandler::reply_layout_list ( QHttpResponse *  resp)
protected

Definition at line 180 of file cxHttpRequestHandler.cpp.

void cx::HttpRequestHandler::reply_mainpage ( QHttpResponse *  resp)
protected

Definition at line 272 of file cxHttpRequestHandler.cpp.

void cx::HttpRequestHandler::reply_method_not_allowed ( QHttpResponse *  resp)
protected

Definition at line 332 of file cxHttpRequestHandler.cpp.

void cx::HttpRequestHandler::reply_notfound ( QHttpResponse *  resp)
protected

Definition at line 326 of file cxHttpRequestHandler.cpp.

void cx::HttpRequestHandler::reply_screenshot ( QHttpResponse *  resp)
protected

Definition at line 354 of file cxHttpRequestHandler.cpp.

Member Data Documentation

RemoteAPIPtr cx::HttpRequestHandler::mApi
protected

Definition at line 63 of file cxHttpRequestHandler.h.


The documentation for this class was generated from the following files: