Commit Graph

12 Commits

Author SHA1 Message Date
Inderjeet Singh
ad0e0d6f54 Added means to define and implement REST web-service and its clients.
Added missing copyright headers.
Added TypedKey based methods in request/response classes.
2010-02-15 23:24:48 +00:00
Inderjeet Singh
0a134db2f0 Added a new interface ResponseBuilder that is implemented by handlers to build a response of a specific type.
ResponseSender now sets the content-type of the stream to application/json
2010-01-20 13:53:53 +00:00
Inderjeet Singh
51efca8457 Removed dependence on Guice and Collections from wsclient.
Renamed Builder.create() methods to Builder.build()
2010-01-19 12:58:52 +00:00
Inderjeet Singh
c5e3c32215 Added missing class 2009-12-28 10:17:40 +00:00
Inderjeet Singh
45bf2db854 Created new projects:
1. wsdef: contains classes that are used to define a Gson based JSON web service
2. wsclient: contains classes that are used to write a Gson based web-service client

wsf is now only a server-side framework. Moved classes relevant for wsdef and wsclient from it to the individual projects.
2009-12-28 09:44:47 +00:00
Inderjeet Singh
9ad4b2bc7e Made request/response classes immutable and using builder patterns to build them. 2008-09-20 13:55:52 +00:00
Inderjeet Singh
82851d68be Moved the setDoInput() on HttpURLConnection before sending any data on the connection.
disabled configuration settings on install in pom.xml that were interfering with the normal behavior of install.
2008-09-15 17:00:26 +00:00
Inderjeet Singh
64fd7baf25 Added toString() methods. 2008-09-15 12:40:11 +00:00
Inderjeet Singh
5520d20c41 made guice providers public. 2008-09-01 14:38:13 +00:00
Inderjeet Singh
7726e0bbbb removed unused import. 2008-09-01 14:32:20 +00:00
Inderjeet Singh
685710b124 added an assembly and javadoc descriptor for maven. 2008-09-01 14:24:27 +00:00
Inderjeet Singh
849612c50f initial creation of the wsf project. 2008-09-01 13:37:34 +00:00