Package org.mockserver.dashboard.model
Class LogEntryDTO
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.model.ObjectWithJsonToString
-
- org.mockserver.dashboard.model.LogEntryDTO
-
public class LogEntryDTO extends ObjectWithJsonToString
-
-
Constructor Summary
Constructors Constructor Description LogEntryDTO(LogEntry logEntry)
-
Method Summary
-
Methods inherited from class org.mockserver.model.ObjectWithJsonToString
toString
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, hashCode, key
-
-
-
-
Constructor Detail
-
LogEntryDTO
public LogEntryDTO(LogEntry logEntry)
-
-
Method Detail
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
getLogLevel
public org.slf4j.event.Level getLogLevel()
-
setLogLevel
public LogEntryDTO setLogLevel(org.slf4j.event.Level logLevel)
-
getEpochTime
public long getEpochTime()
-
setEpochTime
public LogEntryDTO setEpochTime(long epochTime)
-
getTimestamp
public String getTimestamp()
-
setTimestamp
public void setTimestamp(String timestamp)
-
getType
public LogEntry.LogMessageType getType()
-
setType
public LogEntryDTO setType(LogEntry.LogMessageType type)
-
getHttpRequests
public HttpRequest[] getHttpRequests()
-
setHttpRequests
public LogEntryDTO setHttpRequests(HttpRequest[] httpRequests)
-
setHttpRequest
public LogEntryDTO setHttpRequest(HttpRequest httpRequest)
-
getHttpRequest
public HttpRequest getHttpRequest()
-
getHttpResponse
public HttpResponse getHttpResponse()
-
setHttpResponse
public LogEntryDTO setHttpResponse(HttpResponse httpResponse)
-
getHttpError
public HttpError getHttpError()
-
setHttpError
public LogEntryDTO setHttpError(HttpError httpError)
-
getExpectation
public Expectation getExpectation()
-
setExpectation
public LogEntryDTO setExpectation(Expectation expectation)
-
getThrowable
public Throwable getThrowable()
-
setThrowable
public LogEntryDTO setThrowable(Throwable throwable)
-
getMessageFormat
public String getMessageFormat()
-
setMessageFormat
public LogEntryDTO setMessageFormat(String messageFormat)
-
getArguments
public Object[] getArguments()
-
setArguments
public LogEntryDTO setArguments(Object... arguments)
-
getMessage
public String getMessage()
-
setMessage
public void setMessage(String message)
-
fieldsExcludedFromEqualsAndHashCode
protected String[] fieldsExcludedFromEqualsAndHashCode()
- Overrides:
fieldsExcludedFromEqualsAndHashCode
in classObjectWithReflectiveEqualsHashCodeToString
-
-