Package com.simplegeo.client.http

Examples of com.simplegeo.client.http.OAuthHttpClient


    HttpProtocolParams.setUserAgent(params, "SimpleGeo Java Client");
    SchemeRegistry schemeRegistry = new SchemeRegistry();
    schemeRegistry.register(new Scheme("https", SSLSocketFactory.getSocketFactory(), PORT));
    ThreadSafeClientConnManager connManager = new ThreadSafeClientConnManager(params, schemeRegistry);

    this.httpClient = new OAuthHttpClient(connManager, params);
    this.httpClient.addRequestInterceptor(new SimpleGeoHttpRequestInterceptor());
    this.httpClient.setRedirectHandler(new SimpleGeoRedirectHandler());
    this.threadExecutor = new RequestThreadPoolExecutor("SimpleGeoClient");
   
    endpoints.put("features", "1.2/places/%s.json");
View Full Code Here

TOP

Related Classes of com.simplegeo.client.http.OAuthHttpClient

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.