Hello ,
I m trying to implement Rest 'commands' , like PUT or DELETE with
RequestBuilder.
As much as i read, i saw that we can avoid them by using POST and
modifying the header. Can someone share an example?
Secondly i came accross with this
public class DeleteRequestBuilder extends RequestBuilder {
public DeleteRequestBuilder(String url) {
super("DELETE", url);
}
}
In manning's book GWT in Practice. Any idea how it can be used?
Something like that?
DeleteRequestBuilder requestBuilder = new DeleteRequestBuilder(url);
try {
//data
requestBuilder.sendRequest(data_to_deleted?, new
ResponseTextHandler());
..
....
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---