Class AwsEventOutputWriter

java.lang.Object
io.quarkus.funqy.lambda.event.AwsEventOutputWriter
All Implemented Interfaces:
io.quarkus.amazon.lambda.runtime.LambdaOutputWriter

public class AwsEventOutputWriter extends Object implements io.quarkus.amazon.lambda.runtime.LambdaOutputWriter
Responsible for serializing the different data models of the events
  • Field Details

    • mapper

      final com.fasterxml.jackson.databind.ObjectMapper mapper
  • Constructor Details

    • AwsEventOutputWriter

      public AwsEventOutputWriter(com.fasterxml.jackson.databind.ObjectMapper mapper)
  • Method Details

    • writeValue

      public void writeValue(OutputStream os, Object obj) throws IOException
      Specified by:
      writeValue in interface io.quarkus.amazon.lambda.runtime.LambdaOutputWriter
      Throws:
      IOException
    • writeHeaders

      public void writeHeaders(HttpURLConnection conn)
      Specified by:
      writeHeaders in interface io.quarkus.amazon.lambda.runtime.LambdaOutputWriter