Class ExpectationDTO
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.model.ObjectWithJsonToString
-
- org.mockserver.serialization.model.ExpectationDTO
-
- All Implemented Interfaces:
DTO<Expectation>
public class ExpectationDTO extends ObjectWithJsonToString implements DTO<Expectation>
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description ExpectationDTO()
ExpectationDTO(Expectation expectation)
-
Method Summary
-
Methods inherited from class org.mockserver.model.ObjectWithJsonToString
toString
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, key
-
-
-
-
Constructor Detail
-
ExpectationDTO
public ExpectationDTO(Expectation expectation)
-
ExpectationDTO
public ExpectationDTO()
-
-
Method Detail
-
buildObject
public Expectation buildObject()
- Specified by:
buildObject
in interfaceDTO<Expectation>
-
getHttpRequest
public HttpRequestDTO getHttpRequest()
-
setHttpRequest
public ExpectationDTO setHttpRequest(HttpRequestDTO httpRequest)
-
getHttpResponse
public HttpResponseDTO getHttpResponse()
-
setHttpResponse
public ExpectationDTO setHttpResponse(HttpResponseDTO httpResponse)
-
getHttpResponseTemplate
public HttpTemplateDTO getHttpResponseTemplate()
-
setHttpResponseTemplate
public ExpectationDTO setHttpResponseTemplate(HttpTemplateDTO httpResponseTemplate)
-
getHttpResponseClassCallback
public HttpClassCallbackDTO getHttpResponseClassCallback()
-
setHttpResponseClassCallback
public ExpectationDTO setHttpResponseClassCallback(HttpClassCallbackDTO httpObjectCallback)
-
getHttpResponseObjectCallback
public HttpObjectCallbackDTO getHttpResponseObjectCallback()
-
setHttpResponseObjectCallback
public ExpectationDTO setHttpResponseObjectCallback(HttpObjectCallbackDTO httpObjectCallback)
-
getHttpForward
public HttpForwardDTO getHttpForward()
-
setHttpForward
public ExpectationDTO setHttpForward(HttpForwardDTO httpForward)
-
getHttpForwardTemplate
public HttpTemplateDTO getHttpForwardTemplate()
-
setHttpForwardTemplate
public ExpectationDTO setHttpForwardTemplate(HttpTemplateDTO httpForwardTemplate)
-
getHttpForwardClassCallback
public HttpClassCallbackDTO getHttpForwardClassCallback()
-
setHttpForwardClassCallback
public ExpectationDTO setHttpForwardClassCallback(HttpClassCallbackDTO httpClassCallback)
-
getHttpForwardObjectCallback
public HttpObjectCallbackDTO getHttpForwardObjectCallback()
-
setHttpForwardObjectCallback
public ExpectationDTO setHttpForwardObjectCallback(HttpObjectCallbackDTO httpObjectCallback)
-
getHttpOverrideForwardedRequest
public HttpOverrideForwardedRequestDTO getHttpOverrideForwardedRequest()
-
setHttpOverrideForwardedRequest
public ExpectationDTO setHttpOverrideForwardedRequest(HttpOverrideForwardedRequestDTO httpOverrideForwardedRequest)
-
getHttpError
public HttpErrorDTO getHttpError()
-
setHttpError
public ExpectationDTO setHttpError(HttpErrorDTO httpError)
-
getTimes
public TimesDTO getTimes()
-
setTimes
public ExpectationDTO setTimes(TimesDTO times)
-
getTimeToLive
public TimeToLiveDTO getTimeToLive()
-
setTimeToLive
public ExpectationDTO setTimeToLive(TimeToLiveDTO timeToLive)
-
-