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 Details

  • 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:
      handleRequest in interface com.amazonaws.services.lambda.runtime.RequestStreamHandler
      Throws:
      IOException