Skip to content
Igor Balos edited this page Nov 9, 2017 · 2 revisions

Retrieve server:

// retrieve server
Server server = client.getServer();
String name = server.getName();

Update server details:

// update server
Server serverData = new Server();
serverData.setName("new name");
Server response = client.setServer(serverData);