public class HostAndPort extends Object
| Constructor and Description |
|---|
HostAndPort(String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
format() |
int |
hashCode() |
String |
host() |
String |
hostname()
Deprecated.
Please use
host() instead. |
int |
port() |
String |
toString() |
HostAndPort |
withPort(int port) |
public HostAndPort(String host, int port)
@Deprecated public String hostname()
host() instead.public String host()
public int port()
public HostAndPort withPort(int port)
public String format()
Copyright © 2024 Couchbase, Inc.. All rights reserved.