api

http4k / org.http4k.serverless / InvocationLambdaFunction

InvocationLambdaFunction

abstract class InvocationLambdaFunction : AwsLambdaFunction<InputStream, InputStream>, RequestStreamHandler

This is the main entry point for lambda invocations using the direct invocations. It uses the local environment to instantiate the HttpHandler which can be used for further invocations.

Constructors

Name Summary
<init> InvocationLambdaFunction(input: AppLoader)
InvocationLambdaFunction(input: HttpHandler)
This is the main entry point for lambda invocations using the direct invocations. It uses the local environment to instantiate the HttpHandler which can be used for further invocations.InvocationLambdaFunction(appLoader: AppLoaderWithContexts)

Functions

Name Summary
handleRequest open fun handleRequest(input: InputStream, output: OutputStream, context: Context): Unit

Inheritors

Name Summary
TestFunctionInvocation class TestFunctionInvocation : InvocationLambdaFunction