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
InterruptedException
IOException
public static Response executeInFiber(Call call) throws InterruptedException, IOException
InterruptedException
IOException
public static HttpURLConnection openInFiber(OkUrlFactory factory, URL url) throws InterruptedException
InterruptedException
public static HttpResponse executeInFiber(com.squareup.okhttp.apache.OkApacheClient client, HttpRequestBase req) throws InterruptedException, IOException
InterruptedException
IOException