Hi all!
I need some help with rest as I am new to this programming scene.
I'm trying to learn the the basic restlet webservice therefore can someone
link me to a forum post somewhere that shows you how you use restlet to
POST? Basically I want to POST hello, world to the resource, and upon
Hi Jerome-
(comments inline)
On Sun, Jul 18, 2010 at 10:05 AM, Jerome Louvel
jerome.lou...@noelios.com wrote:
As Thierry pointed out, Representation#release() will
close the stream immediately in your case.
I'm still trying to understand what the correct way is to use the
ClientResource API.
Hello Rachel and Alex,
as mentionned by Alex a simple ServerResource is shown here ([1]). In your
case, you need to complete it with the following code:
@Post
public String accept(String message) {
return message;
}
Then, on client side, have a look at this sample code [2].
Hi David,
Thanks for the very valuable feed-back. Here are the changes that I just
made to SVN trunk:
- Fixed Javadocs of ClientResource#release() and Message#release()
- Request and responses now call their release() method upon garbage
collection. It releases any associated entity
Just starting with Restlet and Spring in Tomcat container. I have a Spring
MVC web application to which I wish to add Restlet support on some URL
paths. I have the Restlet In Action MEAP book. I set up
org.restlet.ext.servlet.ServerServlet in web.xml to init either a restlet
application or
5 matches
Mail list logo