ApnsClientBuilder |
ApnsClientBuilder.setApnsServer(String hostname) |
Sets the hostname of the server to which the client under construction will connect.
|
ApnsClientBuilder |
ApnsClientBuilder.setApnsServer(String hostname,
int port) |
Sets the hostname and port of the server to which the client under construction will connect.
|
ApnsClientBuilder |
ApnsClientBuilder.setClientCredentials(File p12File,
String p12Password) |
Sets the TLS credentials for the client under construction using the contents of the given PKCS#12 file.
|
ApnsClientBuilder |
ApnsClientBuilder.setClientCredentials(InputStream p12InputStream,
String p12Password) |
Sets the TLS credentials for the client under construction using the data from the given PKCS#12 input stream.
|
ApnsClientBuilder |
ApnsClientBuilder.setClientCredentials(X509Certificate clientCertificate,
PrivateKey privateKey,
String privateKeyPassword) |
Sets the TLS credentials for the client under construction.
|
ApnsClientBuilder |
ApnsClientBuilder.setConcurrentConnections(int concurrentConnections) |
Sets the maximum number of concurrent connections the client under construction may attempt to maintain to the
APNs server.
|
ApnsClientBuilder |
ApnsClientBuilder.setConnectionTimeout(long connectionTimeout,
TimeUnit timeoutUnit) |
Sets the maximum amount of time, in milliseconds, that the client under construction will wait to establish a
connection with the APNs server before the connection attempt is considered a failure.
|
ApnsClientBuilder |
ApnsClientBuilder.setEventLoopGroup(EventLoopGroup eventLoopGroup) |
Sets the event loop group to be used by the client under construction.
|
ApnsClientBuilder |
ApnsClientBuilder.setFrameLogger(Http2FrameLogger frameLogger) |
Sets the HTTP/2 frame logger for the client under construction.
|
ApnsClientBuilder |
ApnsClientBuilder.setGracefulShutdownTimeout(long gracefulShutdownTimeout,
TimeUnit timeoutUnit) |
Sets the amount of time clients should wait for in-progress requests to complete before closing a connection
during a graceful shutdown.
|
ApnsClientBuilder |
ApnsClientBuilder.setIdlePingInterval(long pingInterval,
TimeUnit pingIntervalUnit) |
Sets the amount of idle time (in milliseconds) after which the client under construction will send a PING frame
to the APNs server.
|
ApnsClientBuilder |
ApnsClientBuilder.setMetricsListener(ApnsClientMetricsListener metricsListener) |
Sets the metrics listener for the client under construction.
|
ApnsClientBuilder |
ApnsClientBuilder.setProxyHandlerFactory(ProxyHandlerFactory proxyHandlerFactory) |
Sets the proxy handler factory to be used to construct proxy handlers when establishing a new connection to the
APNs gateway.
|
ApnsClientBuilder |
ApnsClientBuilder.setSigningKey(ApnsSigningKey signingKey) |
Sets the signing key for the client under construction.
|
ApnsClientBuilder |
ApnsClientBuilder.setTokenExpiration(long duration,
TimeUnit timeUnit) |
Sets the duration after which authentication tokens should expire and be regenerated from the signing key for
clients using token-based authentication.
|
ApnsClientBuilder |
ApnsClientBuilder.setTrustedServerCertificateChain(File certificatePemFile) |
Sets the trusted certificate chain for the client under construction using the contents of the given PEM
file.
|
ApnsClientBuilder |
ApnsClientBuilder.setTrustedServerCertificateChain(InputStream certificateInputStream) |
Sets the trusted certificate chain for the client under construction using the contents of the given PEM
input stream.
|
ApnsClientBuilder |
ApnsClientBuilder.setTrustedServerCertificateChain(X509Certificate... certificates) |
Sets the trusted certificate chain for the client under construction.
|