Package com.google.api.client.extensions.appengine.http

Examples of com.google.api.client.extensions.appengine.http.UrlFetchTransport


    return AppEngineServletUtils.getUserId();
  }

  @Override
  protected HttpTransport newHttpTransportInstance() {
    return new UrlFetchTransport();
  }
View Full Code Here


    return AppEngineServletUtils.getUserId();
  }

  @Override
  protected HttpTransport newHttpTransportInstance() {
    return new UrlFetchTransport();
  }
View Full Code Here

  OauthRawGcsService(OAuthURLFetchService urlfetch, ImmutableSet<HTTPHeader> headers) {
    this.urlfetch = checkNotNull(urlfetch, "Null urlfetch");
    this.headers = checkNotNull(headers, "Null headers");
    AppIdentityCredential cred = new AppIdentityCredential(OAUTH_SCOPES);
    storage = new Storage.Builder(new UrlFetchTransport(), new JacksonFactory(), cred)
        .setApplicationName(SystemProperty.applicationId.get()).build();
  }
View Full Code Here

  /** Provides the authenticated Bigquery API object. */
  @Provides
  @Singleton
  Bigquery provideBigquery() {
    return new Bigquery.Builder(
        new UrlFetchTransport(),
        new JacksonFactory(),
        new AppIdentityCredential(BigqueryScopes.all()))
            .setApplicationName(BigQueryModule.class.getName())
            .build();
  }
View Full Code Here

TOP

Related Classes of com.google.api.client.extensions.appengine.http.UrlFetchTransport

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.