public class Address extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static Address |
from(String hostAndPort) |
String |
getHost() |
int |
getPort() |
int |
hashCode() |
InetSocketAddress |
toSocketAddress() |
String |
toString() |
public Address(String host, int port)
public String getHost()
public int getPort()
public InetSocketAddress toSocketAddress()
Copyright © 1995–2014 Mort Bay Consulting. All rights reserved.