Class AmService.Discovery

  • Enclosing class:
    AmService

    public static final class AmService.Discovery
    extends Object
    A pre-builder class used to discover AM details such as its version and expected cookie name. It produces a AmService.Builder object once information have been fetched from AM and computed.
    • Method Detail

      • discover

        public Promise<AmService.Builder,​NeverThrowsException> discover​(Clock clock)
        Will Call AM instance to get missing information in order to create the AmService builder.
        Parameters:
        clock - the clock to use.
        Returns:
        an instance of an AmService Builder.