Class Timing
- java.lang.Object
-
- com.github.tomakehurst.wiremock.common.Timing
-
public class Timing extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Timing(int addedDelay, int processTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAddedDelay()
The delay added to the response via the stub or global configurationint
getProcessTime()
The amount of time spent handling the stub requestint
getResponseSendTime()
The amount of time taken to send the response to the clientint
getServeTime()
The total request time from start to finish, minus added delayint
getTotalTime()
The total request time including added delayTiming
withResponseSendTime(int responseSendTimeMillis)
-
-
-
Field Detail
-
UNTIMED
public static final Timing UNTIMED
-
-
Method Detail
-
getAddedDelay
public int getAddedDelay()
The delay added to the response via the stub or global configuration
-
getProcessTime
public int getProcessTime()
The amount of time spent handling the stub request
-
getResponseSendTime
public int getResponseSendTime()
The amount of time taken to send the response to the client
-
getServeTime
public int getServeTime()
The total request time from start to finish, minus added delay
-
getTotalTime
public int getTotalTime()
The total request time including added delay
-
withResponseSendTime
public Timing withResponseSendTime(int responseSendTimeMillis)
-
-