Class ApnsService.Builder

  • Enclosing class:
    ApnsService

    public static class ApnsService.Builder
    extends java.lang.Object
    • Method Detail

      • withCert

        public ApnsService.Builder withCert​(java.lang.String certificatePath,
                                            java.lang.String base64certificate,
                                            java.lang.String certificatePassword)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • 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
      • build

        public ApnsService build()
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • withBase64Cert

        public ApnsService.Builder withBase64Cert​(java.lang.String base64certificate,
                                                  java.lang.String certificatePassword)
                                           throws java.io.IOException
        Throws:
        java.io.IOException