Class Http01Challenge

All Implemented Interfaces:

public class Http01Challenge extends TokenChallenge
Implements the "http-01" challenge. For domain validation, it requires a specific file that can be retrieved from the domain via HTTP. See the acme4j documentation for a detailed explanation.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getToken

      public String getToken()
      Returns the token to be used for this challenge.
      getToken in class TokenChallenge
    • acceptable

      protected boolean acceptable(String type)
      Description copied from class: Challenge
      Checks if the type is acceptable to this challenge. This generic class only checks if the type is not blank. Subclasses should instead check if the given type matches expected challenge type.
      acceptable in class Challenge
      type - Type to check
      true if acceptable, false if not