Class: Responder

Session.messages. Responder


new Responder()

Responder interface to dispatch responses to requests.

Methods


reject(message)

Reject a request.

Parameters:
Name Type Description
message String

context message to be contained in the rejection.


respond(response)

Dispatch a response to a request.

Parameters:
Name Type Description
response Object

the response to send