All Classes

Class Description
AcceptAllPushNotificationHandlerFactory
A factory for push notification handlers that unconditionally accept all push notifications.
ApnsClient
An APNs client sends push notifications to the APNs gateway.
ApnsClientBuilder
An ApnsClientBuilder constructs new ApnsClient instances.
ApnsClientMetricsListener
A metrics listener receives events from an ApnsClient that can be used to measure the performance and behavior of the client.
ApnsPayloadBuilder
A base utility class for constructing JSON payloads suitable for inclusion in APNs push notifications.
ApnsPushNotification
A push notification that can be sent through the Apple Push Notification service (APNs).
ApnsSigningKey
A private key used to sign authentication tokens.
ApnsVerificationKey
A public key used to verify authentication tokens.
AuthenticationToken
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.
BenchmarkApnsServer
A simple HTTP/2 server designed to crudely emulate the behavior of a real APNs server as simply and quickly as possible.
BenchmarkApnsServerBuilder
A BenchmarkApnsServerBuilder constructs new BenchmarkApnsServer instances.
DeliveryPriority
An enumeration of delivery priorities for APNs push notifications.
HttpProxyHandlerFactory
A concrete ProxyHandlerFactory implementation that creates HttpProxyHandler instances.
JsonParser
An extremely simple JSON parser that interprets JSON objects as Java primitives.
JsonSerializer
A JSON serializer is responsible for producing complete and legal JSON texts (objects or arrays).
MockApnsServer
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
A MockApnsServerBuilder constructs new MockApnsServer instances.
MockApnsServerListener
Mock APNs server listeners are notified when push notifications are accepted or rejected by a MockApnsServer.
ParsingMockApnsServerListenerAdapter
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.
ProxyHandlerFactory
A proxy handler factory creates proxy handlers for use in an ApnsClient's pipeline.
PushNotificationFuture<P extends ApnsPushNotification,​V>
A push notification future represents the result an asynchronous operation on a ApnsPushNotification.
PushNotificationHandler
Push notification handlers process push notifications sent to a MockApnsServer and decide how the server should respond to those notifications.
PushNotificationHandlerFactory
A push notification handler factory constructs PushNotificationHandler instances when a mock APNs server accepts a new connection.
PushNotificationResponse<T extends ApnsPushNotification>
A response from the APNs gateway indicating whether a notification was accepted or rejected.
PushType
An enumeration of push notification display types.
RejectedNotificationException
An exception thrown by PushNotificationHandler instances to indicate that a push notification should be rejected by the server.
RejectionReason
An enumeration of reasons a push notification may be rejected by an APNs server.
SimpleApnsPayloadBuilder
A simple APNs payload builder that serializes payloads using a JsonSerializer.
SimpleApnsPushNotification
A simple and immutable implementation of the ApnsPushNotification interface.
Socks4ProxyHandlerFactory
A concrete ProxyHandlerFactory implementation that creates Socks4ProxyHandler instances.
Socks5ProxyHandlerFactory
A concrete ProxyHandlerFactory implementation that creates Socks5ProxyHandler instances.
TokenUtil
A utility class for processing APNs token strings.
UnregisteredDeviceTokenException
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).
ValidatingPushNotificationHandlerFactory
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.