public class FiberOkHttpUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Response |
executeInFiber(Call call) |
static Response |
executeInFiber(FiberOkHttpClient client,
Request request) |
static HttpResponse |
executeInFiber(com.squareup.okhttp.apache.OkApacheClient client,
HttpRequestBase req) |
static HttpURLConnection |
openInFiber(OkUrlFactory factory,
URL url) |
public static Response executeInFiber(FiberOkHttpClient client, Request request) throws InterruptedException, IOException
InterruptedExceptionIOExceptionpublic static Response executeInFiber(Call call) throws InterruptedException, IOException
InterruptedExceptionIOExceptionpublic static HttpURLConnection openInFiber(OkUrlFactory factory, URL url) throws InterruptedException
InterruptedExceptionpublic static HttpResponse executeInFiber(com.squareup.okhttp.apache.OkApacheClient client, HttpRequestBase req) throws InterruptedException, IOException
InterruptedExceptionIOException