Index
All Classes and Interfaces|All Packages|Serialized Form
A
- auth() - Method in record class com.vaadin.flow.server.webpush.WebPushKeys
-
Returns the value of the
authrecord component.
C
- com.vaadin.flow.server.webpush - package com.vaadin.flow.server.webpush
E
- endpoint() - Method in record class com.vaadin.flow.server.webpush.WebPushSubscription
-
Returns the value of the
endpointrecord component. - equals(Object) - Method in record class com.vaadin.flow.server.webpush.WebPushKeys
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.flow.server.webpush.WebPushMessage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.flow.server.webpush.WebPushSubscription
-
Indicates whether some other object is "equal to" this one.
F
- fetchExistingSubscription(UI, WebPushSubscriptionResponse) - Method in class com.vaadin.flow.server.webpush.WebPush
-
Get an existing subscription from the client.
H
- hashCode() - Method in record class com.vaadin.flow.server.webpush.WebPushKeys
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.flow.server.webpush.WebPushMessage
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.flow.server.webpush.WebPushSubscription
-
Returns a hash code value for this object.
I
- isNotificationDenied(UI, WebPushState) - Method in class com.vaadin.flow.server.webpush.WebPush
-
Check if notifications are denied on the client.
- isNotificationGranted(UI, WebPushState) - Method in class com.vaadin.flow.server.webpush.WebPush
-
Check if notifications are granted on the client.
K
- keys() - Method in record class com.vaadin.flow.server.webpush.WebPushSubscription
-
Returns the value of the
keysrecord component.
O
- options() - Method in record class com.vaadin.flow.server.webpush.WebPushMessage
-
Returns the value of the
optionsrecord component.
P
- p256dh() - Method in record class com.vaadin.flow.server.webpush.WebPushKeys
-
Returns the value of the
p256dhrecord component.
S
- sendNotification(WebPushSubscription, WebPushMessage) - Method in class com.vaadin.flow.server.webpush.WebPush
-
Sends Web Push Notification to a client/browser having a given subscription.
- state(boolean) - Method in interface com.vaadin.flow.server.webpush.WebPushState
-
Invoked when the client-side details are available.
- subscribe(UI, WebPushSubscriptionResponse) - Method in class com.vaadin.flow.server.webpush.WebPush
-
Subscribe web push for client.
- subscription(WebPushSubscription) - Method in interface com.vaadin.flow.server.webpush.WebPushSubscriptionResponse
-
Invoked when the client-side details are available.
- subscriptionExists(UI, WebPushState) - Method in class com.vaadin.flow.server.webpush.WebPush
-
Check if there is a web push subscription registered to the serviceWorker on the client.
T
- title() - Method in record class com.vaadin.flow.server.webpush.WebPushMessage
-
Returns the value of the
titlerecord component. - toJson() - Method in record class com.vaadin.flow.server.webpush.WebPushMessage
-
Converts this Web Push message into JSON format string.
- toString() - Method in record class com.vaadin.flow.server.webpush.WebPushKeys
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.flow.server.webpush.WebPushMessage
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.flow.server.webpush.WebPushSubscription
-
Returns a string representation of this record class.
U
- unsubscribe(UI, WebPushSubscriptionResponse) - Method in class com.vaadin.flow.server.webpush.WebPush
-
Unsubscribe web push from client.
W
- WebPush - Class in com.vaadin.flow.server.webpush
-
Base class for handling Web Push notifications.
- WebPush(String, String, String) - Constructor for class com.vaadin.flow.server.webpush.WebPush
-
Create new WebPushRegistration for given publicKey.
- WebPushException - Exception in com.vaadin.flow.server.webpush
-
Checked exception which is thrown when Web Push initialisation or sending a Web Push notification fails.
- WebPushException() - Constructor for exception com.vaadin.flow.server.webpush.WebPushException
- WebPushException(String) - Constructor for exception com.vaadin.flow.server.webpush.WebPushException
- WebPushException(String, Throwable) - Constructor for exception com.vaadin.flow.server.webpush.WebPushException
- WebPushException(String, Throwable, boolean, boolean) - Constructor for exception com.vaadin.flow.server.webpush.WebPushException
- WebPushException(Throwable) - Constructor for exception com.vaadin.flow.server.webpush.WebPushException
- WebPushKeys - Record Class in com.vaadin.flow.server.webpush
-
Holds the keys that used to encrypt the Web Push notification payload, so that only the current browser can read (decrypt) the content of notifications.
- WebPushKeys(String, String) - Constructor for record class com.vaadin.flow.server.webpush.WebPushKeys
-
Creates an instance of a
WebPushKeysrecord class. - WebPushMessage - Record Class in com.vaadin.flow.server.webpush
-
Web Push message object containing an information to be shown in the notification.
- WebPushMessage(String) - Constructor for record class com.vaadin.flow.server.webpush.WebPushMessage
-
Creates a new Web Push notification message with just a title.
- WebPushMessage(String, ObjectNode) - Constructor for record class com.vaadin.flow.server.webpush.WebPushMessage
-
Creates an instance of a
WebPushMessagerecord class. - WebPushMessage(String, Serializable) - Constructor for record class com.vaadin.flow.server.webpush.WebPushMessage
-
Creates a new Web Push notification message with the specified title and various options fetched from a given Java object.
- WebPushMessage(String, String) - Constructor for record class com.vaadin.flow.server.webpush.WebPushMessage
-
Creates a new Web Push notification message with just a title and body.
- WebPushState - Interface in com.vaadin.flow.server.webpush
-
Callback for receiving web push client-side state boolean.
- WebPushSubscription - Record Class in com.vaadin.flow.server.webpush
-
Represents a Web Push subscription that Push Manager gives back, when a user subscribes to push notifications in browser.
- WebPushSubscription(String, WebPushKeys) - Constructor for record class com.vaadin.flow.server.webpush.WebPushSubscription
-
Creates an instance of a
WebPushSubscriptionrecord class. - WebPushSubscriptionResponse - Interface in com.vaadin.flow.server.webpush
-
Callback for receiving web push subscription details
All Classes and Interfaces|All Packages|Serialized Form