public class PushAPISecurity
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_USE_HTTPS |
java.lang.String |
serverCertificate |
boolean |
useHttps |
Constructor and Description |
---|
PushAPISecurity() |
PushAPISecurity(PushAPISecurity o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this PushAPISecurity.
|
static PushAPISecurity |
fromString(java.lang.String s)
String representation of this PushAPISecurity.
|
java.lang.String |
getServerCertificate()
When using HTTPS, name of a sertificate inside the security folder of the data directory.
|
boolean |
isUseHttps()
Secures connection with HTTPS.
|
PushAPISecurity |
makeCopy()
Creates and returns a deep copy of this PushAPISecurity.
|
static PushAPISecurity |
readFrom(java.io.InputStream is)
Read this PushAPISecurity from an XML fragment.
|
void |
setServerCertificate(java.lang.String serverCertificate)
When using HTTPS, name of a sertificate inside the security folder of the data directory.
|
void |
setUseHttps(boolean useHttps)
Secures connection with HTTPS.
|
java.lang.String |
toString()
String representation of this PushAPISecurity.
|
PushAPISecurity |
withServerCertificate(java.lang.String serverCertificate) |
PushAPISecurity |
withUseHttps(boolean useHttps) |
PushAPISecurity |
withUseHttps(java.lang.Boolean useHttps) |
void |
writeTo(java.io.OutputStream os)
Write this PushAPISecurity as an XML fragment
|
public java.lang.String serverCertificate
public boolean useHttps
public static final boolean DEFAULT_USE_HTTPS
public PushAPISecurity()
public PushAPISecurity(PushAPISecurity o)
public void setServerCertificate(java.lang.String serverCertificate)
public java.lang.String getServerCertificate()
public PushAPISecurity withServerCertificate(java.lang.String serverCertificate)
public void setUseHttps(boolean useHttps)
public boolean isUseHttps()
public PushAPISecurity withUseHttps(boolean useHttps)
public PushAPISecurity withUseHttps(java.lang.Boolean useHttps)
public PushAPISecurity makeCopy()
public static PushAPISecurity readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static PushAPISecurity fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.