public class SocketAddressDTO extends ObjectWithReflectiveEqualsHashCodeToString implements DTO<SocketAddress>
Constructor and Description |
---|
SocketAddressDTO() |
SocketAddressDTO(SocketAddress socketAddress) |
Modifier and Type | Method and Description |
---|---|
SocketAddress |
buildObject() |
String |
getHost() |
Integer |
getPort() |
SocketAddress.Scheme |
getScheme() |
SocketAddressDTO |
setHost(String host) |
SocketAddressDTO |
setPort(Integer port) |
SocketAddressDTO |
setScheme(SocketAddress.Scheme scheme) |
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, toString
public SocketAddressDTO(SocketAddress socketAddress)
public SocketAddressDTO()
public SocketAddress buildObject()
buildObject
in interface DTO<SocketAddress>
public String getHost()
public SocketAddressDTO setHost(String host)
public Integer getPort()
public SocketAddressDTO setPort(Integer port)
public SocketAddress.Scheme getScheme()
public SocketAddressDTO setScheme(SocketAddress.Scheme scheme)
Copyright © 2020. All rights reserved.