Package io.meeds.pwa.storage
Class PwaNotificationStorage
java.lang.Object
io.meeds.pwa.storage.PwaNotificationStorage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidgetPushDeliveryDelayStatus(String username, String subscriptionId, long maxAgeMillis) voidrecordExcessivePushDeliveryDelay(String username, String subscriptionId, long delayMs) voidresetPushDeliveryDelay(String username, String subscriptionId)
-
Constructor Details
-
PwaNotificationStorage
public PwaNotificationStorage()
-
-
Method Details
-
getVapidPublicKey
public PublicKey getVapidPublicKey() throws NoSuchAlgorithmException, NoSuchProviderException, InvalidKeySpecException -
getVapidPrivateKey
public PrivateKey getVapidPrivateKey() throws NoSuchAlgorithmException, NoSuchProviderException, InvalidKeySpecException -
getVapidPublicKeyString
-
recordExcessivePushDeliveryDelay
-
getPushDeliveryDelayStatus
-
resetPushDeliveryDelay
-
generateVapidKeys
protected void generateVapidKeys()
-