Class IdempotentUtils


  • public final class IdempotentUtils
    extends Object
    Utility class to manage idempotency token
    • Constructor Detail

      • IdempotentUtils

        public IdempotentUtils()
    • Method Detail

      • resolveString

        public static String resolveString​(String token)
        This method is intended for internal use only. if input token is null, create and return a new unique token. Otherwise return the existing token.
        Parameters:
        token -
        Returns:
        if input token is not null, return the same. Else return new token.