Class EchoRequestStreamHandler

  • All Implemented Interfaces:
    com.amazonaws.services.lambda.runtime.RequestStreamHandler

    public class EchoRequestStreamHandler
    extends java.lang.Object
    implements com.amazonaws.services.lambda.runtime.RequestStreamHandler
    Simple handler to echo the request back
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleRequest​(java.io.InputStream inputStream, java.io.OutputStream outputStream, com.amazonaws.services.lambda.runtime.Context context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EchoRequestStreamHandler

        public EchoRequestStreamHandler()
    • Method Detail

      • handleRequest

        public void handleRequest​(java.io.InputStream inputStream,
                                  java.io.OutputStream outputStream,
                                  com.amazonaws.services.lambda.runtime.Context context)
                           throws java.io.IOException
        Specified by:
        handleRequest in interface com.amazonaws.services.lambda.runtime.RequestStreamHandler
        Throws:
        java.io.IOException