Class APIGatewayV2HTTPEventHandler

java.lang.Object
io.micronaut.servlet.http.ServletHttpHandler<com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent,com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPResponse>
io.micronaut.function.aws.proxy.payload2.APIGatewayV2HTTPEventHandler
All Implemented Interfaces:
io.micronaut.context.LifeCycle<io.micronaut.servlet.http.ServletHttpHandler<com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent,com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPResponse>>, Closeable, AutoCloseable

@Internal @Singleton public class APIGatewayV2HTTPEventHandler extends io.micronaut.servlet.http.ServletHttpHandler<com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent,com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPResponse>
Implementation of ServletHttpHandler for input ApplicationLoadBalancerRequestEvent and response ApplicationLoadBalancerResponseEvent.
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
    APIGatewayV2HTTPEventHandler(io.micronaut.context.ApplicationContext applicationContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected io.micronaut.servlet.http.ServletExchange<com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent,com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPResponse>
    createExchange(com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent request, com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPResponse 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

    • APIGatewayV2HTTPEventHandler

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

    • createExchange

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