Skip to content

jveljan/tiny-rest-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Java Tiny Rest Client

Fluent API.

Example 1:

Account account = 
 	Rest.get("example/account/1/details")
 		.basicAuth("user","pass")
 		.as(Account.class)

================ Example 2:

Rest.post("https://android.googleapis.com/gcm/send")
		.header("Authorization", "key=apikeu")
		.body(new GCMRequest("rrrr"))
		.async(new Handler<GCMResponse>() {
			public void success(GCMResponse resp) {
				// handle HTTP 200 response and valid parse
			}
			public void error(Exception e) {
				//handle error
			}
		});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages