Class GenericInputOutputExample
- All Implemented Interfaces:
com.amazonaws.services.lambda.runtime.RequestStreamHandler
public class GenericInputOutputExample
extends DurableHandler<Map<String,String>,Map<String,Map<String,List<String>>>>
Example demonstrating a durable Lambda function that uses generic types in input and output.
This example shows how to use TypeToken to work with generic types like List<String>, Map<String,
List<String>>, and nested generics that cannot be represented by simple Class objects.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class software.amazon.lambda.durable.DurableHandler
createConfiguration, getConfiguration, handleRequest