Back to project page spring-for-android-starter-book.
The source code is released under:
Apache License
If you think the Android project spring-for-android-starter-book listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package net.dahanne.spring.android.ch3.message.converters.jackson; //from w ww. ja v a 2 s . c o m import org.springframework.http.converter.json.MappingJacksonHttpMessageConverter; import com.googlecode.androidannotations.annotations.rest.Accept; import com.googlecode.androidannotations.annotations.rest.Get; import com.googlecode.androidannotations.annotations.rest.Rest; import com.googlecode.androidannotations.api.rest.MediaType; @Rest(rootUrl = "http://ifconfig.me", converters = { MappingJacksonHttpMessageConverter.class }) public interface IfConfigMeRestClient { @Get("/all.json") @Accept(MediaType.APPLICATION_JSON) IfConfigMeJson getAll(); }