Public Member Functions | |
PushService () | |
PushService (String gcmApiKey) | |
PushService (KeyPair keyPair) | |
PushService (KeyPair keyPair, String subject) | |
PushService (String publicKey, String privateKey) throws GeneralSecurityException | |
PushService (String publicKey, String privateKey, String subject) throws GeneralSecurityException | |
HttpResponse | send (Notification notification) throws GeneralSecurityException, IOException, JoseException, ExecutionException, InterruptedException |
HttpResponse | send (Notification notification, Encoding encoding) throws GeneralSecurityException, IOException, JoseException |
HttpPost | preparePost (Notification notification, Encoding encoding) throws GeneralSecurityException, IOException, JoseException |
void | sendAsync (Notification notification, Consumer< SimpleHttpResponse > completed, Consumer< Exception > failed, Runnable cancelled) throws GeneralSecurityException, IOException, JoseException, ExecutionException, InterruptedException |
void | sendAsync (Notification notification, Encoding encoding, Consumer< SimpleHttpResponse > completed, Consumer< Exception > failed, Runnable cancelled) throws GeneralSecurityException, IOException, JoseException |
SimpleHttpRequest | prepareAsyncPost (Notification notification, Encoding encoding) throws GeneralSecurityException, IOException, JoseException |
Definition at line 45 of file PushService.java.
org.turro.push.service.PushService.PushService | ( | ) |
Definition at line 47 of file PushService.java.
org.turro.push.service.PushService.PushService | ( | String | gcmApiKey | ) |
Definition at line 50 of file PushService.java.
org.turro.push.service.PushService.PushService | ( | KeyPair | keyPair | ) |
Definition at line 54 of file PushService.java.
org.turro.push.service.PushService.PushService | ( | KeyPair | keyPair, |
String | subject | ||
) |
Definition at line 58 of file PushService.java.
org.turro.push.service.PushService.PushService | ( | String | publicKey, |
String | privateKey | ||
) | throws GeneralSecurityException |
Definition at line 62 of file PushService.java.
org.turro.push.service.PushService.PushService | ( | String | publicKey, |
String | privateKey, | ||
String | subject | ||
) | throws GeneralSecurityException |
Definition at line 66 of file PushService.java.
SimpleHttpRequest org.turro.push.service.PushService.prepareAsyncPost | ( | Notification | notification, |
Encoding | encoding | ||
) | throws GeneralSecurityException, IOException, JoseException |
Definition at line 122 of file PushService.java.
HttpPost org.turro.push.service.PushService.preparePost | ( | Notification | notification, |
Encoding | encoding | ||
) | throws GeneralSecurityException, IOException, JoseException |
Definition at line 81 of file PushService.java.
HttpResponse org.turro.push.service.PushService.send | ( | Notification | notification | ) | throws GeneralSecurityException, IOException, JoseException, ExecutionException, InterruptedException |
Definition at line 70 of file PushService.java.
HttpResponse org.turro.push.service.PushService.send | ( | Notification | notification, |
Encoding | encoding | ||
) | throws GeneralSecurityException, IOException, JoseException |
Definition at line 74 of file PushService.java.
void org.turro.push.service.PushService.sendAsync | ( | Notification | notification, |
Consumer< SimpleHttpResponse > | completed, | ||
Consumer< Exception > | failed, | ||
Runnable | cancelled | ||
) | throws GeneralSecurityException, IOException, JoseException, ExecutionException, InterruptedException |
Definition at line 91 of file PushService.java.
void org.turro.push.service.PushService.sendAsync | ( | Notification | notification, |
Encoding | encoding, | ||
Consumer< SimpleHttpResponse > | completed, | ||
Consumer< Exception > | failed, | ||
Runnable | cancelled | ||
) | throws GeneralSecurityException, IOException, JoseException |
Definition at line 96 of file PushService.java.