Package com.eatthepath.pushy.apns.server
Class AcceptAllPushNotificationHandlerFactory
- java.lang.Object
-
- com.eatthepath.pushy.apns.server.AcceptAllPushNotificationHandlerFactory
-
- All Implemented Interfaces:
PushNotificationHandlerFactory
public class AcceptAllPushNotificationHandlerFactory extends Object implements PushNotificationHandlerFactory
A factory for push notification handlers that unconditionally accept all push notifications.- Since:
- 0.12
- Author:
- Jon Chambers
- See Also:
MockApnsServerBuilder.setHandlerFactory(PushNotificationHandlerFactory)
-
-
Constructor Summary
Constructors Constructor Description AcceptAllPushNotificationHandlerFactory()
-
Method Summary
Modifier and Type Method Description PushNotificationHandler
buildHandler(SSLSession sslSession)
Constructs a new push notification handler that unconditionally accepts all push notifications.
-
-
-
Method Detail
-
buildHandler
public PushNotificationHandler buildHandler(SSLSession sslSession)
Constructs a new push notification handler that unconditionally accepts all push notifications.- Specified by:
buildHandler
in interfacePushNotificationHandlerFactory
- Parameters:
sslSession
- the SSL session associated with the channel for which this handler will handle notifications- Returns:
- a new "accept everything" push notification handler
-
-