Package com.networknt.aws.lambda.app
Class LambdaStreamApp
java.lang.Object
com.networknt.aws.lambda.app.LambdaStreamApp
- All Implemented Interfaces:
com.amazonaws.services.lambda.runtime.RequestStreamHandler
public class LambdaStreamApp
extends Object
implements com.amazonaws.services.lambda.runtime.RequestStreamHandler
This is the entry point for the stream lambda function that is responsible for cross-cutting concerns for the business Lambda
function which is called from the is Lambda function once all cross-cutting concerns are addressed. The lambda function endpoint
receives the InputStream and the OutputStream.
- Author:
- Steve Hu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleRequest(InputStream inputStream, OutputStream outputStream, com.amazonaws.services.lambda.runtime.Context context)
-
Field Details
-
CONFIG
-
-
Constructor Details
-
LambdaStreamApp
public LambdaStreamApp()
-
-
Method Details
-
handleRequest
public void handleRequest(InputStream inputStream, OutputStream outputStream, com.amazonaws.services.lambda.runtime.Context context) throws IOException - Specified by:
handleRequestin interfacecom.amazonaws.services.lambda.runtime.RequestStreamHandler- Throws:
IOException
-