org.infinispan.client.rest.configuration.ServerConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinispan-client-rest-jakarta Show documentation
Show all versions of infinispan-client-rest-jakarta Show documentation
Infinispan REST Client Jakarta
package org.infinispan.client.rest.configuration;
/**
* ServerConfiguration.
*
* @author Tristan Tarrant
* @since 10.0
*/
public class ServerConfiguration {
private final String host;
private final int port;
ServerConfiguration(String host, int port) {
this.host = host;
this.port = port;
}
public String host() {
return host;
}
public int port() {
return port;
}
@Override
public String toString() {
return "ServerConfiguration[" +
"host='" + host + '\'' +
", port=" + port +
']';
}
}