Class ApiGatewayProxyEventHandler

java.lang.Object
io.micronaut.servlet.http.ServletHttpHandler<com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent,com.amazonaws.services.lambda.runtime.events.APIGatewayProxyResponseEvent>
io.micronaut.function.aws.proxy.payload1.ApiGatewayProxyEventHandler
All Implemented Interfaces:
io.micronaut.context.LifeCycle<io.micronaut.servlet.http.ServletHttpHandler<com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent,com.amazonaws.services.lambda.runtime.events.APIGatewayProxyResponseEvent>>, Closeable, AutoCloseable

@Internal @Singleton public class ApiGatewayProxyEventHandler extends io.micronaut.servlet.http.ServletHttpHandler<com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent,com.amazonaws.services.lambda.runtime.events.APIGatewayProxyResponseEvent>
Implementation of ServletHttpHandler for AWS Gateway Proxy Events.
Since:
4.0.0
Author:
Tim Yates
  • Field Summary

    Fields inherited from class io.micronaut.servlet.http.ServletHttpHandler

    applicationContext, LOG
  • Constructor Summary

    Constructors
    Constructor
    Description
    ApiGatewayProxyEventHandler(io.micronaut.context.ApplicationContext applicationContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected io.micronaut.servlet.http.ServletExchange<com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent,com.amazonaws.services.lambda.runtime.events.APIGatewayProxyResponseEvent>
    createExchange(com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent request, com.amazonaws.services.lambda.runtime.events.APIGatewayProxyResponseEvent response)
     

    Methods inherited from class io.micronaut.servlet.http.ServletHttpHandler

    close, exchange, exchange, getApplicationContext, getMediaTypeCodecRegistry, isRunning, service, service, start, stop

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.micronaut.context.LifeCycle

    refresh
  • Constructor Details

    • ApiGatewayProxyEventHandler

      public ApiGatewayProxyEventHandler(io.micronaut.context.ApplicationContext applicationContext)
  • Method Details

    • createExchange

      protected io.micronaut.servlet.http.ServletExchange<com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent,com.amazonaws.services.lambda.runtime.events.APIGatewayProxyResponseEvent> createExchange(com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent request, com.amazonaws.services.lambda.runtime.events.APIGatewayProxyResponseEvent response)
      Specified by:
      createExchange in class io.micronaut.servlet.http.ServletHttpHandler<com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent,com.amazonaws.services.lambda.runtime.events.APIGatewayProxyResponseEvent>