Package retrofit.client

Examples of retrofit.client.ApacheClient


    @Override
    public RestAdapter build() {
        if (httpClient == null)
            // setUserAgent("") is not default it ApacheHttpClient, and is needed for the github API 
            this.httpClient = FiberHttpClientBuilder.create().setUserAgent("").build();
        super.setClient(providerFor(new ApacheClient(httpClient)));
        return super.build();
    }
View Full Code Here


    @Override
    public RestAdapter build() {
        if (httpClient == null)
            // setUserAgent("") is not default it ApacheHttpClient, and is needed for the github API 
            this.httpClient = FiberHttpClientBuilder.create().setUserAgent("").build();
        super.setClient(providerFor(new ApacheClient(httpClient)));
        return super.build();
    }
View Full Code Here

TOP

Related Classes of retrofit.client.ApacheClient

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.