public class AcceptAllPushNotificationHandlerFactory extends Object implements PushNotificationHandlerFactory
MockApnsServerBuilder.setHandlerFactory(PushNotificationHandlerFactory)| Constructor and Description |
|---|
AcceptAllPushNotificationHandlerFactory() |
| Modifier and Type | Method and Description |
|---|---|
PushNotificationHandler |
buildHandler(SSLSession sslSession)
Constructs a new push notification handler that unconditionally accepts all push notifications.
|
public AcceptAllPushNotificationHandlerFactory()
public PushNotificationHandler buildHandler(SSLSession sslSession)
buildHandler in interface PushNotificationHandlerFactorysslSession - the SSL session associated with the channel for which this handler will handle notificationsCopyright © 2013–2018 Turo. All rights reserved.