#include <mitkIRESTObserver.h>
|
virtual | ~IRESTObserver () |
| Deletes an observer and calls HandleDeleteObserver() in RESTManager class. More...
|
|
virtual web::http::http_response | Notify (const web::uri &uri, const web::json::value &data, const web::http::method &method, const mitk::RESTUtil::ParamMap &headers)=0 |
| Called if there's an incoming request for the observer, observer implements how to handle request. More...
|
|
Definition at line 24 of file mitkIRESTObserver.h.
◆ ~IRESTObserver()
virtual mitk::IRESTObserver::~IRESTObserver |
( |
| ) |
|
|
virtual |
Deletes an observer and calls HandleDeleteObserver() in RESTManager class.
- See also
- HandleDeleteObserver()
◆ Notify()
virtual web::http::http_response mitk::IRESTObserver::Notify |
( |
const web::uri & |
uri, |
|
|
const web::json::value & |
data, |
|
|
const web::http::method & |
method, |
|
|
const mitk::RESTUtil::ParamMap & |
headers |
|
) |
| |
|
pure virtual |
Called if there's an incoming request for the observer, observer implements how to handle request.
- Parameters
-
uri | |
data | the data of the incoming request |
method | the http method of the incoming request |
headers | |
- Returns
- the modified data
The documentation for this class was generated from the following file: