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 HttpErrorbuildObject()DelayDTOgetDelay()BooleangetDropConnection()byte[]getResponseBytes()HttpErrorDTOsetDelay(DelayDTO host)HttpErrorDTOsetDropConnection(Boolean port)HttpErrorDTOsetResponseBytes(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:
buildObjectin 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)
-
-