com.github.scribejava.httpclient.ning.NingProvider Maven / Gradle / Ivy
package com.github.scribejava.httpclient.ning;
import com.github.scribejava.core.httpclient.HttpClientProvider;
import com.github.scribejava.core.model.HttpClient;
public class NingProvider implements HttpClientProvider {
@Override
public HttpClient createClient(HttpClient.Config httpClientConfig) {
if (httpClientConfig instanceof NingHttpClientConfig) {
return new NingHttpClient((NingHttpClientConfig) httpClientConfig);
}
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy