Class HttpRequestAndHttpResponseDTO
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.model.ObjectWithJsonToString
-
- org.mockserver.serialization.model.HttpRequestAndHttpResponseDTO
-
- All Implemented Interfaces:
DTO<HttpRequestAndHttpResponse>
public class HttpRequestAndHttpResponseDTO extends ObjectWithJsonToString implements DTO<HttpRequestAndHttpResponse>
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description HttpRequestAndHttpResponseDTO()
HttpRequestAndHttpResponseDTO(HttpRequestAndHttpResponse httpRequestAndHttpResponse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpRequestAndHttpResponse
buildObject()
HttpRequestDTO
getHttpRequest()
HttpResponseDTO
getHttpResponse()
String
getTimestamp()
void
setHttpRequest(HttpRequestDTO httpRequest)
void
setHttpResponse(HttpResponseDTO httpResponse)
void
setTimestamp(String timestamp)
-
Methods inherited from class org.mockserver.model.ObjectWithJsonToString
toString
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, key
-
-
-
-
Constructor Detail
-
HttpRequestAndHttpResponseDTO
public HttpRequestAndHttpResponseDTO()
-
HttpRequestAndHttpResponseDTO
public HttpRequestAndHttpResponseDTO(HttpRequestAndHttpResponse httpRequestAndHttpResponse)
-
-
Method Detail
-
buildObject
public HttpRequestAndHttpResponse buildObject()
- Specified by:
buildObject
in interfaceDTO<HttpRequestAndHttpResponse>
-
getTimestamp
public String getTimestamp()
-
setTimestamp
public void setTimestamp(String timestamp)
-
getHttpRequest
public HttpRequestDTO getHttpRequest()
-
setHttpRequest
public void setHttpRequest(HttpRequestDTO httpRequest)
-
getHttpResponse
public HttpResponseDTO getHttpResponse()
-
setHttpResponse
public void setHttpResponse(HttpResponseDTO httpResponse)
-
-