Class AkamaiAddressKeyResolver

  • All Implemented Interfaces:
    KeyResolver

    public class AkamaiAddressKeyResolver
    extends Object
    implements KeyResolver
    When native-lambda is used for external clients and all external requests go through the Akamai cloud proxy, the real client IP can be retrieved from the header as True-Client-IP
    Author:
    Steve Hu
    • Constructor Detail

      • AkamaiAddressKeyResolver

        public AkamaiAddressKeyResolver()
    • Method Detail

      • resolve

        public String resolve​(LightLambdaExchange exchange)
        Description copied from interface: KeyResolver
        Resolve a unique key from the exchange
        Specified by:
        resolve in interface KeyResolver
        Parameters:
        exchange - lambda exchange
        Returns:
        A string for the key