Package org.syncany.config.to
Class WebServerTO
- java.lang.Object
-
- org.syncany.config.to.WebServerTO
-
public class WebServerTO extends java.lang.Object
This class is the access object to configure the local daemon web server. It mainly defines whether to enable/disable the server, its bind port and IP address, as well as which certificates and key pairs to use.It uses the Simple framework for XML serialization, and its corresponding annotation-based configuration.
- See Also:
- Simple framework
-
-
Constructor Summary
Constructors Constructor Description WebServerTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBindAddress()
int
getBindPort()
java.lang.String
getCertificateCommonName()
boolean
isCertificateAutoGenerate()
boolean
isEnabled()
void
setBindPort(int port)
-
-
-
Constructor Detail
-
WebServerTO
public WebServerTO()
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
-
getBindAddress
public java.lang.String getBindAddress()
-
getBindPort
public int getBindPort()
-
setBindPort
public void setBindPort(int port)
-
isCertificateAutoGenerate
public boolean isCertificateAutoGenerate()
-
getCertificateCommonName
public java.lang.String getCertificateCommonName()
-
-