Package com.spotify.apollo.test.response
Class ResponseWithDelay
- java.lang.Object
-
- com.spotify.apollo.test.response.ResponseWithDelay
-
public class ResponseWithDelay extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResponseWithDelay
forResponse(com.spotify.apollo.Response<okio.ByteString> response)
static ResponseWithDelay
forResponse(com.spotify.apollo.Response<okio.ByteString> response, long delay, TimeUnit unit)
long
getDelayMillis()
com.spotify.apollo.Response<okio.ByteString>
getResponse()
-
-
-
Method Detail
-
forResponse
public static ResponseWithDelay forResponse(com.spotify.apollo.Response<okio.ByteString> response)
-
forResponse
public static ResponseWithDelay forResponse(com.spotify.apollo.Response<okio.ByteString> response, long delay, TimeUnit unit)
-
getResponse
public com.spotify.apollo.Response<okio.ByteString> getResponse()
-
getDelayMillis
public long getDelayMillis()
-
-