Module jls.net.http.handler.RestHttpHandler

Provide a simple REST HTTP handler based on a Lua table.

Class RestHttpHandler

restHttpHandler:initialize (handlers[, attributes[, noBody]]) Creates a REST HttpHandler.


Class RestHttpHandler

A RestHttpHandler class.
restHttpHandler:initialize (handlers[, attributes[, noBody]])
Creates a REST HttpHandler.

Parameters:

  • handlers table the REST path handlers as a Lua table.
  • attributes table exchange attributes. (optional)
  • noBody boolean true to indicate the body should not be consumed. (optional)
generated by LDoc 1.4.6 Last updated 2021-10-23 16:54:16