Back to project page droidcon-android-espresso.
The source code is released under:
Apache License
If you think the Android project droidcon-android-espresso 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 com.xrigau.droidcon.core.service; /*ww w . j a va 2 s.c o m*/ import com.xrigau.droidcon.core.model.PostList; import retrofit.http.GET; import retrofit.http.Path; public interface Services { @GET("/news") PostList news(); @GET("/news2") PostList news2(); @GET("/item/{postId}") PostList item( @Path("postId") String postId ); @GET("/user/{username}") PostList user( @Path("username") String username ); }