Package io.quarkus.amazon.lambda.runtime
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.
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
deploymentStatus
protected static boolean
started
-
Constructor Summary
Constructors Constructor Description QuarkusStreamHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleRequest(InputStream inputStream, OutputStream outputStream, com.amazonaws.services.lambda.runtime.Context context)
-
-
-
Field Detail
-
deploymentStatus
protected static final String deploymentStatus
-
started
protected static boolean started
-
-
Method Detail
-
handleRequest
public void handleRequest(InputStream inputStream, OutputStream outputStream, com.amazonaws.services.lambda.runtime.Context context) throws IOException
- Specified by:
handleRequest
in interfacecom.amazonaws.services.lambda.runtime.RequestStreamHandler
- Throws:
IOException
-
-