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