package org.oauth2.client4j.http; import org.oauth2.client4j.http.client.HttpClient; import org.oauth2.client4j.http.response.OAuthResponse; public class OAuthHttpClient { protected HttpClient httpClient; public OAuthHttpClient(HttpClient oauthClient) { this.httpClient = oauthClient; } public <T extends OAuthResponse> T send(Request request, Class<T> responseClass) { return httpClient.execute(request, responseClass); } }