Package | Description |
---|---|
com.relayrides.pushy.apns |
Contains classes and interfaces for interacting with the Apple Push Notification service (APNs).
|
Modifier and Type | Method and Description |
---|---|
MockApnsServerBuilder |
MockApnsServerBuilder.setEmulateInternalErrors(boolean emulateInternalErrors)
Sets whether the server under construction should respond to all notifications with an internal server error.
|
MockApnsServerBuilder |
MockApnsServerBuilder.setEventLoopGroup(EventLoopGroup eventLoopGroup)
Sets the event loop group to be used 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.setSslProvider(SslProvider sslProvider)
Sets the SSL provider to be used by the mock server.
|
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–2016 Turo. All rights reserved.