Interface Validator

    • Field Detail

      • ALWAYS_VALID

        static final Validator ALWAYS_VALID
        A validator that always return valid.
    • Method Detail

      • isValid

        Validator.Status isValid​(@NotNull
                                 @NotNull Request request,
                                 @NotNull
                                 @NotNull Response response)
        Method will be called when a response need validation.
        Parameters:
        request - request sent to fetch a response
        response - response fetched
        Returns:
        the status of validation