Medical Imaging Interaction Toolkit  2022.04.99-b878213f
Medical Imaging Interaction Toolkit
mitk::IRESTObserver Class Referenceabstract

#include <mitkIRESTObserver.h>

Public Member Functions

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...
 

Detailed Description

Definition at line 24 of file mitkIRESTObserver.h.

Constructor & Destructor Documentation

◆ ~IRESTObserver()

virtual mitk::IRESTObserver::~IRESTObserver ( )
virtual

Deletes an observer and calls HandleDeleteObserver() in RESTManager class.

See also
HandleDeleteObserver()

Member Function Documentation

◆ 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
datathe data of the incoming request
methodthe http method of the incoming request
headers
Returns
the modified data

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