Package retrofit.client

Examples of retrofit.client.OkClient


  public static WebHookService createWebHookService(final String url) {

    final OkHttpClient client = ProcessorHelper.createClient();

    final RestAdapter restAdapter = new RestAdapter.Builder()
        .setEndpoint(url).setClient(new OkClient(client)).build();

    return restAdapter.create(WebHookService.class);
  }
View Full Code Here

TOP

Related Classes of retrofit.client.OkClient

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.