Skip navigation links
A B C E G I J M N O P S T U V W 

A

alertBody(String) - Method in class com.clevertap.apns.Notification.Builder
 
alertTitle(String) - Method in class com.clevertap.apns.Notification.Builder
 
ApnsClient - Interface in com.clevertap.apns
Interface for general purpose APNS clients.
ApnsClientBuilder - Class in com.clevertap.apns.clients
A builder to build an APNS client.
ApnsClientBuilder() - Constructor for class com.clevertap.apns.clients.ApnsClientBuilder
 
AsyncOkHttpApnsClient - Class in com.clevertap.apns.clients
A wrapper around OkHttp's http client to send out notifications using Apple's HTTP/2 API.
AsyncOkHttpApnsClient(String, String, String, boolean, String, ConnectionPool) - Constructor for class com.clevertap.apns.clients.AsyncOkHttpApnsClient
 
AsyncOkHttpApnsClient(InputStream, String, boolean, String, ConnectionPool) - Constructor for class com.clevertap.apns.clients.AsyncOkHttpApnsClient
 
AsyncOkHttpApnsClient(String, String, String, boolean, String, OkHttpClient.Builder) - Constructor for class com.clevertap.apns.clients.AsyncOkHttpApnsClient
 
AsyncOkHttpApnsClient(String, String, String, boolean, String, OkHttpClient.Builder, int) - Constructor for class com.clevertap.apns.clients.AsyncOkHttpApnsClient
 
AsyncOkHttpApnsClient(InputStream, String, boolean, String, OkHttpClient.Builder) - Constructor for class com.clevertap.apns.clients.AsyncOkHttpApnsClient
 
AsyncOkHttpApnsClient(InputStream, String, boolean, String, OkHttpClient.Builder, int) - Constructor for class com.clevertap.apns.clients.AsyncOkHttpApnsClient
 

B

badge(int) - Method in class com.clevertap.apns.Notification.Builder
 
build() - Method in class com.clevertap.apns.clients.ApnsClientBuilder
 
build() - Method in class com.clevertap.apns.Notification.Builder
Builds the notification.
Builder(String) - Constructor for class com.clevertap.apns.Notification.Builder
Creates a new notification builder.
buildRequest(Notification) - Method in class com.clevertap.apns.clients.SyncOkHttpApnsClient
 

C

category(String) - Method in class com.clevertap.apns.Notification.Builder
 
CertificateEnvironmentMismatchException - Exception in com.clevertap.apns.exceptions
Thrown when a development certificate has been uploaded and the environment has been set to production, or vice versa.
CertificateEnvironmentMismatchException(String) - Constructor for exception com.clevertap.apns.exceptions.CertificateEnvironmentMismatchException
 
CertificateUtils - Class in com.clevertap.apns
Utilities around .p12 certificates.
CertificateUtils() - Constructor for class com.clevertap.apns.CertificateUtils
 
client - Variable in class com.clevertap.apns.clients.SyncOkHttpApnsClient
 
collapseId(String) - Method in class com.clevertap.apns.Notification.Builder
 
com.clevertap.apns - package com.clevertap.apns
 
com.clevertap.apns.clients - package com.clevertap.apns.clients
 
com.clevertap.apns.exceptions - package com.clevertap.apns.exceptions
 
com.clevertap.apns.internal - package com.clevertap.apns.internal
 
Constants - Class in com.clevertap.apns.internal
Internal constants used by this library.
Constants() - Constructor for class com.clevertap.apns.internal.Constants
 
contentAvailable(boolean) - Method in class com.clevertap.apns.Notification.Builder
 
contentAvailable() - Method in class com.clevertap.apns.Notification.Builder
 
createDefaultOkHttpClientBuilder() - Static method in class com.clevertap.apns.clients.ApnsClientBuilder
Creates a default OkHttp client builder that can be customized later and then passed to one of the constructors taking a builder instance.
customField(String, Object) - Method in class com.clevertap.apns.Notification.Builder
 

E

ENDPOINT_PRODUCTION - Static variable in class com.clevertap.apns.internal.Constants
 
ENDPOINT_SANDBOX - Static variable in class com.clevertap.apns.internal.Constants
 
errorCode - Variable in enum com.clevertap.apns.NotificationRequestError
 
expiration(long) - Method in class com.clevertap.apns.Notification.Builder
 

G

get(int) - Static method in enum com.clevertap.apns.NotificationRequestError
 
