Hi There,
We are prototyping with Restlet JEE 2.0.1 to see how can we use the Response
object to send some information back to the client. I see that different APIs
are available to allow us to set the description, Throwable and attribute map
in the status object. While when we test those APIs,
I have a PUT method to accept any java object in one of our resource class.
This method is annotated with @Put shown below:
@Put
public void send(DataTransporter obj);
I have successfully sent the serialized Java objects as well as Java File
object created with a binary file using Restlet
I have the following code
String openGraphUri = "https://graph.facebook.com/";;
String accessToken = "gerkjh43kj5h43kjh34k";
ClientResource clientResource = new ClientResource(openGraphUri
+
"me/feed" + "?access_token=" + accessToken
This has been fixed, the problem is instead of using SpringComponent, just use
org.restlet.Application directly and changing property correspondly.
> I am using restlet 2.1RC3 and using spring to manage beans. so my spring
> restful config looks like this:
>
>
>
>
>
4 matches
Mail list logo