use of com.dropbox.core.http.OkHttpRequestor in project dropbox-sdk-java by dropbox.
the class ITUtil method newOkHttpRequestor.
public static OkHttpRequestor newOkHttpRequestor() {
OkHttpClient httpClient = OkHttpRequestor.defaultOkHttpClient().clone();
httpClient.setReadTimeout(READ_TIMEOUT, TimeUnit.MILLISECONDS);
return new OkHttpRequestor(httpClient);
}
Aggregations