public interface HostAndPort
Modifier and Type | Method and Description |
---|---|
static HostAndPort |
create(String host,
int port)
Create an instance.
|
String |
host() |
int |
port() |
static HostAndPort create(String host, int port)
host
- the host valueport
- the port valueString host()
int port()
Copyright © 2024 Eclipse. All rights reserved.