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