Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AcceptAllPushNotificationHandlerFactory - Class in com.eatthepath.pushy.apns.server
-
A factory for push notification handlers that unconditionally accept all push notifications.
- AcceptAllPushNotificationHandlerFactory() - Constructor for class com.eatthepath.pushy.apns.server.AcceptAllPushNotificationHandlerFactory
- ACTIVE - Enum constant in enum com.eatthepath.pushy.apns.util.InterruptionLevel
-
According to Apple's Human Interface Guidelines, an
active
notification contains "information people might appreciate knowing about when it arrives, like a score update on their favorite sports team." If no interruption level is specified, the notification is assumed to have anactive
interruption level. - addCustomProperty(String, Object) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Adds a custom property to the payload.
- ALERT - Enum constant in enum com.eatthepath.pushy.apns.PushType
-
Indicates that a push notification is expected to display an alert, play a sound, or badges the receiving apps' icon.
- ALTERNATE_APNS_PORT - Static variable in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
An alternative port for communication with the APNs gateway.
- APNS_SIGNATURE_ALGORITHM - Static variable in class com.eatthepath.pushy.apns.auth.ApnsSigningKey
- APNS_SIGNATURE_ALGORITHM - Static variable in class com.eatthepath.pushy.apns.auth.ApnsVerificationKey
- ApnsClient - Class in com.eatthepath.pushy.apns
-
An APNs client sends push notifications to the APNs gateway.
- ApnsClientBuilder - Class in com.eatthepath.pushy.apns
-
An
ApnsClientBuilder
constructs newApnsClient
instances. - ApnsClientBuilder() - Constructor for class com.eatthepath.pushy.apns.ApnsClientBuilder
- ApnsClientMetricsListener - Interface in com.eatthepath.pushy.apns
-
A metrics listener receives events from an
ApnsClient
that can be used to measure the performance and behavior of the client. - ApnsPayloadBuilder - Class in com.eatthepath.pushy.apns.util
-
A base utility class for constructing JSON payloads suitable for inclusion in APNs push notifications.
- ApnsPayloadBuilder() - Constructor for class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
- ApnsPushNotification - Interface in com.eatthepath.pushy.apns
-
A push notification that can be sent through the Apple Push Notification service (APNs).
- ApnsSigningKey - Class in com.eatthepath.pushy.apns.auth
-
A private key used to sign authentication tokens.
- ApnsSigningKey(String, String, ECPrivateKey) - Constructor for class com.eatthepath.pushy.apns.auth.ApnsSigningKey
-
Constructs a new signing key with the given key identifier, team identifier, and elliptic curve private key.
- ApnsVerificationKey - Class in com.eatthepath.pushy.apns.auth
-
A public key used to verify authentication tokens.
- ApnsVerificationKey(String, String, ECPublicKey) - Constructor for class com.eatthepath.pushy.apns.auth.ApnsVerificationKey
-
Constructs a new verification key with the given key identifier, team identifier, and elliptic curve private key.
- AuthenticationToken - Class in com.eatthepath.pushy.apns.auth
-
An authentication token (or "provider authentication token" or "provider token" in Apple's terminology) is a JSON Web Token (JWT) that contains cryptographically-signed claims about the identity of the sender that can be used by APNs clients in lieu of mutual TLS authentication to authenticate with an APNs server.
- AuthenticationToken(ApnsSigningKey, Instant) - Constructor for class com.eatthepath.pushy.apns.auth.AuthenticationToken
-
Constructs a new authentication token using the given signing key (and associated metadata) issued at the given date.
- AuthenticationToken(String) - Constructor for class com.eatthepath.pushy.apns.auth.AuthenticationToken
-
Constructs a new authentication token from a Base64-encoded JWT string.
B
- BACKGROUND - Enum constant in enum com.eatthepath.pushy.apns.PushType
-
Indicates that a push notification is not expected to interact with the user on the receiving device.
- BAD_CERTIFICATE - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- BAD_CERTIFICATE_ENVIRONMENT - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- BAD_COLLAPSE_ID - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- BAD_DEVICE_TOKEN - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- BAD_EXPIRATION_DATE - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- BAD_MESSAGE_ID - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- BAD_PATH - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- BAD_PRIORITY - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- BAD_TOPIC - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- BenchmarkApnsServer - Class in com.eatthepath.pushy.apns.server
-
A simple HTTP/2 server designed to crudely emulate the behavior of a real APNs server as simply and quickly as possible.
- BenchmarkApnsServerBuilder - Class in com.eatthepath.pushy.apns.server
-
A
BenchmarkApnsServerBuilder
constructs newBenchmarkApnsServer
instances. - BenchmarkApnsServerBuilder() - Constructor for class com.eatthepath.pushy.apns.server.BenchmarkApnsServerBuilder
- build() - Method in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
Constructs a new
ApnsClient
with the previously-set configuration. - build() - Method in class com.eatthepath.pushy.apns.server.BenchmarkApnsServerBuilder
- build() - Method in class com.eatthepath.pushy.apns.server.MockApnsServerBuilder
- build() - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Returns a JSON representation of the push notification payload under construction.
- build() - Method in class com.eatthepath.pushy.apns.util.SimpleApnsPayloadBuilder
- buildHandler(SSLSession) - Method in class com.eatthepath.pushy.apns.server.AcceptAllPushNotificationHandlerFactory
-
Constructs a new push notification handler that unconditionally accepts all push notifications.
- buildHandler(SSLSession) - Method in interface com.eatthepath.pushy.apns.server.PushNotificationHandlerFactory
-
Constructs a new push notification handler that will process notifications from a single connection to a mock server.
- buildHandler(SSLSession) - Method in class com.eatthepath.pushy.apns.server.ValidatingPushNotificationHandlerFactory
- buildMdmPayload(String) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Returns a JSON representation of a Mobile Device Management "wake up" payload.
- buildMdmPayload(String) - Method in class com.eatthepath.pushy.apns.util.SimpleApnsPayloadBuilder
C
- close() - Method in class com.eatthepath.pushy.apns.ApnsClient
-
Gracefully shuts down the client, closing all connections and releasing all persistent resources.
- com.eatthepath.json - package com.eatthepath.json
-
Contains classes for parsing and serializing JSON.
- com.eatthepath.pushy.apns - package com.eatthepath.pushy.apns
-
Contains classes and interfaces for interacting with the Apple Push Notification service (APNs).
- com.eatthepath.pushy.apns.auth - package com.eatthepath.pushy.apns.auth
-
Contains classes for working with APNs keys.
- com.eatthepath.pushy.apns.proxy - package com.eatthepath.pushy.apns.proxy
-
Contains classes and interfaces for working with proxies.
- com.eatthepath.pushy.apns.server - package com.eatthepath.pushy.apns.server
-
Contains classes and interfaces for working with mock APNs servers.
- com.eatthepath.pushy.apns.util - package com.eatthepath.pushy.apns.util
-
Contains classes for working with APNs tokens and payloads.
- com.eatthepath.pushy.apns.util.concurrent - package com.eatthepath.pushy.apns.util.concurrent
-
Contains application-specific interfaces for working with asynchronous push notification operations.
- COMPLICATION - Enum constant in enum com.eatthepath.pushy.apns.PushType
-
Indicates that a push notification is intended to provide an update for a watchOS app complication.
- CONSERVE_POWER - Enum constant in enum com.eatthepath.pushy.apns.DeliveryPriority
-
Indicates that the APNs server should attempt to deliver a notification "at a time that conserves power on the device receiving it."
- createProxyHandler() - Method in class com.eatthepath.pushy.apns.proxy.HttpProxyHandlerFactory
- createProxyHandler() - Method in interface com.eatthepath.pushy.apns.proxy.ProxyHandlerFactory
-
Constructs a new proxy handler.
- createProxyHandler() - Method in class com.eatthepath.pushy.apns.proxy.Socks4ProxyHandlerFactory
- createProxyHandler() - Method in class com.eatthepath.pushy.apns.proxy.Socks5ProxyHandlerFactory
- CRITICAL - Enum constant in enum com.eatthepath.pushy.apns.util.InterruptionLevel
-
According to Apple's Human Interface guidelines, a
critical
notification contains: …urgent information about personal health and public safety that directly impacts the user and demands their immediate attention.
D
- DEFAULT_APNS_PORT - Static variable in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
The default (HTTPS) port for communication with the APNs gateway.
- DEFAULT_EXPIRATION_PERIOD - Static variable in class com.eatthepath.pushy.apns.util.SimpleApnsPushNotification
-
The default expiration period for push notifications (one day).
- DEFAULT_IDLE_PING_INTERVAL - Static variable in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
The default idle time in milliseconds after which the client will send a PING frame to the APNs server.
- DEFAULT_MAX_CONCURRENT_STREAMS - Static variable in class com.eatthepath.pushy.apns.server.BenchmarkApnsServerBuilder
-
The default maximum number of concurrent streams for an APNs server, which matches the default limit set by the real APNs server at the time of this writing.
- DEFAULT_MAX_CONCURRENT_STREAMS - Static variable in class com.eatthepath.pushy.apns.server.MockApnsServerBuilder
-
The default maximum number of concurrent streams for an APNs server, which matches the default limit set by the real APNs server at the time of this writing.
- DEFAULT_SOUND_FILENAME - Static variable in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
The name of the iOS default push notification sound.
- DeliveryPriority - Enum in com.eatthepath.pushy.apns
-
An enumeration of delivery priorities for APNs push notifications.
- DEVELOPMENT_APNS_HOST - Static variable in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
The hostname for the development APNs gateway.
- DEVICE_TOKEN_NOT_FOR_TOPIC - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- DUPLICATE_HEADERS - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
E
- EMPTY_STRING_ARRAY - Static variable in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
- END - Enum constant in enum com.eatthepath.pushy.apns.util.LiveActivityEvent
-
Used to end a Live Activity.
- equals(Object) - Method in class com.eatthepath.pushy.apns.auth.AuthenticationToken
- equals(Object) - Method in class com.eatthepath.pushy.apns.util.SimpleApnsPushNotification
- EXPIRED_PROVIDER_TOKEN - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
F
- FILEPROVIDER - Enum constant in enum com.eatthepath.pushy.apns.PushType
-
Indicates that a push notification is intended to update a File Provider extension.
- FORBIDDEN - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- fromSystemProxies(String) - Static method in class com.eatthepath.pushy.apns.proxy.HttpProxyHandlerFactory
-
Constructs an
HttpProxyHandlerFactory
that uses the HTTP proxy (if any) specified in Java's standard proxy system properties.
G
- generateApnsUniqueId(boolean) - Method in class com.eatthepath.pushy.apns.server.MockApnsServerBuilder
- getAlgorithm() - Method in class com.eatthepath.pushy.apns.auth.ApnsSigningKey
- getAlgorithm() - Method in class com.eatthepath.pushy.apns.auth.ApnsVerificationKey
- getApnsId() - Method in interface com.eatthepath.pushy.apns.ApnsPushNotification
-
Returns the canonical identifier for this push notification.
- getApnsId() - Method in interface com.eatthepath.pushy.apns.PushNotificationResponse
-
Returns the ID assigned to this push notification by the APNs server.
- getApnsId() - Method in class com.eatthepath.pushy.apns.util.SimpleApnsPushNotification
-
Returns the canonical identifier for this push notification.
- getApnsUniqueId() - Method in interface com.eatthepath.pushy.apns.PushNotificationResponse
-
Returns a unique identifier set by the APNs server in development environments to facilitate testing notifications.
- getAuthorizationHeader() - Method in class com.eatthepath.pushy.apns.auth.AuthenticationToken
-
Returns a complete APNs authorization header value (i.e.
- getCode() - Method in enum com.eatthepath.pushy.apns.DeliveryPriority
- getCollapseId() - Method in interface com.eatthepath.pushy.apns.ApnsPushNotification
-
Returns an optional identifier for this notification that allows this notification to supersede previous notifications or to be superseded by later notifications with the same identifier.
- getCollapseId() - Method in class com.eatthepath.pushy.apns.util.SimpleApnsPushNotification
-
Returns the "collapse ID" for this push notification, which allows it to supersede or be superseded by other notifications with the same ID.
- getEncoded() - Method in class com.eatthepath.pushy.apns.auth.ApnsSigningKey
- getEncoded() - Method in class com.eatthepath.pushy.apns.auth.ApnsVerificationKey
- getExpiration() - Method in interface com.eatthepath.pushy.apns.ApnsPushNotification
-
Returns the time at which Apple's push notification service should stop trying to deliver this push notification.
- getExpiration() - Method in class com.eatthepath.pushy.apns.util.SimpleApnsPushNotification
-
Returns the time at which this push notification is no longer valid and should no longer be delivered.
- getFormat() - Method in class com.eatthepath.pushy.apns.auth.ApnsSigningKey
- getFormat() - Method in class com.eatthepath.pushy.apns.auth.ApnsVerificationKey
- getFromCode(int) - Static method in enum com.eatthepath.pushy.apns.DeliveryPriority
- getFromHeaderValue(CharSequence) - Static method in enum com.eatthepath.pushy.apns.PushType
- getHeaderValue() - Method in enum com.eatthepath.pushy.apns.PushType
- getIssuedAt() - Method in class com.eatthepath.pushy.apns.auth.AuthenticationToken
-
Returns the time at which this token was issued.
- getKey() - Method in class com.eatthepath.pushy.apns.auth.ApnsVerificationKey
- getKeyId() - Method in class com.eatthepath.pushy.apns.auth.ApnsSigningKey
-
Returns the Apple-issued identifier for this key.
- getKeyId() - Method in class com.eatthepath.pushy.apns.auth.ApnsVerificationKey
-
Returns the Apple-issued identifier for this key.
- getKeyId() - Method in class com.eatthepath.pushy.apns.auth.AuthenticationToken
-
Returns the Apple-issued ID of the key used to sign this token.
- getParams() - Method in class com.eatthepath.pushy.apns.auth.ApnsSigningKey
- getParams() - Method in class com.eatthepath.pushy.apns.auth.ApnsVerificationKey
- getPayload() - Method in interface com.eatthepath.pushy.apns.ApnsPushNotification
-
Returns the JSON-encoded payload of this push notification.
- getPayload() - Method in class com.eatthepath.pushy.apns.util.SimpleApnsPushNotification
-
Returns the payload to include in this push notification.
- getPriority() - Method in interface com.eatthepath.pushy.apns.ApnsPushNotification
-
Returns the priority with which this push notification should be sent to the receiving device.
- getPriority() - Method in class com.eatthepath.pushy.apns.util.SimpleApnsPushNotification
-
Returns the priority with which this push notification should be delivered to the receiving device.
- getPushNotification() - Method in interface com.eatthepath.pushy.apns.PushNotificationResponse
-
Returns the original push notification sent to the APNs gateway.
- getPushNotification() - Method in class com.eatthepath.pushy.apns.util.concurrent.PushNotificationFuture
-
Returns the push notification to which the operation represented by this future applies.
- getPushType() - Method in interface com.eatthepath.pushy.apns.ApnsPushNotification
-
Returns the display type this push notification.
- getPushType() - Method in class com.eatthepath.pushy.apns.util.SimpleApnsPushNotification
-
Returns the display type this push notification.
- getRejectionReason() - Method in interface com.eatthepath.pushy.apns.PushNotificationResponse
-
Returns the reason for rejection reported by the APNs gateway.
- getS() - Method in class com.eatthepath.pushy.apns.auth.ApnsSigningKey
- getStatusCode() - Method in interface com.eatthepath.pushy.apns.PushNotificationResponse
-
Returns the HTTP status code reported by the APNs server.
- getTeamId() - Method in class com.eatthepath.pushy.apns.auth.ApnsSigningKey
-
Returns the Apple-issued identifier for the team that owns this key.
- getTeamId() - Method in class com.eatthepath.pushy.apns.auth.ApnsVerificationKey
-
Returns the Apple-issued identifier for the team that owns this key.
- getTeamId() - Method in class com.eatthepath.pushy.apns.auth.AuthenticationToken
-
Returns the Apple-issued ID of the team to which this authentication token's key pair belongs.
- getToken() - Method in interface com.eatthepath.pushy.apns.ApnsPushNotification
-
Returns the token of the device to which this push notification is to be sent.
- getToken() - Method in class com.eatthepath.pushy.apns.util.SimpleApnsPushNotification
-
Returns the token of the device to which this push notification should be delivered.
- getTokenInvalidationTimestamp() - Method in interface com.eatthepath.pushy.apns.PushNotificationResponse
-
If the sent push notification was rejected because the destination token is no longer valid, returns "the time at which APNs confirmed the token was no longer valid for the topic." Callers should stop attempting to send notifications to the expired token unless the token has been re-registered more recently than the returned timestamp.
- getTopic() - Method in interface com.eatthepath.pushy.apns.ApnsPushNotification
-
Returns the topic to which this notification should be sent.
- getTopic() - Method in class com.eatthepath.pushy.apns.util.SimpleApnsPushNotification
-
Returns the topic to which this push notification should be sent.
- getValue() - Method in enum com.eatthepath.pushy.apns.util.InterruptionLevel
- getW() - Method in class com.eatthepath.pushy.apns.auth.ApnsVerificationKey
H
- handleConnectionAdded(ApnsClient) - Method in interface com.eatthepath.pushy.apns.ApnsClientMetricsListener
-
Indicates that the client has successfully created a new connection to the APNs server in its internal connection pool.
- handleConnectionCreationFailed(ApnsClient) - Method in interface com.eatthepath.pushy.apns.ApnsClientMetricsListener
-
Indicates that an attempt to create a new connection to the APNs server failed.
- handleConnectionRemoved(ApnsClient) - Method in interface com.eatthepath.pushy.apns.ApnsClientMetricsListener
-
Indicates that the client has removed a previously-added connection from its internal connection pool.
- handleNotificationAccepted(ApnsClient, long) - Method in interface com.eatthepath.pushy.apns.ApnsClientMetricsListener
-
Indicates that a notification that was previously sent to an APNs server was accepted by the server.
- handleNotificationRejected(ApnsClient, long) - Method in interface com.eatthepath.pushy.apns.ApnsClientMetricsListener
-
Indicates that a notification that was previously sent to an APNs server was rejected by the server.
- handleNotificationSent(ApnsClient, long) - Method in interface com.eatthepath.pushy.apns.ApnsClientMetricsListener
-
Indicates that a notification was sent to the APNs server.
- handlePushNotification(Http2Headers, ByteBuf) - Method in interface com.eatthepath.pushy.apns.server.PushNotificationHandler
-
Processes a push notification received by a mock server.
- handlePushNotificationAccepted(ApnsPushNotification) - Method in class com.eatthepath.pushy.apns.server.ParsingMockApnsServerListenerAdapter
-
Handles a parsed push notification accepted by a mock server.
- handlePushNotificationAccepted(Http2Headers, ByteBuf) - Method in interface com.eatthepath.pushy.apns.server.MockApnsServerListener
-
Indicates that a push notification has been accepted by the mock server.
- handlePushNotificationAccepted(Http2Headers, ByteBuf) - Method in class com.eatthepath.pushy.apns.server.ParsingMockApnsServerListenerAdapter
-
Parses a push notification accepted by a mock APNs server into an
ApnsPushNotification
instance for further processing byParsingMockApnsServerListenerAdapter.handlePushNotificationAccepted(ApnsPushNotification)
. - handlePushNotificationRejected(ApnsPushNotification, RejectionReason, Instant) - Method in class com.eatthepath.pushy.apns.server.ParsingMockApnsServerListenerAdapter
-
Handles a parsed push notification accepted by a mock server.
- handlePushNotificationRejected(Http2Headers, ByteBuf, RejectionReason, Instant) - Method in interface com.eatthepath.pushy.apns.server.MockApnsServerListener
-
Indicates that a push notification has been rejected by the mock server.
- handlePushNotificationRejected(Http2Headers, ByteBuf, RejectionReason, Instant) - Method in class com.eatthepath.pushy.apns.server.ParsingMockApnsServerListenerAdapter
-
Parses a push notification rejected by a mock APNs server into an
ApnsPushNotification
instance for further processing byParsingMockApnsServerListenerAdapter.handlePushNotificationRejected(ApnsPushNotification, RejectionReason, Instant)
. - handleWriteFailure(ApnsClient, long) - Method in interface com.eatthepath.pushy.apns.ApnsClientMetricsListener
-
Indicates that an attempt to send a push notification failed before the notification was processed by the APNs server.
- hashCode() - Method in class com.eatthepath.pushy.apns.auth.AuthenticationToken
- hashCode() - Method in class com.eatthepath.pushy.apns.util.SimpleApnsPushNotification
- HttpProxyHandlerFactory - Class in com.eatthepath.pushy.apns.proxy
-
A concrete
ProxyHandlerFactory
implementation that createsHttpProxyHandler
instances. - HttpProxyHandlerFactory(SocketAddress) - Constructor for class com.eatthepath.pushy.apns.proxy.HttpProxyHandlerFactory
-
Creates a new proxy handler factory that will create HTTP proxy handlers that use the proxy at the given address and that will not perform authentication.
- HttpProxyHandlerFactory(SocketAddress, String, String) - Constructor for class com.eatthepath.pushy.apns.proxy.HttpProxyHandlerFactory
-
Creates a new proxy handler factory that will create HTTP proxy handlers that use the proxy at the given address and that will authenticate with the given username and password.
I
- IDLE_TIMEOUT - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- IMMEDIATE - Enum constant in enum com.eatthepath.pushy.apns.DeliveryPriority
-
Indicates that the APNs server should attempt to deliver a notification immediately.
- INTERNAL_SERVER_ERROR - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- InterruptionLevel - Enum in com.eatthepath.pushy.apns.util
-
An enumeration of interruption levels that may be specified in a notification payload.
- INVALID_PROVIDER_TOKEN - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- INVALID_PUSH_TYPE - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- isAccepted() - Method in interface com.eatthepath.pushy.apns.PushNotificationResponse
-
Indicates whether the push notification was accepted by the APNs gateway.
J
- JsonParser - Class in com.eatthepath.json
-
An extremely simple JSON parser that interprets JSON objects as Java primitives.
- JsonParser() - Constructor for class com.eatthepath.json.JsonParser
-
Constructs a new JSON parser.
- JsonSerializer - Class in com.eatthepath.json
-
A JSON serializer is responsible for producing complete and legal JSON texts (objects or arrays).
L
- LIVE_ACTIVITY - Enum constant in enum com.eatthepath.pushy.apns.PushType
-
Indicates that a push notification is intended to update a running Live Activity.
- LiveActivityEvent - Enum in com.eatthepath.pushy.apns.util
-
An enumeration of accepted actions for Live Activity notification payloads.
- loadFromInputStream(InputStream, String, String) - Static method in class com.eatthepath.pushy.apns.auth.ApnsSigningKey
-
Loads a signing key from the given input stream.
- loadFromInputStream(InputStream, String, String) - Static method in class com.eatthepath.pushy.apns.auth.ApnsVerificationKey
-
Loads a verification key from the given input stream.
- loadFromPkcs8File(File, String, String) - Static method in class com.eatthepath.pushy.apns.auth.ApnsSigningKey
-
Loads a signing key from the given PKCS#8 file.
- loadFromPkcs8File(File, String, String) - Static method in class com.eatthepath.pushy.apns.auth.ApnsVerificationKey
-
Loads a verification key from the given PKCS#8 file.
- LOCATION - Enum constant in enum com.eatthepath.pushy.apns.PushType
-
Indicates that a push notification is intended to query the destination device's location and activate a Location Push Service Extension on the destination device.
M
- MDM - Enum constant in enum com.eatthepath.pushy.apns.PushType
-
Indicates that a push notification is intended to cause the receiving device to contact its mobile device management (MDM) server.
- METHOD_NOT_ALLOWED - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- MISSING_DEVICE_TOKEN - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- MISSING_PROVIDER_TOKEN - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- MISSING_TOPIC - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- MockApnsServer - Class in com.eatthepath.pushy.apns.server
-
A mock APNs server is an HTTP/2 server that can be configured to respond to APNs push notifications with a variety of behaviors.
- MockApnsServerBuilder - Class in com.eatthepath.pushy.apns.server
-
A
MockApnsServerBuilder
constructs newMockApnsServer
instances. - MockApnsServerBuilder() - Constructor for class com.eatthepath.pushy.apns.server.MockApnsServerBuilder
- MockApnsServerListener - Interface in com.eatthepath.pushy.apns.server
-
Mock APNs server listeners are notified when push notifications are accepted or rejected by a
MockApnsServer
.
P
- parseJsonObject(String) - Method in class com.eatthepath.json.JsonParser
-
Parses the given JSON string as a JSON object.
- ParsingMockApnsServerListenerAdapter - Class in com.eatthepath.pushy.apns.server
-
A parsing APNs server listener is an abstract base class that parses HTTP/2 headers and payload byte buffers from a mock APNs server into
ApnsPushNotification
instances for easier handling. - ParsingMockApnsServerListenerAdapter() - Constructor for class com.eatthepath.pushy.apns.server.ParsingMockApnsServerListenerAdapter
- PASSIVE - Enum constant in enum com.eatthepath.pushy.apns.util.InterruptionLevel
-
According to Apple's Human Interface Guidelines, a
passive
notification contains "information people can view at their leisure, like a restaurant recommendation." - PAYLOAD_EMPTY - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- PAYLOAD_TOO_LARGE - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- PRODUCTION_APNS_HOST - Static variable in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
The hostname for the production APNs gateway.
- ProxyHandlerFactory - Interface in com.eatthepath.pushy.apns.proxy
-
A proxy handler factory creates proxy handlers for use in an
ApnsClient
's pipeline. - PUSH_TO_TALK - Enum constant in enum com.eatthepath.pushy.apns.PushType
-
Indicates that a push notification is intended to notify the destination device that new push-to-talk audio is available.
- PushNotificationFuture<P,
V> - Class in com.eatthepath.pushy.apns.util.concurrent -
A push notification future represents the result an asynchronous operation on a
ApnsPushNotification
. - PushNotificationFuture(P) - Constructor for class com.eatthepath.pushy.apns.util.concurrent.PushNotificationFuture
- PushNotificationHandler - Interface in com.eatthepath.pushy.apns.server
-
Push notification handlers process push notifications sent to a
MockApnsServer
and decide how the server should respond to those notifications. - PushNotificationHandlerFactory - Interface in com.eatthepath.pushy.apns.server
-
A push notification handler factory constructs
PushNotificationHandler
instances when a mock APNs server accepts a new connection. - PushNotificationResponse<T> - Interface in com.eatthepath.pushy.apns
-
A response from the APNs gateway indicating whether a notification was accepted or rejected.
- PushType - Enum in com.eatthepath.pushy.apns
-
An enumeration of push notification display types.
R
- RejectedNotificationException - Exception Class in com.eatthepath.pushy.apns.server
-
An exception thrown by
PushNotificationHandler
instances to indicate that a push notification should be rejected by the server. - RejectedNotificationException(RejectionReason) - Constructor for exception class com.eatthepath.pushy.apns.server.RejectedNotificationException
-
Constructs a new rejected notification exception with the given rejection reason and notification identifier.
- RejectionReason - Enum in com.eatthepath.pushy.apns.server
-
An enumeration of reasons a push notification may be rejected by an APNs server.
S
- sanitizeTokenString(String) - Static method in class com.eatthepath.pushy.apns.util.TokenUtil
-
Returns a "sanitized" version of the given token string suitable for sending to an APNs server.
- sendNotification(T) - Method in class com.eatthepath.pushy.apns.ApnsClient
-
Sends a push notification to the APNs gateway.
- SERVICE_UNAVAILABLE - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- setActionButtonLabel(String) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets the literal text of the action button to be shown for the push notification for Safari push notifications only.
- setAlertBody(String) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets the literal text of the alert message to be shown for the push notification.
- setAlertSubtitle(String) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets a subtitle for the notification.
- setAlertTitle(String) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets a short description of the notification purpose.
- setApnsServer(String) - Method in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
Sets the hostname of the server to which the client under construction will connect.
- setApnsServer(String, int) - Method in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
Sets the hostname and port of the server to which the client under construction will connect.
- setAttributes(Map<String, Object>) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets the values of iOS
ContentState
attributes when starting a Live Activity. - setAttributesType(String) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets the type of iOS
ActivityAttributes
used for a Live Activity. - setBadgeNumber(Integer) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets the number to display as the badge of the icon of the application that receives the push notification.
- setCategoryName(String) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets the name of the action category name for interactive remote notifications.
- setClientCredentials(File, String) - Method in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
Sets the TLS credentials for the client under construction using the contents of the given PKCS#12 file.
- setClientCredentials(InputStream, String) - Method in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
Sets the TLS credentials for the client under construction using the data from the given PKCS#12 input stream.
- setClientCredentials(X509Certificate, PrivateKey, String) - Method in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
Sets the TLS credentials for the client under construction.
- setConcurrentConnections(int) - Method in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
Sets the maximum number of concurrent connections the client under construction may attempt to maintain to the APNs server.
- setConnectionTimeout(Duration) - Method in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
Sets the maximum amount of time, in milliseconds, that the client under construction will wait to establish a connection with the APNs server before the connection attempt is considered a failure.
- setContentAvailable(boolean) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets whether the payload under construction should contain a flag that indicates that new content is available to be downloaded in the background by the receiving app.
- setContentState(Map<String, Object>) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets the content state object inside content-state payload for Live Activities.
- setDismissalDate(Instant) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets a dismissal timestamp for Live Activity notifications.
- setEvent(LiveActivityEvent) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets whether the notification payload will be used for updating the Live Activity or for ending it.
- setEventLoopGroup(EventLoopGroup) - Method in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
Sets the event loop group to be used by the client under construction.
- setEventLoopGroup(EventLoopGroup) - Method in class com.eatthepath.pushy.apns.server.BenchmarkApnsServerBuilder
- setEventLoopGroup(EventLoopGroup) - Method in class com.eatthepath.pushy.apns.server.MockApnsServerBuilder
- setFrameLogger(Http2FrameLogger) - Method in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
Sets the HTTP/2 frame logger for the client under construction.
- setGracefulShutdownTimeout(Duration) - Method in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
Sets the amount of time clients should wait for in-progress requests to complete before closing a connection during a graceful shutdown.
- setHandlerFactory(PushNotificationHandlerFactory) - Method in class com.eatthepath.pushy.apns.server.MockApnsServerBuilder
-
Sets the handler factory to be used to construct push notification handlers for the server under construction.
- setHostnameVerificationEnabled(boolean) - Method in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
Enables or disables hostname verification for the client under construction.
- setIdlePingInterval(Duration) - Method in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
Sets the amount of idle time (in milliseconds) after which the client under construction will send a PING frame to the APNs server.
- setInterruptionLevel(InterruptionLevel) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets the interruption level for this notification.
- setLaunchImageFileName(String) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets the image to be shown when the receiving app launches in response to this push notification.
- setListener(MockApnsServerListener) - Method in class com.eatthepath.pushy.apns.server.MockApnsServerBuilder
-
Sets the listener to be notified when notifications are accepted or rejected by the server under construction.
- setLocalizedActionButtonKey(String) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets the key of a string in the receiving app's localized string list to be used as the label of the "action" button if the push notification is displayed as an alert.
- setLocalizedAlertMessage(String, String...) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets the key of a message in the receiving app's localized string list to be shown for the push notification.
- setLocalizedAlertSubtitle(String, String...) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets the key of the subtitle string in the receiving app's localized string list to be shown for the push notification.
- setLocalizedAlertTitle(String, String...) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets the key of the title string in the receiving app's localized string list to be shown for the push notification.
- setMaxConcurrentStreams(int) - Method in class com.eatthepath.pushy.apns.server.BenchmarkApnsServerBuilder
- setMaxConcurrentStreams(int) - Method in class com.eatthepath.pushy.apns.server.MockApnsServerBuilder
- setMetricsListener(ApnsClientMetricsListener) - Method in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
Sets the metrics listener for the client under construction.
- setMutableContent(boolean) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets whether the receiving device may modify the content of the push notification before displaying it.
- setPreferStringRepresentationForAlerts(boolean) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
/** Sets whether this payload builder will attempt to represent alerts as strings when possible.
- setProxyHandlerFactory(ProxyHandlerFactory) - Method in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
Sets the proxy handler factory to be used to construct proxy handlers when establishing a new connection to the APNs gateway.
- setRelevanceScore(Double) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets the relevance score for this notification.
- setServerCredentials(File, File, String) - Method in class com.eatthepath.pushy.apns.server.BenchmarkApnsServerBuilder
- setServerCredentials(File, File, String) - Method in class com.eatthepath.pushy.apns.server.MockApnsServerBuilder
- setServerCredentials(InputStream, InputStream, String) - Method in class com.eatthepath.pushy.apns.server.BenchmarkApnsServerBuilder
- setServerCredentials(InputStream, InputStream, String) - Method in class com.eatthepath.pushy.apns.server.MockApnsServerBuilder
- setServerCredentials(X509Certificate[], PrivateKey, String) - Method in class com.eatthepath.pushy.apns.server.BenchmarkApnsServerBuilder
- setServerCredentials(X509Certificate[], PrivateKey, String) - Method in class com.eatthepath.pushy.apns.server.MockApnsServerBuilder
- setShowActionButton(boolean) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets whether an "action" button should be shown if the push notification is displayed as an alert.
- setSigningKey(ApnsSigningKey) - Method in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
Sets the signing key for the client under construction.
- setSound(String) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets the name of the sound file to play when the push notification is received.
- setSound(String, boolean, double) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets the name of the sound file to play when the push notification is received along with its volume and whether it should be presented as a critical alert.
- setSoundFileName(String) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Deprecated.
- setStaleDate(Instant) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets a "stale" timestamp for Live Activity notification payloads.
- setSummaryArgument(String) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets the summary argument for this notification.
- setSummaryArgumentCount(Integer) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets the summary argument count for this notification.
- setTargetContentId(String) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets the identifier of the window to be brought forward by this notification.
- setThreadId(String) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets the thread ID for this notification.
- setTimestamp(Instant) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets the Live Activity timestamp for the push notification payload.
- setTokenExpiration(Duration) - Method in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
Sets the duration after which authentication tokens should expire and be regenerated from the signing key for clients using token-based authentication.
- setTrustedClientCertificateChain(File) - Method in class com.eatthepath.pushy.apns.server.BenchmarkApnsServerBuilder
- setTrustedClientCertificateChain(File) - Method in class com.eatthepath.pushy.apns.server.MockApnsServerBuilder
- setTrustedClientCertificateChain(InputStream) - Method in class com.eatthepath.pushy.apns.server.BenchmarkApnsServerBuilder
- setTrustedClientCertificateChain(InputStream) - Method in class com.eatthepath.pushy.apns.server.MockApnsServerBuilder
- setTrustedServerCertificateChain(File) - Method in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
Sets the trusted certificate chain for the client under construction using the contents of the given PEM file.
- setTrustedServerCertificateChain(InputStream) - Method in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
Sets the trusted certificate chain for the client under construction using the contents of the given PEM input stream.
- setTrustedServerCertificateChain(X509Certificate...) - Method in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
Sets the trusted certificate chain for the client under construction.
- setTrustedServerCertificateChain(X509Certificate...) - Method in class com.eatthepath.pushy.apns.server.BenchmarkApnsServerBuilder
- setTrustedServerCertificateChain(X509Certificate...) - Method in class com.eatthepath.pushy.apns.server.MockApnsServerBuilder
- setUrlArguments(String...) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets the list of arguments to populate placeholders in the
urlFormatString
associated with a Safari push notification. - setUrlArguments(List<String>) - Method in class com.eatthepath.pushy.apns.util.ApnsPayloadBuilder
-
Sets the list of arguments to populate placeholders in the
urlFormatString
associated with a Safari push notification. - setUseAlpn(boolean) - Method in class com.eatthepath.pushy.apns.ApnsClientBuilder
-
Sets whether this client should perform application-layer protocol negotiation (ALPN) when connecting to an APNs server.
- setUseAlpn(boolean) - Method in class com.eatthepath.pushy.apns.server.BenchmarkApnsServerBuilder
- setUseAlpn(boolean) - Method in class com.eatthepath.pushy.apns.server.MockApnsServerBuilder
- shutdown() - Method in class com.eatthepath.pushy.apns.server.BenchmarkApnsServer
-
Shuts down this server and releases the port to which this server was bound.
- shutdown() - Method in class com.eatthepath.pushy.apns.server.MockApnsServer
-
Shuts down this server and releases the port to which this server was bound.
- SHUTDOWN - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- SimpleApnsPayloadBuilder - Class in com.eatthepath.pushy.apns.util
-
A simple APNs payload builder that serializes payloads using a
JsonSerializer
. - SimpleApnsPayloadBuilder() - Constructor for class com.eatthepath.pushy.apns.util.SimpleApnsPayloadBuilder
- SimpleApnsPushNotification - Class in com.eatthepath.pushy.apns.util
-
A simple and immutable implementation of the
ApnsPushNotification
interface. - SimpleApnsPushNotification(String, String, String) - Constructor for class com.eatthepath.pushy.apns.util.SimpleApnsPushNotification
-
Constructs a new push notification with the given token, topic, and payload.
- SimpleApnsPushNotification(String, String, String, Instant) - Constructor for class com.eatthepath.pushy.apns.util.SimpleApnsPushNotification
-
Constructs a new push notification with the given token, topic, payload, and expiration time.
- SimpleApnsPushNotification(String, String, String, Instant, DeliveryPriority) - Constructor for class com.eatthepath.pushy.apns.util.SimpleApnsPushNotification
-
Constructs a new push notification with the given token, topic, payload, delivery expiration time, and delivery priority.
- SimpleApnsPushNotification(String, String, String, Instant, DeliveryPriority, PushType) - Constructor for class com.eatthepath.pushy.apns.util.SimpleApnsPushNotification
-
Constructs a new push notification with the given token, topic, payload, delivery expiration time, delivery priority, and push notification type.
- SimpleApnsPushNotification(String, String, String, Instant, DeliveryPriority, PushType, String) - Constructor for class com.eatthepath.pushy.apns.util.SimpleApnsPushNotification
-
Constructs a new push notification with the given token, topic, payload, delivery expiration time, delivery priority, push notification type, and "collapse identifier."
- SimpleApnsPushNotification(String, String, String, Instant, DeliveryPriority, PushType, String, UUID) - Constructor for class com.eatthepath.pushy.apns.util.SimpleApnsPushNotification
-
Constructs a new push notification with the given token, topic, payload, delivery expiration time, delivery priority, "collapse identifier," and unique push notification identifier.
- SimpleApnsPushNotification(String, String, String, Instant, DeliveryPriority, String) - Constructor for class com.eatthepath.pushy.apns.util.SimpleApnsPushNotification
-
Constructs a new push notification with the given token, topic, payload, delivery expiration time, delivery priority, and "collapse identifier." No push notification type is specified.
- SimpleApnsPushNotification(String, String, String, Instant, DeliveryPriority, String, UUID) - Constructor for class com.eatthepath.pushy.apns.util.SimpleApnsPushNotification
-
Constructs a new push notification with the given token, topic, payload, delivery expiration time, delivery priority, "collapse identifier," and unique push notification identifier.
- Socks4ProxyHandlerFactory - Class in com.eatthepath.pushy.apns.proxy
-
A concrete
ProxyHandlerFactory
implementation that createsSocks4ProxyHandler
instances. - Socks4ProxyHandlerFactory(SocketAddress) - Constructor for class com.eatthepath.pushy.apns.proxy.Socks4ProxyHandlerFactory
-
Creates a new proxy handler factory that will create SOCKS4 proxy handlers that use the proxy at the given address and that will not perform authentication.
- Socks4ProxyHandlerFactory(SocketAddress, String) - Constructor for class com.eatthepath.pushy.apns.proxy.Socks4ProxyHandlerFactory
-
Creates a new proxy handler factory that will create SOCKS4 proxy handlers that use the proxy at the given address and that will authenticate with the given username.
- Socks5ProxyHandlerFactory - Class in com.eatthepath.pushy.apns.proxy
-
A concrete
ProxyHandlerFactory
implementation that createsSocks5ProxyHandler
instances. - Socks5ProxyHandlerFactory(SocketAddress) - Constructor for class com.eatthepath.pushy.apns.proxy.Socks5ProxyHandlerFactory
-
Creates a new proxy handler factory that will create SOCKS5 proxy handlers that use the proxy at the given address and that will not perform authentication.
- Socks5ProxyHandlerFactory(SocketAddress, String, String) - Constructor for class com.eatthepath.pushy.apns.proxy.Socks5ProxyHandlerFactory
-
Creates a new proxy handler factory that will create SOCKS5 proxy handlers that use the proxy at the given address and that will authenticate with the given username and password.
- start(int) - Method in class com.eatthepath.pushy.apns.server.BenchmarkApnsServer
-
Starts this mock server and listens for traffic on the given port.
- start(int) - Method in class com.eatthepath.pushy.apns.server.MockApnsServer
-
Starts this mock server and listens for traffic on the given port.
- START - Enum constant in enum com.eatthepath.pushy.apns.util.LiveActivityEvent
-
Used to start a Live Activity.
T
- TIME_SENSITIVE - Enum constant in enum com.eatthepath.pushy.apns.util.InterruptionLevel
-
According to Apple's Human Interface Guidelines, a
time-sensitive
notification contains "information that directly impacts the user and requires their immediate attention, like an account security issue or a package delivery." - TokenUtil - Class in com.eatthepath.pushy.apns.util
-
A utility class for processing APNs token strings.
- TOO_MANY_PROVIDER_TOKEN_UPDATES - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- TOO_MANY_REQUESTS - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- TOPIC_DISALLOWED - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- toString() - Method in class com.eatthepath.pushy.apns.auth.AuthenticationToken
-
Returns a Base64-encoded JWT representation of this authentication token.
- toString() - Method in class com.eatthepath.pushy.apns.proxy.HttpProxyHandlerFactory
- toString() - Method in class com.eatthepath.pushy.apns.util.SimpleApnsPushNotification
U
- UNREGISTERED - Enum constant in enum com.eatthepath.pushy.apns.server.RejectionReason
- UnregisteredDeviceTokenException - Exception Class in com.eatthepath.pushy.apns.server
-
An exception thrown by
PushNotificationHandler
instances to indicate that a push notification should be rejected by the server because its destination device token is no longer valid (presumably because the receiving app has been removed from the destination device). - UnregisteredDeviceTokenException(Instant) - Constructor for exception class com.eatthepath.pushy.apns.server.UnregisteredDeviceTokenException
-
Constructs a new unregistered device token exception indicating that the device token expired at the given time.
- UPDATE - Enum constant in enum com.eatthepath.pushy.apns.util.LiveActivityEvent
-
Used to update a Live Activity.
V
- ValidatingPushNotificationHandlerFactory - Class in com.eatthepath.pushy.apns.server
-
A push notification handler factory that constructs handlers that, to the extent possible, perform the same checks and validation steps as a real APNs server.
- ValidatingPushNotificationHandlerFactory(Map<String, Set<String>>, Map<String, Instant>, Map<String, ApnsVerificationKey>, Map<ApnsVerificationKey, Set<String>>) - Constructor for class com.eatthepath.pushy.apns.server.ValidatingPushNotificationHandlerFactory
-
Constructs a new factory for push notification handlers that emulate the behavior of a real APNs server.
- valueOf(String) - Static method in enum com.eatthepath.pushy.apns.DeliveryPriority
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.eatthepath.pushy.apns.PushType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.eatthepath.pushy.apns.server.RejectionReason
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.eatthepath.pushy.apns.util.InterruptionLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.eatthepath.pushy.apns.util.LiveActivityEvent
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.eatthepath.pushy.apns.DeliveryPriority
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.eatthepath.pushy.apns.PushType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.eatthepath.pushy.apns.server.RejectionReason
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.eatthepath.pushy.apns.util.InterruptionLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.eatthepath.pushy.apns.util.LiveActivityEvent
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verifySignature(ApnsVerificationKey) - Method in class com.eatthepath.pushy.apns.auth.AuthenticationToken
-
Verifies the cryptographic signature of this authentication token.
- VOIP - Enum constant in enum com.eatthepath.pushy.apns.PushType
-
Indicates that a push notification is expected to activate the client for handling VoIP flow.
W
- writeJsonText(boolean[], Appendable) - Static method in class com.eatthepath.json.JsonSerializer
-
Writes the given array of
booleans
as a JSON list to the givenAppendable
. - writeJsonText(byte[], Appendable) - Static method in class com.eatthepath.json.JsonSerializer
-
Writes the given array of
bytes
as a JSON list to the givenAppendable
. - writeJsonText(char[], Appendable) - Static method in class com.eatthepath.json.JsonSerializer
-
Writes the given array of characters as a JSON list to the given
Appendable
. - writeJsonText(double[], Appendable) - Static method in class com.eatthepath.json.JsonSerializer
-
Writes the given array of
doubles
as a JSON list to the givenAppendable
. - writeJsonText(float[], Appendable) - Static method in class com.eatthepath.json.JsonSerializer
-
Writes the given array of
floats
as a JSON list to the givenAppendable
. - writeJsonText(int[], Appendable) - Static method in class com.eatthepath.json.JsonSerializer
-
Writes the given array of
ints
as a JSON list to the givenAppendable
. - writeJsonText(long[], Appendable) - Static method in class com.eatthepath.json.JsonSerializer
-
Writes the given array of
longs
as a JSON list to the givenAppendable
. - writeJsonText(short[], Appendable) - Static method in class com.eatthepath.json.JsonSerializer
-
Writes the given array of
shorts
as a JSON list to the givenAppendable
. - writeJsonText(Object[], Appendable) - Static method in class com.eatthepath.json.JsonSerializer
-
Writes the given array of
Objects
as a JSON list to the givenAppendable
. - writeJsonText(Collection<?>, Appendable) - Static method in class com.eatthepath.json.JsonSerializer
-
Writes the given
Collection
as a JSON list to the givenAppendable
. - writeJsonText(Map<?, ?>, Appendable) - Static method in class com.eatthepath.json.JsonSerializer
-
Writes the given
Map
as a JSON object to the givenAppendable
. - writeJsonTextAsString(boolean[]) - Static method in class com.eatthepath.json.JsonSerializer
-
Returns the given array of
booleans
as a JSON string. - writeJsonTextAsString(byte[]) - Static method in class com.eatthepath.json.JsonSerializer
-
Returns the given array of
bytes
as a JSON string. - writeJsonTextAsString(char[]) - Static method in class com.eatthepath.json.JsonSerializer
-
Returns the given array of
chars
as a JSON string. - writeJsonTextAsString(double[]) - Static method in class com.eatthepath.json.JsonSerializer
-
Returns the given array of
doubles
as a JSON string. - writeJsonTextAsString(float[]) - Static method in class com.eatthepath.json.JsonSerializer
-
Returns the given array of
floats
as a JSON string. - writeJsonTextAsString(int[]) - Static method in class com.eatthepath.json.JsonSerializer
-
Returns the given array of
ints
as a JSON string. - writeJsonTextAsString(long[]) - Static method in class com.eatthepath.json.JsonSerializer
-
Returns the given array of
longs
as a JSON string. - writeJsonTextAsString(short[]) - Static method in class com.eatthepath.json.JsonSerializer
-
Returns the given array of
shorts
as a JSON string. - writeJsonTextAsString(Object[]) - Static method in class com.eatthepath.json.JsonSerializer
-
Returns the given array of
Objects
as a JSON string. - writeJsonTextAsString(Collection<?>) - Static method in class com.eatthepath.json.JsonSerializer
-
Returns the given
Collection
as a JSON string. - writeJsonTextAsString(Map<?, ?>) - Static method in class com.eatthepath.json.JsonSerializer
-
Returns the given
Map
as a JSON string.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
ApnsPayloadBuilder.setSound(String)
instead.