getCause() - Method in class com.clevertap.apns.NotificationResponse
Returns the throwable from the underlying HttpClient.
getCertificate(InputStream, String) - Static method in class com.clevertap.apns.CertificateUtils
Reads the certificate from the input stream, and returns an instance of X509Certificate.
getCode() - Method in enum com.clevertap.apns.Notification.Priority
 
getCollapseId() - Method in class com.clevertap.apns.Notification
Retrieves the collapseId.
getError() - Method in class com.clevertap.apns.NotificationResponse
Returns the error.
getExpiration() - Method in class com.clevertap.apns.Notification
 
getHttpClient() - Method in interface com.clevertap.apns.ApnsClient
Returns the underlying OkHttpClient instance.
getHttpClient() - Method in class com.clevertap.apns.clients.SyncOkHttpApnsClient
 
getHttpStatusCode() - Method in class com.clevertap.apns.NotificationResponse
Returns the real HTTP status code.
getPayload() - Method in class com.clevertap.apns.Notification
Retrieves the payload.
getPriority() - Method in class com.clevertap.apns.Notification
 
getPushType() - Method in class com.clevertap.apns.Notification
 
getResponseBody() - Method in class com.clevertap.apns.NotificationResponse
Returns the content body (null for a successful response).
getToken(String, String, String) - Static method in class com.clevertap.apns.internal.JWT
Generates a JWT token as per Apple's specifications.
getToken() - Method in class com.clevertap.apns.Notification
Retrieves the token.
getTopic() - Method in class com.clevertap.apns.Notification
Retrieves the topic.
getUuid() - Method in class com.clevertap.apns.Notification
 

I

inAsynchronousMode() - Method in class com.clevertap.apns.clients.ApnsClientBuilder
 
inSynchronousMode() - Method in class com.clevertap.apns.clients.ApnsClientBuilder
 
isSynchronous() - Method in interface com.clevertap.apns.ApnsClient
Checks whether the client supports synchronous operations.
isSynchronous() - Method in class com.clevertap.apns.clients.AsyncOkHttpApnsClient
 
isSynchronous() - Method in class com.clevertap.apns.clients.SyncOkHttpApnsClient
 

J

JWT - Class in com.clevertap.apns.internal
 
JWT() - Constructor for class com.clevertap.apns.internal.JWT
 

M

mutableContent(boolean) - Method in class com.clevertap.apns.Notification.Builder
 
mutableContent() - Method in class com.clevertap.apns.Notification.Builder
 

N

Notification - Class in com.clevertap.apns
An entity containing the payload and the token.
Notification(String, String, String, String, long, Notification.Priority, UUID, String) - Constructor for class com.clevertap.apns.Notification
Constructs a new Notification with a payload and token.
Notification.Builder - Class in com.clevertap.apns
Builds a notification to be sent to APNS.
Notification.Priority - Enum in com.clevertap.apns
 
NotificationRequestError - Enum in com.clevertap.apns
A collection of all the HTTP status codes returned by Apple.
NotificationResponse - Class in com.clevertap.apns
A wrapper around possible responses from the push gateway.
NotificationResponse(NotificationRequestError, int, String, Throwable) - Constructor for class com.clevertap.apns.NotificationResponse
 
NotificationResponseListener - Interface in com.clevertap.apns
An interface for handling responses to notification requests.

O

onFailure(Notification, NotificationResponse) - Method in interface com.clevertap.apns.NotificationResponseListener
Signals a failed notification.
onSuccess(Notification) - Method in interface com.clevertap.apns.NotificationResponseListener
Signals a successful notification.

P

parseResponse(Response) - Method in class com.clevertap.apns.clients.SyncOkHttpApnsClient
 
priority(Notification.Priority) - Method in class com.clevertap.apns.Notification.Builder
 
push(Notification, NotificationResponseListener) - Method in interface com.clevertap.apns.ApnsClient
Sends a notification asynchronously to the Apple Push Notification Service.
push(Notification) - Method in interface com.clevertap.apns.ApnsClient
Sends a notification synchronously to the Apple Push Notification Service.
push(Notification) - Method in class com.clevertap.apns.clients.AsyncOkHttpApnsClient
 
push(Notification, NotificationResponseListener) - Method in class com.clevertap.apns.clients.AsyncOkHttpApnsClient
 
push(Notification, NotificationResponseListener) - Method in class com.clevertap.apns.clients.SyncOkHttpApnsClient
 
