play.server.ServerAddress Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of framework Show documentation
Show all versions of framework Show documentation
RePlay is a fork of the Play1 framework, created by Codeborne.
package play.server;
import javax.annotation.ParametersAreNonnullByDefault;
@ParametersAreNonnullByDefault
public class ServerAddress {
public final String domain;
public final int port;
public final String host;
ServerAddress(String domain, int port, String host) {
this.host = host;
this.port = port;
this.domain = domain;
}
@Override
public String toString() {
return String.format("%s:%s", domain, port);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy