Class ApplicationLoadBalancerHandler

java.lang.Object
io.micronaut.servlet.http.ServletHttpHandler<com.amazonaws.services.lambda.runtime.events.ApplicationLoadBalancerRequestEvent,com.amazonaws.services.lambda.runtime.events.ApplicationLoadBalancerResponseEvent>
io.micronaut.function.aws.proxy.alb.ApplicationLoadBalancerHandler
All Implemented Interfaces:
io.micronaut.context.LifeCycle<io.micronaut.servlet.http.ServletHttpHandler<com.amazonaws.services.lambda.runtime.events.ApplicationLoadBalancerRequestEvent,com.amazonaws.services.lambda.runtime.events.ApplicationLoadBalancerResponseEvent>>, Closeable, AutoCloseable

public class ApplicationLoadBalancerHandler extends io.micronaut.servlet.http.ServletHttpHandler<com.amazonaws.services.lambda.runtime.events.ApplicationLoadBalancerRequestEvent,com.amazonaws.services.lambda.runtime.events.ApplicationLoadBalancerResponseEvent>
Implementation of ServletHttpHandler for AWS Gateway Proxy Events.
Since:
4.0.0
Author:
Sergio del Amo
  • Field Summary

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

    applicationContext, LOG
  • Constructor Summary

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

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

    • ApplicationLoadBalancerHandler

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

    • createExchange

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