A B C D E F G H I J K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- additionalClaim(String, Object) - Method in class com.zerodeplibs.webpush.jwt.VAPIDJWTParam.Builder
-
Specifies an additional claim.
- ApacheHttpClientRequestPreparer - Class in com.zerodeplibs.webpush.httpclient
-
The "Preparer" used to utilize Apache HTTPClient.
B
- BEGIN_ENCAPSULATION_BOUNDARIES_FMR - Static variable in interface com.zerodeplibs.webpush.key.PEMParser
-
The format string used to make a pre-encapsulation boundary.
- build() - Method in class com.zerodeplibs.webpush.jwt.VAPIDJWTParam.Builder
-
Creates a new
VAPIDJWTParam. - build() - Method in class com.zerodeplibs.webpush.key.PrivateKeySources.PEMFileSourceBuilder
-
Creates a new
PrivateKeySource. - build() - Method in class com.zerodeplibs.webpush.key.PublicKeySources.PEMFileSourceBuilder
-
Creates a new
PublicKeySource. - build(VAPIDKeyPair) - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder
-
Creates a new "Preparer" by constructing a
PreparerBuilder.RequestPreparationInfoand then callingPreparerBuilder.buildInternal(RequestPreparationInfo). - buildInternal(PreparerBuilder.RequestPreparationInfo) - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder
-
Creates a new "Preparer" with the given
requestPreparationInfo. - buildWithDefault() - Method in class com.zerodeplibs.webpush.jwt.VAPIDJWTParam.Builder
-
Creates a new
VAPIDJWTParam.
C
- charset(Charset) - Method in class com.zerodeplibs.webpush.key.PrivateKeySources.PEMFileSourceBuilder
-
Specifies the encoding of the PEM file.
- charset(Charset) - Method in class com.zerodeplibs.webpush.key.PublicKeySources.PEMFileSourceBuilder
-
Specifies the encoding of the PEM file.
- com.zerodeplibs.webpush - module com.zerodeplibs.webpush
- com.zerodeplibs.webpush - package com.zerodeplibs.webpush
-
Provides the classes and interfaces implementing the key features of Web Push.
- com.zerodeplibs.webpush.header - package com.zerodeplibs.webpush.header
-
Provides the utility classes that help applications set the HTTP header fields that control the delivery of Push Messages.
- com.zerodeplibs.webpush.httpclient - package com.zerodeplibs.webpush.httpclient
-
Provides classes that help applications make HTTP requests for the delivery of push messages.
- com.zerodeplibs.webpush.jwt - package com.zerodeplibs.webpush.jwt
-
Provides the classes and interfaces used to generate JSON Web Token (JWT) for the Voluntary Application Server Identification (VAPID).
- com.zerodeplibs.webpush.key - package com.zerodeplibs.webpush.key
-
Provides the classes and interfaces handling cryptographic keys used in Web Push.
- contentEncoding() - Method in interface com.zerodeplibs.webpush.EncryptedPushMessage
-
Returns the content encoding of this encrypted push message (e.g.
- create(ECPrivateKey, ECPublicKey) - Method in class com.zerodeplibs.webpush.jwt.DefaultVAPIDJWTGeneratorFactory
-
Creates a new
VAPIDJWTGeneratorwith the given private key and public key. - create(ECPrivateKey, ECPublicKey) - Method in interface com.zerodeplibs.webpush.jwt.VAPIDJWTGeneratorFactory
-
Creates a new
VAPIDJWTGeneratorwith the given private key and public key.
D
- days(long) - Static method in class com.zerodeplibs.webpush.header.TTL
-
Convert the given TTL in days to seconds.
- DefaultVAPIDJWTGeneratorFactory - Class in com.zerodeplibs.webpush.jwt
-
The default factory class for
VAPIDJWTGenerator. - DefaultVAPIDJWTGeneratorFactory() - Constructor for class com.zerodeplibs.webpush.jwt.DefaultVAPIDJWTGeneratorFactory
E
- encrypt(UserAgentMessageEncryptionKeyInfo, PushMessage) - Method in interface com.zerodeplibs.webpush.MessageEncryption
-
Encrypts the given
pushMessagewith the givenuserAgentMessageEncryptionKeyInfo. - EncryptedPushMessage - Interface in com.zerodeplibs.webpush
-
Implementations of this interface represent an encrypted push message.
- END_ENCAPSULATION_BOUNDARIES_FMR - Static variable in interface com.zerodeplibs.webpush.key.PEMParser
-
The format string used to make a post-encapsulation boundary.
- ensure(String) - Static method in class com.zerodeplibs.webpush.header.Topic
-
Makes sure that the given topic is no more than 32 characters from the URL and a filename-safe Base64 alphabet.
- equals(Object) - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder.RequestPreparationInfo
-
Compares the given object with this object based on their properties.
- equals(Object) - Method in class com.zerodeplibs.webpush.jwt.VAPIDJWTParam
-
Compares the given object with this object based on their properties.
- equals(Object) - Method in class com.zerodeplibs.webpush.PushMessage
-
Compares the given object with this object based on their underlying messages.
- equals(Object) - Method in class com.zerodeplibs.webpush.PushSubscription
-
Compares the given object with this object based on their properties.
- equals(Object) - Method in class com.zerodeplibs.webpush.PushSubscription.Keys
-
Compares the given object with this object based on their properties.
- equals(Object) - Method in class com.zerodeplibs.webpush.UserAgentMessageEncryptionKeyInfo
-
Compares the given object with this object based on their public keys and secrets.
- expirationTime(Instant) - Method in class com.zerodeplibs.webpush.jwt.VAPIDJWTParam.Builder
-
Specifies the time at which a JWT for VAPID expires.
- expiresAfter(int, TimeUnit) - Method in class com.zerodeplibs.webpush.jwt.VAPIDJWTParam.Builder
-
Specifies the time after which a JWT for VAPID expires.
- extract() - Method in interface com.zerodeplibs.webpush.key.PrivateKeySource
-
Extracts the
ECPrivateKeyfrom the source represented by this object. - extract() - Method in interface com.zerodeplibs.webpush.key.PublicKeySource
-
Extracts the
ECPublicKeyfrom the source represented by this object. - extractBytesInUncompressedForm() - Method in interface com.zerodeplibs.webpush.key.PublicKeySource
-
Extracts the octet sequence of the elliptic curve (EC) public key in uncompressed form.
- extractPublicKeyInUncompressedForm() - Method in interface com.zerodeplibs.webpush.VAPIDKeyPair
-
Extracts the octet sequence of the public key in uncompressed form (65-byte array starting with 0x04).
- extractPublicKeyInUncompressedFormAsString() - Method in interface com.zerodeplibs.webpush.VAPIDKeyPair
-
Extracts the public key in uncompressed form (65-byte array starting with 0x04) encoded using base64url without padding.
- extractStringInUncompressedForm() - Method in interface com.zerodeplibs.webpush.key.PublicKeySource
-
Extracts the elliptic curve (EC) public key in uncompressed form encoded using base64url without padding.
F
- forEachAdditionalClaim(BiConsumer<String, Object>) - Method in class com.zerodeplibs.webpush.jwt.VAPIDJWTParam
-
Performs the given action for each additional claim.
- from(PushSubscription.Keys) - Static method in class com.zerodeplibs.webpush.UserAgentMessageEncryptionKeyInfo
-
Creates a new
UserAgentMessageEncryptionKeyInfofrom aPushSubscription's 'keys' field.
G
- generate(VAPIDJWTParam) - Method in interface com.zerodeplibs.webpush.jwt.VAPIDJWTGenerator
-
Generates a JWT used for VAPID.
- generateAuthorizationHeaderValue(VAPIDJWTParam) - Method in interface com.zerodeplibs.webpush.VAPIDKeyPair
-
Generates a credential(that uses 'vapid' authentication scheme) used to set an Authorization header field when requesting the delivery of a push message.
- getAdditionalClaim(String, Class<T>) - Method in class com.zerodeplibs.webpush.jwt.VAPIDJWTParam
-
Gets one of the additional claims that is mapped to the given name and can be cast to the given type.
- getAdditionalClaims() - Method in class com.zerodeplibs.webpush.jwt.VAPIDJWTParam
-
Gets the additional claims.
- getAuth() - Method in class com.zerodeplibs.webpush.PushSubscription.Keys
-
Gets the auth.
- getBuilder() - Static method in class com.zerodeplibs.webpush.httpclient.ApacheHttpClientRequestPreparer
-
Gets a new
PreparerBuilderused to constructApacheHttpClientRequestPreparer. - getBuilder() - Static method in class com.zerodeplibs.webpush.httpclient.JettyHttpClientRequestPreparer
-
Gets a new
PreparerBuilderused to constructJettyHttpClientRequestPreparer. - getBuilder() - Static method in class com.zerodeplibs.webpush.httpclient.OkHttpClientRequestPreparer
-
Gets a new
PreparerBuilderused to constructOkHttpClientRequestPreparer. - getBuilder() - Static method in class com.zerodeplibs.webpush.httpclient.StandardHttpClientRequestPreparer
-
Gets a new
PreparerBuilderused to constructStandardHttpClientRequestPreparer. - getBuilder() - Static method in class com.zerodeplibs.webpush.httpclient.VertxWebClientRequestPreparer
-
Gets a new
PreparerBuilderused to constructVertxWebClientRequestPreparer. - getBuilder() - Static method in class com.zerodeplibs.webpush.jwt.VAPIDJWTParam
-
Gets a new
VAPIDJWTParam.Builder. - getEncryptedPushMessage() - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder.RequestPreparationInfo
-
Gets the
EncryptedPushMessage. - getEndpoint() - Method in class com.zerodeplibs.webpush.PushSubscription
-
Gets the endpoint.
- getEndpointUrl() - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder.RequestPreparationInfo
-
Gets the endpoint url to which a push message is send.
- getExpirationTime() - Method in class com.zerodeplibs.webpush.jwt.VAPIDJWTParam
-
Gets the expiration time at which a JWT for VAPID expires.
- getExpirationTime() - Method in class com.zerodeplibs.webpush.PushSubscription
-
Gets the expiration time.
- getExpiresAt() - Method in class com.zerodeplibs.webpush.jwt.VAPIDJWTParam
-
Gets the expiration time at which a JWT for VAPID expires.
- getExpiresAtInSeconds() - Method in class com.zerodeplibs.webpush.jwt.VAPIDJWTParam
-
Gets the number of seconds from January 1, 1970, 00:00:00 GMT to the expiration time.
- getKeys() - Method in class com.zerodeplibs.webpush.PushSubscription
-
Gets the keys.
- getOrigin() - Method in class com.zerodeplibs.webpush.jwt.VAPIDJWTParam
-
Gets the origin extracted from the resource URL.
- getP256dh() - Method in class com.zerodeplibs.webpush.PushSubscription.Keys
-
Gets the p256dh.
- getPEMFileSourceBuilder(Path) - Static method in class com.zerodeplibs.webpush.key.PrivateKeySources
-
Gets a new
PrivateKeySources.PEMFileSourceBuilder. - getPEMFileSourceBuilder(Path) - Static method in class com.zerodeplibs.webpush.key.PublicKeySources
-
Gets a new
PublicKeySources.PEMFileSourceBuilder. - getSubject() - Method in class com.zerodeplibs.webpush.jwt.VAPIDJWTParam
-
Gets the subject.
- getTopic() - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder.RequestPreparationInfo
-
Gets the topic.
- getTtlString() - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder.RequestPreparationInfo
-
Gets the value of TTL.
- getUrgency() - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder.RequestPreparationInfo
-
Gets the value of Urgency.
- getValue() - Method in enum com.zerodeplibs.webpush.header.Urgency.UrgencyOption
-
Gets the value for the Urgency header field.
- getVapidHeader() - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder.RequestPreparationInfo
-
Gets the credential for VAPID.
H
- hashCode() - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder.RequestPreparationInfo
-
Returns the hash code value for this object based on its properties.
- hashCode() - Method in class com.zerodeplibs.webpush.jwt.VAPIDJWTParam
-
Returns the hash code value for this object based on its properties.
- hashCode() - Method in class com.zerodeplibs.webpush.PushMessage
-
Returns the hash code value for this object based on its underlying message.
- hashCode() - Method in class com.zerodeplibs.webpush.PushSubscription
-
Returns the hash code value for this object based on its properties.
- hashCode() - Method in class com.zerodeplibs.webpush.PushSubscription.Keys
-
Returns the hash code value for this object based on its properties.
- hashCode() - Method in class com.zerodeplibs.webpush.UserAgentMessageEncryptionKeyInfo
-
Returns the hash code value for this object based on its public key and secret.
- HEADER_NAME - Static variable in class com.zerodeplibs.webpush.header.Topic
-
The name of the Topic header field.
- HEADER_NAME - Static variable in class com.zerodeplibs.webpush.header.TTL
-
The name of the TTL header field.
- HEADER_NAME - Static variable in class com.zerodeplibs.webpush.header.Urgency
-
The name of the Urgency header field.
- high() - Static method in class com.zerodeplibs.webpush.header.Urgency
-
"high" urgency.
- HIGH - com.zerodeplibs.webpush.header.Urgency.UrgencyOption
-
"high" urgency.
- hours(long) - Static method in class com.zerodeplibs.webpush.header.TTL
-
Convert the given TTL in hours to seconds.
I
- InvalidECPublicKeyException - Exception in com.zerodeplibs.webpush.key
-
This exception is thrown to indicate that an elliptic curve (EC) public key is invalid.
J
- JettyHttpClientRequestPreparer - Class in com.zerodeplibs.webpush.httpclient
-
The "Preparer" used to utilize Eclipse Jetty Client Libraries.
K
- KeyExtractionException - Exception in com.zerodeplibs.webpush.key
-
Wraps checked exceptions such as
InvalidKeySpecExceptionthat may occur when a private/public key is being extracted. - Keys() - Constructor for class com.zerodeplibs.webpush.PushSubscription.Keys
-
Creates a new
PushSubscription.Keys. - Keys(PushSubscription.Keys) - Constructor for class com.zerodeplibs.webpush.PushSubscription.Keys
-
Creates a new
PushSubscription.Keys.
L
- length() - Method in interface com.zerodeplibs.webpush.EncryptedPushMessage
-
Returns the length of this encrypted push message.
- low() - Static method in class com.zerodeplibs.webpush.header.Urgency
-
"low" urgency.
- LOW - com.zerodeplibs.webpush.header.Urgency.UrgencyOption
-
"low" urgency.
M
- MalformedPEMException - Exception in com.zerodeplibs.webpush.key
-
This exception is thrown to indicate that an input text cannot be parsed as a valid PEM format.
- MalformedUncompressedBytesException - Exception in com.zerodeplibs.webpush.key
-
This exception is thrown to indicate that an input octet sequence isn't valid uncompressed form[X9.62].
- MalformedURLRuntimeException - Exception in com.zerodeplibs.webpush.jwt
-
A subclass of
RuntimeExceptionthat wrapsMalformedURLException. - mediaType() - Method in interface com.zerodeplibs.webpush.EncryptedPushMessage
-
Returns the media type of this encrypted push message (e.g.
- MessageEncryption - Interface in com.zerodeplibs.webpush
-
Implementations of this interface provide the functionality of Message Encryption for Web Push.
- MessageEncryptionException - Exception in com.zerodeplibs.webpush
-
Wraps checked exceptions that may occur during message encryption such as
InvalidAlgorithmParameterException. - MessageEncryptions - Class in com.zerodeplibs.webpush
-
Static factory methods used to create instances of
MessageEncryption. - minutes(long) - Static method in class com.zerodeplibs.webpush.header.TTL
-
Convert the given TTL in minutes to seconds.
N
- normal() - Static method in class com.zerodeplibs.webpush.header.Urgency
-
"normal" urgency.
- NORMAL - com.zerodeplibs.webpush.header.Urgency.UrgencyOption
-
"normal" urgency.
O
- of() - Static method in class com.zerodeplibs.webpush.MessageEncryptions
-
Creates a new
MessageEncryptionthat uses the "aes128gcm" content encoding. - of(byte[]) - Static method in class com.zerodeplibs.webpush.PushMessage
-
Creates a new
PushMessagewith the given octet sequence. - of(byte[], byte[]) - Static method in class com.zerodeplibs.webpush.UserAgentMessageEncryptionKeyInfo
-
Creates a new
UserAgentMessageEncryptionKeyInfowith the given p256dh and the auth. - of(PrivateKeySource, PublicKeySource) - Static method in class com.zerodeplibs.webpush.VAPIDKeyPairs
-
Creates a new
VAPIDKeyPairwith the given private key source and the given public key source. - of(PrivateKeySource, PublicKeySource, BiFunction<ECPrivateKey, ECPublicKey, VAPIDJWTGenerator>) - Static method in class com.zerodeplibs.webpush.VAPIDKeyPairs
-
Creates a new
VAPIDKeyPairwith the given private key source, the given public key source and the given factory forVAPIDJWTGenerator. - of(String, String) - Static method in class com.zerodeplibs.webpush.UserAgentMessageEncryptionKeyInfo
-
Creates a new
UserAgentMessageEncryptionKeyInfowith the given p256dh and auth. - ofDERFile(Path) - Static method in class com.zerodeplibs.webpush.key.PrivateKeySources
-
Creates a new
PrivateKeySourcewith the DER file specified by the given path. - ofDERFile(Path) - Static method in class com.zerodeplibs.webpush.key.PublicKeySources
-
Creates a new
PublicKeySourcewith the DER file specified by the given path. - ofECPrivateKey(ECPrivateKey) - Static method in class com.zerodeplibs.webpush.key.PrivateKeySources
-
Creates a new
PrivateKeySourcethat wraps the givenECPrivateKeyobject. - ofECPublicKey(ECPublicKey) - Static method in class com.zerodeplibs.webpush.key.PublicKeySources
-
Creates a new
PublicKeySourcethat wraps the givenECPublicKeyobject. - ofPEMFile(Path) - Static method in class com.zerodeplibs.webpush.key.PrivateKeySources
-
Creates a new
PrivateKeySourcewith the PEM formatted file specified by the given path. - ofPEMFile(Path) - Static method in class com.zerodeplibs.webpush.key.PublicKeySources
-
Creates a new
PublicKeySourcewith the PEM formatted file specified by the given path. - ofPEMFile(Path, PEMParser) - Static method in class com.zerodeplibs.webpush.key.PrivateKeySources
-
Creates a new
PrivateKeySourcewith the PEM formatted file specified by the given path. - ofPEMFile(Path, PEMParser) - Static method in class com.zerodeplibs.webpush.key.PublicKeySources
-
Creates a new
PublicKeySourcewith the PEM formatted file specified by the given path. - ofPEMText(String) - Static method in class com.zerodeplibs.webpush.key.PrivateKeySources
-
Creates a new
PrivateKeySourcewith the given PEM-encoded text. - ofPEMText(String) - Static method in class com.zerodeplibs.webpush.key.PublicKeySources
-
Creates a new
PublicKeySourcewith the given PEM-encoded text. - ofPEMText(String, PEMParser) - Static method in class com.zerodeplibs.webpush.key.PrivateKeySources
-
Creates a new
PrivateKeySourcewith the given PEM-encoded text and the givenPEMParser. - ofPEMText(String, PEMParser) - Static method in class com.zerodeplibs.webpush.key.PublicKeySources
-
Creates a new
PublicKeySourcewith the given PEM-encoded text and the givenPEMParser. - ofPKCS8Bytes(byte[]) - Static method in class com.zerodeplibs.webpush.key.PrivateKeySources
-
Creates a new
PrivateKeySourcewith the given octet sequence that is assumed to be encoded according to the PKCS#8 standard. - ofStandard(String) - Static method in class com.zerodeplibs.webpush.key.PEMParsers
-
Creates a new
PEMParserwith the given type label. - ofUncompressedBytes(byte[]) - Static method in class com.zerodeplibs.webpush.key.PublicKeySources
-
Create a new
PublicKeySourcewith the given octet sequence representing a public key on the P-256 curve encoded in the uncompressed form[X9.62]. - ofUTF8(String) - Static method in class com.zerodeplibs.webpush.PushMessage
-
Creates a new
PushMessagewith the given text. - ofX509Bytes(byte[]) - Static method in class com.zerodeplibs.webpush.key.PublicKeySources
-
Creates a new
PublicKeySourcewith the given octet sequence that is assumed to be encoded according to the X.509 standard. - OkHttpClientRequestPreparer - Class in com.zerodeplibs.webpush.httpclient
-
The "Preparer" used to utilize OkHttp.
P
- parse(String) - Method in interface com.zerodeplibs.webpush.key.PEMParser
-
Parses the given PEM-encoded text and extracts its content.
- parser(PEMParser) - Method in class com.zerodeplibs.webpush.key.PrivateKeySources.PEMFileSourceBuilder
-
Specifies a parser used to parse the content of the PEM file.
- parser(PEMParser) - Method in class com.zerodeplibs.webpush.key.PublicKeySources.PEMFileSourceBuilder
-
Specifies a parser used to parse the content of the PEM file.
- PEMParser - Interface in com.zerodeplibs.webpush.key
-
Implementations of this interface provide the functionality for parsing PEM format.
- PEMParsers - Class in com.zerodeplibs.webpush.key
-
Static factory methods used to create instances of
PEMParser. - PKCS8_PRIVATE_KEY_LABEL - Static variable in interface com.zerodeplibs.webpush.key.PEMParser
-
The type label in an encapsulation boundary indicating that the content is a PKCS #8 Private Key Info.
- PreparerBuilder<T> - Class in com.zerodeplibs.webpush.httpclient
-
The builder class of "Preparer".
- PreparerBuilder() - Constructor for class com.zerodeplibs.webpush.httpclient.PreparerBuilder
-
Creates a new
PreparerBuilder. - PreparerBuilder.RequestPreparationInfo - Class in com.zerodeplibs.webpush.httpclient
-
Represents information which is required for an application to request the delivery of a push message.
- PrivateKeySource - Interface in com.zerodeplibs.webpush.key
-
Implementations of this interface represent a source of an
ECPrivateKey. - PrivateKeySources - Class in com.zerodeplibs.webpush.key
-
Static factory methods used to create instances of
PrivateKeySource. - PrivateKeySources.PEMFileSourceBuilder - Class in com.zerodeplibs.webpush.key
-
The builder class for creating an instance of
PrivateKeySourcefrom a PEM formatted file. - PublicKeySource - Interface in com.zerodeplibs.webpush.key
-
Implementations of this interface represent a source of an
ECPublicKey. - PublicKeySources - Class in com.zerodeplibs.webpush.key
-
Static factory methods used to create instances of
PublicKeySource. - PublicKeySources.PEMFileSourceBuilder - Class in com.zerodeplibs.webpush.key
-
The builder class for creating an instance of
PublicKeySourcefrom a PEM formatted file. - pushMessage(byte[]) - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder
-
Specifies a push message.
- pushMessage(String) - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder
-
Specifies a push message.
- PushMessage - Class in com.zerodeplibs.webpush
-
This class represents a push message to be encrypted.
- pushSubscription(PushSubscription) - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder
-
Specifies a
PushSubscription. - PushSubscription - Class in com.zerodeplibs.webpush
-
This class represents a push subscription described in the Push API - W3C specification.
- PushSubscription() - Constructor for class com.zerodeplibs.webpush.PushSubscription
-
Creates a new
PushSubscription. - PushSubscription(PushSubscription) - Constructor for class com.zerodeplibs.webpush.PushSubscription
-
Creates a new
PushSubscription. - PushSubscription.Keys - Class in com.zerodeplibs.webpush
-
This class represents a 'keys' field for a push subscription.
R
- resourceURL(URL) - Method in class com.zerodeplibs.webpush.jwt.VAPIDJWTParam.Builder
-
Specifies a push resource URL from which the origin is extracted.
- resourceURLString(String) - Method in class com.zerodeplibs.webpush.jwt.VAPIDJWTParam.Builder
-
Specifies a push resource URL from which the origin is extracted.
S
- seconds(long) - Static method in class com.zerodeplibs.webpush.header.TTL
-
Check if the given TTL in seconds isn't negative.
- sendBuffer(WebClient, Consumer<HttpRequest<Buffer>>) - Method in class com.zerodeplibs.webpush.httpclient.VertxWebClientRequestPreparer
-
Send a request with the given
webClient. - sendBuffer(WebClient, Consumer<HttpRequest<Buffer>>, Handler<AsyncResult<HttpResponse<Buffer>>>) - Method in class com.zerodeplibs.webpush.httpclient.VertxWebClientRequestPreparer
-
Send a request with the given
webClient. - setAuth(String) - Method in class com.zerodeplibs.webpush.PushSubscription.Keys
-
Sets the auth.
- setEndpoint(String) - Method in class com.zerodeplibs.webpush.PushSubscription
-
Sets the endpoint.
- setExpirationTime(Long) - Method in class com.zerodeplibs.webpush.PushSubscription
-
Sets the expiration time.
- setKeys(PushSubscription.Keys) - Method in class com.zerodeplibs.webpush.PushSubscription
-
Sets the keys.
- setP256dh(String) - Method in class com.zerodeplibs.webpush.PushSubscription.Keys
-
Sets the p256dh.
- StandardHttpClientRequestPreparer - Class in com.zerodeplibs.webpush.httpclient
-
The "Preparer" used to utilize
HttpClient. - subject(String) - Method in class com.zerodeplibs.webpush.jwt.VAPIDJWTParam.Builder
-
Specifies a subject.
- SUBJECT_PUBLIC_KEY_INFO_LABEL - Static variable in interface com.zerodeplibs.webpush.key.PEMParser
-
The type label in an encapsulation boundary indicating that the content is a Subject Public Key Info.
T
- toBytes() - Method in interface com.zerodeplibs.webpush.EncryptedPushMessage
-
Converts this encrypted push message to the octet sequence.
- toHttpPost() - Method in class com.zerodeplibs.webpush.httpclient.ApacheHttpClientRequestPreparer
-
Converts this object to an
HttpPost. - topic(String) - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder
-
Specifies a value for the Topic header field.
- Topic - Class in com.zerodeplibs.webpush.header
-
The utility class used for setting the Topic header field.
- toRequest() - Method in class com.zerodeplibs.webpush.httpclient.OkHttpClientRequestPreparer
-
Converts this object to a
Request. - toRequest() - Method in class com.zerodeplibs.webpush.httpclient.StandardHttpClientRequestPreparer
-
Converts this object to a
HttpRequest. - toRequest(HttpClient) - Method in class com.zerodeplibs.webpush.httpclient.JettyHttpClientRequestPreparer
-
Converts this object to a
Request. - toRequestBuilder() - Method in class com.zerodeplibs.webpush.httpclient.OkHttpClientRequestPreparer
-
Converts this object to a
Request.Builder. - toRequestBuilder() - Method in class com.zerodeplibs.webpush.httpclient.StandardHttpClientRequestPreparer
-
Converts this object to a
HttpRequest.Builder. - toSimpleHttpRequest() - Method in class com.zerodeplibs.webpush.httpclient.ApacheHttpClientRequestPreparer
-
Converts this object to a
SimpleHttpRequest. - toString() - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder.RequestPreparationInfo
- toString() - Method in class com.zerodeplibs.webpush.jwt.VAPIDJWTParam
- toString() - Method in class com.zerodeplibs.webpush.PushMessage
- toString() - Method in class com.zerodeplibs.webpush.PushSubscription.Keys
- toString() - Method in class com.zerodeplibs.webpush.PushSubscription
- toString() - Method in class com.zerodeplibs.webpush.UserAgentMessageEncryptionKeyInfo
- ttl(long, TimeUnit) - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder
-
Specifies a value for the TTL header field with a
timeUnit. - TTL - Class in com.zerodeplibs.webpush.header
-
The utility class used for setting the TTL header field.
U
- urgency(Urgency.UrgencyOption) - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder
-
Specifies a value for the Urgency header field.
- Urgency - Class in com.zerodeplibs.webpush.header
-
The utility class used for setting the Urgency header field.
- Urgency.UrgencyOption - Enum in com.zerodeplibs.webpush.header
-
This enum represents an available value for the Urgency header field.
- urgencyHigh() - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder
-
Specifies the "high" urgency for the Urgency header field.
- urgencyLow() - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder
-
Specifies the "low" urgency for the Urgency header field.
- urgencyNormal() - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder
-
Specifies the "normal" urgency for the Urgency header field.
- urgencyVeryLow() - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder
-
Specifies the "very-low" urgency for the Urgency header field.
- UserAgentMessageEncryptionKeyInfo - Class in com.zerodeplibs.webpush
-
This class represents keys of a user agent used for encrypting push messages.
V
- valueOf(String) - Static method in enum com.zerodeplibs.webpush.header.Urgency.UrgencyOption
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.zerodeplibs.webpush.header.Urgency.UrgencyOption
-
Returns an array containing the constants of this enum type, in the order they are declared.
- vapidJWTAdditionalClaim(String, String) - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder
-
Specifies an additional claim.
- VAPIDJWTCreationException - Exception in com.zerodeplibs.webpush.jwt
-
Wraps checked exceptions that may occur when a JWT for VAPID is being created.
- VAPIDJWTCreationException(String) - Constructor for exception com.zerodeplibs.webpush.jwt.VAPIDJWTCreationException
-
Creates a new
VAPIDJWTCreationExceptionwith the given message. - VAPIDJWTCreationException(String, Throwable) - Constructor for exception com.zerodeplibs.webpush.jwt.VAPIDJWTCreationException
-
Creates a new
VAPIDJWTCreationExceptionwith the given message and cause. - vapidJWTExpirationTime(Instant) - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder
-
Specifies the time at which a JWT for VAPID expires.
- vapidJWTExpiresAfter(int, TimeUnit) - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder
-
Specifies the time after which a JWT for VAPID expires.
- VAPIDJWTGenerator - Interface in com.zerodeplibs.webpush.jwt
-
The interface to a generator that generates JSON Web Token (JWT) used for the Voluntary Application Server Identification (VAPID).
- VAPIDJWTGeneratorFactory - Interface in com.zerodeplibs.webpush.jwt
-
Implementations of this interface provide the functionality for creating
VAPIDJWTGenerator. - VAPIDJWTParam - Class in com.zerodeplibs.webpush.jwt
-
This class represents parameters for generating JSON Web Token (JWT) used for the Voluntary Application Server Identification (VAPID).
- VAPIDJWTParam.Builder - Class in com.zerodeplibs.webpush.jwt
-
The builder class for
VAPIDJWTParam. - vapidJWTSubject(String) - Method in class com.zerodeplibs.webpush.httpclient.PreparerBuilder
-
Specifies a subject.
- VAPIDKeyPair - Interface in com.zerodeplibs.webpush
-
This interface represents a signing key pair for the Voluntary Application Server Identification (VAPID) described in RFC8292.
- VAPIDKeyPairs - Class in com.zerodeplibs.webpush
-
Static factory methods used to create instances of
VAPIDKeyPair. - VertxWebClientRequestPreparer - Class in com.zerodeplibs.webpush.httpclient
-
The "Preparer" used to utilize Vert.x Web Client.
- VERY_LOW - com.zerodeplibs.webpush.header.Urgency.UrgencyOption
-
"very-low" urgency.
- veryLow() - Static method in class com.zerodeplibs.webpush.header.Urgency
-
"very-low" urgency.
W
- withDefaultMessage(Throwable) - Static method in exception com.zerodeplibs.webpush.jwt.VAPIDJWTCreationException
-
Creates a new
VAPIDJWTCreationExceptionwith the default message and the given cause.
All Classes All Packages