Uses of Package
com.eatthepath.pushy.apns.server
Package
Description
Contains classes and interfaces for working with mock APNs servers.
-
ClassDescriptionA simple HTTP/2 server designed to crudely emulate the behavior of a real APNs server as simply and quickly as possible.A
BenchmarkApnsServerBuilder
constructs newBenchmarkApnsServer
instances.A mock APNs server is an HTTP/2 server that can be configured to respond to APNs push notifications with a variety of behaviors.AMockApnsServerBuilder
constructs newMockApnsServer
instances.Mock APNs server listeners are notified when push notifications are accepted or rejected by aMockApnsServer
.Push notification handlers process push notifications sent to aMockApnsServer
and decide how the server should respond to those notifications.A push notification handler factory constructsPushNotificationHandler
instances when a mock APNs server accepts a new connection.An exception thrown byPushNotificationHandler
instances to indicate that a push notification should be rejected by the server.An enumeration of reasons a push notification may be rejected by an APNs server.