Package com.kdubb.retrofitexamples.converter

Examples of com.kdubb.retrofitexamples.converter.JacksonConverter


public class InterestingClient {
  private static final String API_URL = "http://localhost:8080/";

  public static void main(String[] args) {
    // Create our Converter
    JacksonConverter converter = new JacksonConverter(new ObjectMapper());
   
    // Build the Retrofit REST adaptor pointing to the URL specified, with the Converter.
    // Note: The Converter must be set before the .build() command
    RestAdapter restAdapter = new RestAdapter.Builder()
      .setConverter(converter)
View Full Code Here

TOP

Related Classes of com.kdubb.retrofitexamples.converter.JacksonConverter

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.