Class QuarkusStreamHandler

java.lang.Object
io.quarkus.amazon.lambda.runtime.QuarkusStreamHandler
All Implemented Interfaces:
com.amazonaws.services.lambda.runtime.RequestStreamHandler

public class QuarkusStreamHandler extends Object implements com.amazonaws.services.lambda.runtime.RequestStreamHandler
Intended to be used within a java runtime lambda deployment. This handler is a tiny wrapper for the app-developer-defined lambda handler. It delegates to a wrapper that uses arc to instantiate the app-developer's handler. Jackson is used to (de)serialize input and output types of app-dev's handler.
  • Constructor Details

    • QuarkusStreamHandler

      public QuarkusStreamHandler()
  • 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