SimpleRESTClient

App Image
   May 29th, 2008
584 views / 390 downloads
Admin Administrator: Bug Labs teambballantine
Collaborator Collaborators: Bug Labs teamamie@buglabs.net

Category: Libraries    Maturity: Beta
Tags: REST  Http  library  RESTful  Client  Utility 

Download Latest Version

Updated!!!

Multipart posts are now supported!

This is a simple REST client you can use in your BUG Applications. It provides a RESTful interface for using web services using java.net’s HttpURLConnection and provides some extra utilities simply to make things easier.



GET, PUT, POST, and HEAD are currently implemented. An HTTP response that represents an error code (response code greater than 400) causes an HTTPException that stores the response code. Some other abstractions and helpers are provided for dealing with the request and response. There is also a class for creating a connection using HTTP Basic Authentication. Check out the code, it is simple and pretty well documented.



To use in your application download to your workspace and add simplerestclient to the Import-Package list in your application’s manifest.



Take a look at TwitterBug_viaSimpleRESTClient to see how to use this. Download both this application and TwitterBug_viaSimpleRESTClient to Dragonfly or your BUG.

Read The How To


Download


Version 8 created on September 4th, 2008 by amie@buglabs.net     download jar
Version 7 created on September 3rd, 2008 by amie@buglabs.net     download jar
Version 6 created on July 23rd, 2008     download jar
Version 5 created on July 23rd, 2008     download jar
Version 4 created on June 13th, 2008     download jar
Version 3 created on June 11th, 2008     download jar
Version 2 created on June 9th, 2008     download jar
Version 1 created on May 29th, 2008     download jar

other