Class Http01Challenge

    • Method Detail

      • 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.
        Overrides:
        acceptable in class Challenge
        Parameters:
        type - Type to check
        Returns:
        true if acceptable, false if not