Package org.mockserver.model
Class HttpRequestAndHttpResponse
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.model.ObjectWithJsonToString
-
- org.mockserver.model.HttpRequestAndHttpResponse
-
public class HttpRequestAndHttpResponse extends ObjectWithJsonToString
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description HttpRequestAndHttpResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpRequest
getHttpRequest()
HttpResponse
getHttpResponse()
HttpRequestAndHttpResponse
withHttpRequest(HttpRequest httpRequest)
HttpRequestAndHttpResponse
withHttpResponse(HttpResponse httpResponse)
-
Methods inherited from class org.mockserver.model.ObjectWithJsonToString
toString
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, key
-
-
-
-
Method Detail
-
getHttpRequest
public HttpRequest getHttpRequest()
-
withHttpRequest
public HttpRequestAndHttpResponse withHttpRequest(HttpRequest httpRequest)
-
getHttpResponse
public HttpResponse getHttpResponse()
-
withHttpResponse
public HttpRequestAndHttpResponse withHttpResponse(HttpResponse httpResponse)
-
-