Skip to content

Commit

Permalink
Cleanup after deprecation of OkHttp3ClientHttpRequestFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
poutsma committed Jul 21, 2023
1 parent efb6abc commit d65d285
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ final class DefaultRestClientBuilder implements RestClient.Builder {

private static final boolean httpComponentsClientPresent;

private static final boolean okHttpClientPresent;

private static final boolean jettyClientPresent;

private static final boolean jdkClientPresent;
Expand All @@ -88,7 +86,6 @@ final class DefaultRestClientBuilder implements RestClient.Builder {
ClassLoader loader = DefaultRestClientBuilder.class.getClassLoader();

httpComponentsClientPresent = ClassUtils.isPresent("org.apache.hc.client5.http.classic.HttpClient", loader);
okHttpClientPresent = ClassUtils.isPresent("okhttp3.OkHttpClient", loader);
jettyClientPresent = ClassUtils.isPresent("org.eclipse.jetty.client.HttpClient", loader);
jdkClientPresent = ClassUtils.isPresent("java.net.http.HttpClient", loader);

Expand Down

0 comments on commit d65d285

Please sign in to comment.