public interface ClientConfiguration
Modifier and Type | Method and Description |
---|---|
String |
getServerHost()
Must return the value of a 'serverHost' attribute
|
int |
getServerPort()
Must return the value of a 'serverPort' attribute
|
boolean |
isSecure()
Must return the value of a 'secure' attribute
|
ClientConfiguration |
setServerHost(String serverHost) |
ClientConfiguration |
setServerPort(int serverPort) |
String getServerHost()
int getServerPort()
ClientConfiguration setServerPort(int serverPort)
serverPort
- the server portIllegalArgumentException
- if serverPort <= 0ClientConfiguration setServerHost(String serverHost)
serverHost
- the server hostIllegalArgumentException
- if serverHost is null or emptyboolean isSecure()
Copyright © 2018 Vitam. All rights reserved.