Classes | |
| class | NotificationBuilder |
Public Member Functions | |
| Notification (String endpoint, ECPublicKey userPublicKey, byte[] userAuth, byte[] payload, int ttl, Urgency urgency, String topic) | |
| Notification (String endpoint, PublicKey userPublicKey, byte[] userAuth, byte[] payload, int ttl) | |
| Notification (String endpoint, String userPublicKey, String userAuth, byte[] payload, int ttl) throws NoSuchAlgorithmException, NoSuchProviderException, InvalidKeySpecException | |
| Notification (String endpoint, PublicKey userPublicKey, byte[] userAuth, byte[] payload) | |
| Notification (String endpoint, String userPublicKey, String userAuth, byte[] payload) throws NoSuchAlgorithmException, NoSuchProviderException, InvalidKeySpecException | |
| Notification (String endpoint, String userPublicKey, String userAuth, String payload) throws NoSuchAlgorithmException, NoSuchProviderException, InvalidKeySpecException | |
| Notification (String endpoint, String userPublicKey, String userAuth, String payload, Urgency urgency) throws NoSuchAlgorithmException, NoSuchProviderException, InvalidKeySpecException | |
| Notification (Subscription subscription, String payload) throws NoSuchAlgorithmException, NoSuchProviderException, InvalidKeySpecException | |
| Notification (Subscription subscription, String payload, Urgency urgency) throws NoSuchAlgorithmException, NoSuchProviderException, InvalidKeySpecException | |
| String | getEndpoint () |
| ECPublicKey | getUserPublicKey () |
| byte[] | getUserAuth () |
| byte[] | getPayload () |
| boolean | hasPayload () |
| boolean | hasUrgency () |
| boolean | hasTopic () |
| boolean | isGcm () |
| boolean | isFcm () |
| int | getTTL () |
| Urgency | getUrgency () |
| String | getTopic () |
| String | getOrigin () throws MalformedURLException |
Static Public Member Functions | |
| static NotificationBuilder | builder () |
Definition at line 35 of file Notification.java.
| org.turro.push.service.Notification.Notification | ( | String | endpoint, |
| ECPublicKey | userPublicKey, | ||
| byte[] | userAuth, | ||
| byte[] | payload, | ||
| int | ttl, | ||
| Urgency | urgency, | ||
| String | topic | ||
| ) |
Definition at line 54 of file Notification.java.
| org.turro.push.service.Notification.Notification | ( | String | endpoint, |
| PublicKey | userPublicKey, | ||
| byte[] | userAuth, | ||
| byte[] | payload, | ||
| int | ttl | ||
| ) |
Definition at line 64 of file Notification.java.
| org.turro.push.service.Notification.Notification | ( | String | endpoint, |
| String | userPublicKey, | ||
| String | userAuth, | ||
| byte[] | payload, | ||
| int | ttl | ||
| ) | throws NoSuchAlgorithmException, NoSuchProviderException, InvalidKeySpecException |
Definition at line 68 of file Notification.java.

| org.turro.push.service.Notification.Notification | ( | String | endpoint, |
| PublicKey | userPublicKey, | ||
| byte[] | userAuth, | ||
| byte[] | payload | ||
| ) |
Definition at line 72 of file Notification.java.
| org.turro.push.service.Notification.Notification | ( | String | endpoint, |
| String | userPublicKey, | ||
| String | userAuth, | ||
| byte[] | payload | ||
| ) | throws NoSuchAlgorithmException, NoSuchProviderException, InvalidKeySpecException |
| org.turro.push.service.Notification.Notification | ( | String | endpoint, |
| String | userPublicKey, | ||
| String | userAuth, | ||
| String | payload | ||
| ) | throws NoSuchAlgorithmException, NoSuchProviderException, InvalidKeySpecException |
Definition at line 80 of file Notification.java.

| org.turro.push.service.Notification.Notification | ( | String | endpoint, |
| String | userPublicKey, | ||
| String | userAuth, | ||
| String | payload, | ||
| Urgency | urgency | ||
| ) | throws NoSuchAlgorithmException, NoSuchProviderException, InvalidKeySpecException |
Definition at line 84 of file Notification.java.

| org.turro.push.service.Notification.Notification | ( | Subscription | subscription, |
| String | payload | ||
| ) | throws NoSuchAlgorithmException, NoSuchProviderException, InvalidKeySpecException |
Definition at line 89 of file Notification.java.
| org.turro.push.service.Notification.Notification | ( | Subscription | subscription, |
| String | payload, | ||
| Urgency | urgency | ||
| ) | throws NoSuchAlgorithmException, NoSuchProviderException, InvalidKeySpecException |
Definition at line 93 of file Notification.java.
|
static |
Definition at line 152 of file Notification.java.
| String org.turro.push.service.Notification.getEndpoint | ( | ) |
| String org.turro.push.service.Notification.getOrigin | ( | ) | throws MalformedURLException |
| byte [] org.turro.push.service.Notification.getPayload | ( | ) |
| String org.turro.push.service.Notification.getTopic | ( | ) |
Definition at line 142 of file Notification.java.
| int org.turro.push.service.Notification.getTTL | ( | ) |
Definition at line 134 of file Notification.java.
| Urgency org.turro.push.service.Notification.getUrgency | ( | ) |
Definition at line 138 of file Notification.java.
| byte [] org.turro.push.service.Notification.getUserAuth | ( | ) |
Definition at line 106 of file Notification.java.
| ECPublicKey org.turro.push.service.Notification.getUserPublicKey | ( | ) |
Definition at line 102 of file Notification.java.
| boolean org.turro.push.service.Notification.hasPayload | ( | ) |
| boolean org.turro.push.service.Notification.hasTopic | ( | ) |
Definition at line 122 of file Notification.java.
| boolean org.turro.push.service.Notification.hasUrgency | ( | ) |
Definition at line 118 of file Notification.java.
| boolean org.turro.push.service.Notification.isFcm | ( | ) |
| boolean org.turro.push.service.Notification.isGcm | ( | ) |