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