push(Notification) - Method in class com.clevertap.apns.clients.SyncOkHttpApnsClient
 
pushType(String) - Method in class com.clevertap.apns.Notification.Builder
 

S

size() - Method in class com.clevertap.apns.Notification.Builder
 
sound(String) - Method in class com.clevertap.apns.Notification.Builder
 
splitCertificateSubject(InputStream, String) - Static method in class com.clevertap.apns.CertificateUtils
Split the subject into it's components such as UID, C, OU, CN.
splitCertificateSubject(String) - Static method in class com.clevertap.apns.CertificateUtils
Split the subject into it's components such as UID, C, OU, DN.
SyncOkHttpApnsClient - Class in com.clevertap.apns.clients
A wrapper around OkHttp's http client to send out notifications using Apple's HTTP/2 API.
SyncOkHttpApnsClient(String, String, String, boolean, String, OkHttpClient.Builder) - Constructor for class com.clevertap.apns.clients.SyncOkHttpApnsClient
Creates a new client which uses token authentication API.
SyncOkHttpApnsClient(String, String, String, boolean, String, OkHttpClient.Builder, int) - Constructor for class com.clevertap.apns.clients.SyncOkHttpApnsClient
Creates a new client which uses token authentication API.
SyncOkHttpApnsClient(String, String, String, boolean, String, ConnectionPool) - Constructor for class com.clevertap.apns.clients.SyncOkHttpApnsClient
Creates a new client which uses token authentication API.
SyncOkHttpApnsClient(InputStream, String, boolean, String, OkHttpClient.Builder) - Constructor for class com.clevertap.apns.clients.SyncOkHttpApnsClient
Creates a new client and automatically loads the key store with the push certificate read from the input stream.
SyncOkHttpApnsClient(InputStream, String, boolean, String, OkHttpClient.Builder, int) - Constructor for class com.clevertap.apns.clients.SyncOkHttpApnsClient
Creates a new client and automatically loads the key store with the push certificate read from the input stream.
SyncOkHttpApnsClient(InputStream, String, boolean, String, ConnectionPool) - Constructor for class com.clevertap.apns.clients.SyncOkHttpApnsClient
Creates a new client and automatically loads the key store with the push certificate read from the input stream.

T

topic(String) - Method in class com.clevertap.apns.Notification.Builder
 
toString() - Method in class com.clevertap.apns.NotificationResponse
 

U

UTF_8 - Static variable in class com.clevertap.apns.internal.Constants
 
uuid(UUID) - Method in class com.clevertap.apns.Notification.Builder
 

V

validateCertificate(boolean, X509Certificate) - Static method in class com.clevertap.apns.CertificateUtils
Checks a certificate for it's validity, as well as that it's a push certificate.
valueOf(String) - Static method in enum com.clevertap.apns.Notification.Priority
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.clevertap.apns.NotificationRequestError
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.clevertap.apns.Notification.Priority
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.clevertap.apns.NotificationRequestError
Returns an array containing the constants of this enum type, in the order they are declared.

W

withApnsAuthKey(String) - Method in class com.clevertap.apns.clients.ApnsClientBuilder
 
withCertificate(InputStream) - Method in class com.clevertap.apns.clients.ApnsClientBuilder
 
withConnectionPool(ConnectionPool) - Method in class com.clevertap.apns.clients.ApnsClientBuilder
 
withDefaultTopic(String) - Method in class com.clevertap.apns.clients.ApnsClientBuilder
 
withDevelopmentGateway() - Method in class com.clevertap.apns.clients.ApnsClientBuilder
 
withKeyID(String) - Method in class com.clevertap.apns.clients.ApnsClientBuilder
 
withOkHttpClientBuilder(OkHttpClient.Builder) - Method in class com.clevertap.apns.clients.ApnsClientBuilder
Replaces the default OkHttp client builder with this one.
withPassword(String) - Method in class com.clevertap.apns.clients.ApnsClientBuilder
 
withPort(int) - Method in class com.clevertap.apns.clients.ApnsClientBuilder
APNs supports connections over ports 443 and 2197.
withProductionGateway() - Method in class com.clevertap.apns.clients.ApnsClientBuilder
 
withProductionGateway(boolean) - Method in class com.clevertap.apns.clients.ApnsClientBuilder
 
withTeamID(String) - Method in class com.clevertap.apns.clients.ApnsClientBuilder
 
A B C E G I J M N O P S T U V W 
Skip navigation links

Copyright © 2020. All Rights Reserved.