NVIDIA Iray API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mi::http::IResponse_handler Class Referenceabstract

Reponse handlers can be used to modify reponses generated by request handlers. More...

Inheritance diagram for mi::http::IResponse_handler:
Inheritance graph
[legend]

Public Member Functions

virtual void  handle (IConnection *connection)=0
  Handles a response on a connection. More...
 

Additional Inherited Members

- Public Types inherited from mi::base::Interface_declare< 0xa9386278, 0x6938, 0x45a7, 0xa2, 0x3b, 0xbb, 0x35, 0xf7, 0xe9, 0x28, 0x20 >
typedef Interface_declare< id1,
id2, id3, id4, id5, id6, id7,
id8, id9, id10, id11,
IInterface
Self
  Own type. More...
 
typedef Uuid_t< id1, id2, id3,
id4, id5, id6, id7, id8, id9,
id10, id11 > 
IID
  Declares the interface ID (IID) of this interface. More...
 
- Static Public Member Functions inherited from mi::base::Interface_declare< 0xa9386278, 0x6938, 0x45a7, 0xa2, 0x3b, 0xbb, 0x35, 0xf7, 0xe9, 0x28, 0x20 >
static bool  compare_iid (const Uuid &iid)
  Compares the interface ID iid against the interface ID of this interface and of its ancestors. More...
 

Detailed Description

Reponse handlers can be used to modify reponses generated by request handlers.

For every response the handlers are asked if they want to modify the response. They will be asked in the order they where added. This all happens after a responsible request handler issued the response.

See Also
mi::http::IServer::install(IResponse_handler*), mi::http::IServer::remove(IResponse_handler*)

Member Function Documentation

virtual void mi::http::IResponse_handler::handle ( IConnection connection)
pure virtual

Handles a response on a connection.

Parameters
connection The connection on which the response is to be sent.