Search in sources :

Example 1 with HttpClient

use of com.github.scribejava.core.httpclient.HttpClient in project scribejava by scribejava.

the class OkHttpHttpClientTest method setUp.

@Before
public void setUp() {
    final HttpClient client = new OkHttpHttpClient(new OkHttpClient());
    oAuthService = new OAuth20Service(null, new OAuthConfig("test", "test", null, null, null, null, null, null, null, null, client));
}
Also used : OkHttpClient(okhttp3.OkHttpClient) OkHttpClient(okhttp3.OkHttpClient) HttpClient(com.github.scribejava.core.httpclient.HttpClient) OAuthConfig(com.github.scribejava.core.model.OAuthConfig) OAuth20Service(com.github.scribejava.core.oauth.OAuth20Service) Before(org.junit.Before)

Aggregations

HttpClient (com.github.scribejava.core.httpclient.HttpClient)1 OAuthConfig (com.github.scribejava.core.model.OAuthConfig)1 OAuth20Service (com.github.scribejava.core.oauth.OAuth20Service)1 OkHttpClient (okhttp3.OkHttpClient)1 Before (org.junit.Before)1