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()
HttpRequestAndHttpResponseDTO
setHttpRequest(HttpRequestDTO httpRequest)
HttpRequestAndHttpResponseDTO
setHttpResponse(HttpResponseDTO httpResponse)
-
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>
-
getHttpRequest
public HttpRequestDTO getHttpRequest()
-
setHttpRequest
public HttpRequestAndHttpResponseDTO setHttpRequest(HttpRequestDTO httpRequest)
-
getHttpResponse
public HttpResponseDTO getHttpResponse()
-
setHttpResponse
public HttpRequestAndHttpResponseDTO setHttpResponse(HttpResponseDTO httpResponse)
-
-