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() |
String |
formatHost() |
int |
hashCode() |
String |
host() |
int |
port() |
String |
toString() |
HostAndPort |
withPort(int port) |
public HostAndPort(String host, int port)
public String host()
public int port()
public HostAndPort withPort(int port)
public String format()
public String formatHost()
Copyright © 2021 Couchbase, Inc.. All rights reserved.