Interface SpincastFormsDoubleSubmitProtectionRepository


public interface SpincastFormsDoubleSubmitProtectionRepository
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteOldFormsProtectionIds(int maxAgeMinutes)
    Deletes the saved protection ids that are older than the specified number of minuets.
    boolean
    Is the specified protectionId one of an already submitted form?
    void
    saveSubmittedFormProtectionId(Instant creationDate, String protectionId)
    Saves the protectionId associated with a submitted form.
  • Method Details

    • saveSubmittedFormProtectionId

      void saveSubmittedFormProtectionId(Instant creationDate, String protectionId)
      Saves the protectionId associated with a submitted form.
    • isFormAlreadySubmitted

      boolean isFormAlreadySubmitted(String protectionId)
      Is the specified protectionId one of an already submitted form?
    • deleteOldFormsProtectionIds

      void deleteOldFormsProtectionIds(int maxAgeMinutes)
      Deletes the saved protection ids that are older than the specified number of minuets.