public class ResponseWithDelay extends Object
Modifier and Type | Method and Description |
---|---|
static ResponseWithDelay |
forResponse(Response<okio.ByteString> response) |
static ResponseWithDelay |
forResponse(Response<okio.ByteString> response,
long delay,
TimeUnit unit) |
long |
getDelayMillis() |
Response<okio.ByteString> |
getResponse() |
public static ResponseWithDelay forResponse(Response<okio.ByteString> response)
public static ResponseWithDelay forResponse(Response<okio.ByteString> response, long delay, TimeUnit unit)
public Response<okio.ByteString> getResponse()
public long getDelayMillis()
Copyright © 2016. All rights reserved.