Package org.opensocial.http

Examples of org.opensocial.http.HttpClientImpl


   * @param consumerSecret secret provided by an OpenSocial container after
   *                       registering a new application
   */
  public OAuth3LeggedScheme(Provider provider, String consumerKey,
      String consumerSecret) {
    this(provider, consumerKey, consumerSecret, new HttpClientImpl());
  }
View Full Code Here


    return accessor;
  }

  private OAuthClient getOAuthClient() {
    if (httpClient == null) {
      httpClient = new HttpClientImpl();
    }

    return new OAuthClient(httpClient);
  }
View Full Code Here

   *
   * @param provider   Provider to associate with new Client
   * @param authScheme AuthScheme to associate with new Client
   */
  public Client(Provider provider, AuthScheme authScheme) {
    this(provider, authScheme, new HttpClientImpl());
  }
View Full Code Here

TOP

Related Classes of org.opensocial.http.HttpClientImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.