Interface SpincastFormsDoubleSubmitProtectionRepository
public interface SpincastFormsDoubleSubmitProtectionRepository
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteOldFormsProtectionIds(int maxAgeMinutes) Deletes the saved protection ids that are older than the specified number of minuets.booleanisFormAlreadySubmitted(String protectionId) Is the specified protectionId one of an already submitted form?voidsaveSubmittedFormProtectionId(Instant creationDate, String protectionId) Saves the protectionId associated with a submitted form.
-
Method Details
-
saveSubmittedFormProtectionId
Saves the protectionId associated with a submitted form. -
isFormAlreadySubmitted
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.
-