Package tigase.push.apns
Class ApnsService.Builder
- java.lang.Object
-
- tigase.push.apns.ApnsService.Builder
-
- Enclosing class:
- ApnsService
public static class ApnsService.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApnsServicebuild()ApnsService.BuilderwithAppleDestination(boolean value)ApnsService.BuilderwithCert(InputStream is, String certPass)ApnsService.BuilderwithCert(String certPath, String certPass)ApnsService.BuilderwithCertificateKeyStore(KeyStore keyStore, String keyStorePassword)ApnsService.BuilderwithDelegate(ApnsDelegate delegate)
-
-
-
Method Detail
-
withAppleDestination
public ApnsService.Builder withAppleDestination(boolean value)
-
withCert
public ApnsService.Builder withCert(String certPath, String certPass) throws IOException
- Throws:
IOException
-
withCert
public ApnsService.Builder withCert(InputStream is, String certPass) throws IOException
- Throws:
IOException
-
withCertificateKeyStore
public ApnsService.Builder withCertificateKeyStore(KeyStore keyStore, String keyStorePassword) throws IOException
- Throws:
IOException
-
withDelegate
public ApnsService.Builder withDelegate(ApnsDelegate delegate)
-
build
public ApnsService build() throws IOException
- Throws:
IOException
-
-