public class iOSApplicationUploadForm extends Object
| Constructor and Description |
|---|
iOSApplicationUploadForm() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getCertificate() |
String |
getDescription() |
String |
getName() |
String |
getPassphrase() |
Boolean |
getProduction() |
boolean |
isCertificatePassphraseValid()
Validates whether the certificate/passphrase pair
is valid, and does not contain any bogus content.
|
void |
setCertificate(byte[] data)
Reads the certificate file upload from the multipart request.
|
void |
setDescription(String description)
Reads the description field from the multipart request.
|
void |
setName(String name)
Reads the name field from the multipart request.
|
void |
setPassphrase(String passphrase)
Reads the passphrase field from the multipart request.
|
void |
setProduction(Boolean production)
Reads the boolean flag from the multipart request,
which indicates if the iOS variant is a 'production' variant or not.
|
public Boolean getProduction()
public void setProduction(Boolean production)
iOSVariant model differentiates between production and test
in order to establish connections to different APNs Servers.public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public String getPassphrase()
public void setPassphrase(String passphrase)
public byte[] getCertificate()
public void setCertificate(byte[] data)
@AssertTrue(message="the provided certificate passphrase does not match with the uploaded certificate") public boolean isCertificatePassphraseValid()
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.