Class HttpErrorDTO
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.serialization.model.HttpErrorDTO
-
public class HttpErrorDTO extends ObjectWithReflectiveEqualsHashCodeToString implements DTO<HttpError>
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description HttpErrorDTO()
HttpErrorDTO(HttpError httpError)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpError
buildObject()
DelayDTO
getDelay()
Boolean
getDropConnection()
byte[]
getResponseBytes()
HttpErrorDTO
setDelay(DelayDTO host)
HttpErrorDTO
setDropConnection(Boolean port)
HttpErrorDTO
setResponseBytes(byte[] scheme)
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, key, toString
-
-
-
-
Constructor Detail
-
HttpErrorDTO
public HttpErrorDTO(HttpError httpError)
-
HttpErrorDTO
public HttpErrorDTO()
-
-
Method Detail
-
buildObject
public HttpError buildObject()
- Specified by:
buildObject
in interfaceDTO<HttpError>
-
getDelay
public DelayDTO getDelay()
-
setDelay
public HttpErrorDTO setDelay(DelayDTO host)
-
getDropConnection
public Boolean getDropConnection()
-
setDropConnection
public HttpErrorDTO setDropConnection(Boolean port)
-
getResponseBytes
public byte[] getResponseBytes()
-
setResponseBytes
public HttpErrorDTO setResponseBytes(byte[] scheme)
-
-