package lambda
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
trait
LambdaHandlerBehavior extends AnyRef
Defines the behavior a LambdaHandler must implement.
Defines the behavior a LambdaHandler must implement. They should be tested against a set of the following routes: GET /hello => "Hello World!" GET /hello?times=3 => "Hello World! Hello World! Hello World!" GET /long => takes a second to complete POST /post with body => responds with the body POST /json with json body { greeting: "Hello" } => responds with json { greeting: "Goodbye" } GET /exception => throws a RouteException GET /error => responds with a 500 error code GET /header with header InputHeader => responds with a new header, OutputHeader: outputHeaderValue and the value of InputHeader as the body
Value Members
- object LambdaHandlerBehavior