Class SocketAddressDTO
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.serialization.model.SocketAddressDTO
-
- All Implemented Interfaces:
DTO<SocketAddress>
public class SocketAddressDTO extends ObjectWithReflectiveEqualsHashCodeToString implements DTO<SocketAddress>
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description SocketAddressDTO()
SocketAddressDTO(SocketAddress socketAddress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SocketAddress
buildObject()
String
getHost()
Integer
getPort()
SocketAddress.Scheme
getScheme()
SocketAddressDTO
setHost(String host)
SocketAddressDTO
setPort(Integer port)
SocketAddressDTO
setScheme(SocketAddress.Scheme scheme)
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, key, toString
-
-
-
-
Constructor Detail
-
SocketAddressDTO
public SocketAddressDTO(SocketAddress socketAddress)
-
SocketAddressDTO
public SocketAddressDTO()
-
-
Method Detail
-
buildObject
public SocketAddress buildObject()
- Specified by:
buildObject
in interfaceDTO<SocketAddress>
-
getHost
public String getHost()
-
setHost
public SocketAddressDTO setHost(String host)
-
getPort
public Integer getPort()
-
setPort
public SocketAddressDTO setPort(Integer port)
-
getScheme
public SocketAddress.Scheme getScheme()
-
setScheme
public SocketAddressDTO setScheme(SocketAddress.Scheme scheme)
-
-