Package | Description |
---|---|
com.turo.pushy.apns.server |
Contains classes and interfaces for working with mock APNs servers.
|
Modifier and Type | Method and Description |
---|---|
MockApnsServerBuilder |
MockApnsServerBuilder.setEventLoopGroup(EventLoopGroup eventLoopGroup)
Sets the event loop group to be used by the server under construction.
|
MockApnsServerBuilder |
MockApnsServerBuilder.setHandlerFactory(PushNotificationHandlerFactory handlerFactory)
Sets the handler factory to be used to construct push notification handlers for the server under construction.
|
MockApnsServerBuilder |
MockApnsServerBuilder.setListener(MockApnsServerListener listener)
Sets the listener to be notified when notifications are accepted or rejected by the server under construction.
|
MockApnsServerBuilder |
MockApnsServerBuilder.setMaxConcurrentStreams(int maxConcurrentStreams)
Sets the maximum number of concurrent HTTP/2 streams allowed by the server under construction.
|
MockApnsServerBuilder |
MockApnsServerBuilder.setServerCredentials(File certificatePemFile,
File privateKeyPkcs8File,
String privateKeyPassword)
Sets the credentials for the server under construction using the certificates in the given PEM file and the
private key in the given PKCS#8 file.
|
MockApnsServerBuilder |
MockApnsServerBuilder.setServerCredentials(InputStream certificatePemInputStream,
InputStream privateKeyPkcs8InputStream,
String privateKeyPassword)
Sets the credentials for the server under construction using the certificates in the given PEM input stream
and the private key in the given PKCS#8 input stream.
|
MockApnsServerBuilder |
MockApnsServerBuilder.setServerCredentials(X509Certificate[] certificates,
PrivateKey privateKey,
String privateKeyPassword)
Sets the credentials for the server under construction.
|
MockApnsServerBuilder |
MockApnsServerBuilder.setTrustedClientCertificateChain(File certificatePemFile)
Sets the trusted certificate chain for the server under construction using the contents of the given PEM
file.
|
MockApnsServerBuilder |
MockApnsServerBuilder.setTrustedClientCertificateChain(InputStream certificateInputStream)
Sets the trusted certificate chain for the server under construction using the contents of the given PEM
input stream.
|
MockApnsServerBuilder |
MockApnsServerBuilder.setTrustedServerCertificateChain(X509Certificate... certificates)
Sets the trusted certificate chain for the server under construction.
|
Copyright © 2013–2018 Turo. All rights reserved.