Uses of Class
com.eatthepath.pushy.apns.server.MockApnsServerBuilder
Packages that use MockApnsServerBuilder
Package
Description
Contains classes and interfaces for working with mock APNs servers.
-
Uses of MockApnsServerBuilder in com.eatthepath.pushy.apns.server
Methods in com.eatthepath.pushy.apns.server that return MockApnsServerBuilderModifier and TypeMethodDescriptionMockApnsServerBuilder.generateApnsUniqueId(boolean generateApnsUniqueId) MockApnsServerBuilder.setEventLoopGroup(EventLoopGroup eventLoopGroup) MockApnsServerBuilder.setHandlerFactory(PushNotificationHandlerFactory handlerFactory) Sets the handler factory to be used to construct push notification handlers for the server under construction.MockApnsServerBuilder.setListener(MockApnsServerListener listener) Sets the listener to be notified when notifications are accepted or rejected by the server under construction.MockApnsServerBuilder.setMaxConcurrentStreams(int maxConcurrentStreams) MockApnsServerBuilder.setServerCredentials(File certificatePemFile, File privateKeyPkcs8File, String privateKeyPassword) MockApnsServerBuilder.setServerCredentials(InputStream certificatePemInputStream, InputStream privateKeyPkcs8InputStream, String privateKeyPassword) MockApnsServerBuilder.setServerCredentials(X509Certificate[] certificates, PrivateKey privateKey, String privateKeyPassword) MockApnsServerBuilder.setTrustedClientCertificateChain(File certificatePemFile) MockApnsServerBuilder.setTrustedClientCertificateChain(InputStream certificateInputStream) MockApnsServerBuilder.setTrustedServerCertificateChain(X509Certificate... certificates) MockApnsServerBuilder.setUseAlpn(boolean useAlpn)