Index
All Classes and Interfaces|All Packages|Serialized Form
B
- body() - Method in record class com.vaadin.flow.server.webpush.WebPushMessage
-
Returns the value of the
bodyrecord component.
C
- com.vaadin.flow.server.webpush - package com.vaadin.flow.server.webpush
E
- equals(Object) - Method in record class com.vaadin.flow.server.webpush.WebPushMessage
-
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.WebPushMessage
-
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.
S
- sendNotification(Subscription, 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(Subscription) - 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.WebPushMessage
-
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
- WebPushMessage - Record Class in com.vaadin.flow.server.webpush
-
Web Push message object containing an information to be shown in the notification.
- WebPushMessage(String, String) - Constructor for record class com.vaadin.flow.server.webpush.WebPushMessage
-
Creates a new Web Push notification message with title and body.
- WebPushState - Interface in com.vaadin.flow.server.webpush
-
Callback for receiving web push client-side state boolean.
- WebPushSubscriptionResponse - Interface in com.vaadin.flow.server.webpush
-
Callback for receiving web push subscription details
All Classes and Interfaces|All Packages|Serialized Form