<div dir="ltr">You can also implement a PIpeHandler (like RestRunner) and supply your own save implementation.<div><br></div><div> * <a href="https://github.com/aerogear/aerogear-android-pipe/blob/master/aerogear-android-pipe/src/main/java/org/jboss/aerogear/android/pipe/rest/RestRunner.java">https://github.com/aerogear/aerogear-android-pipe/blob/master/aerogear-android-pipe/src/main/java/org/jboss/aerogear/android/pipe/rest/RestRunner.java</a></div><div><br></div><div>You will set when you set up your pipe with the Configuration Object.</div><div><br></div><div><div>PipeManager.config(&quot;developers&quot;, RestfulPipeConfiguration.class)</div><div>           .pipeHandler(new MySpecifalHandler())</div><div>           .withUrl(new URL(&quot;<a href="http://www.server.com/developer">http://www.server.com/developer</a>&quot;))</div><div>           .forClass(Developer.class);</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 19, 2015 at 9:24 AM, Daniel Passos <span dir="ltr">&lt;<a href="mailto:dpassos@redhat.com" target="_blank">dpassos@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Autur,<div class="gmail_quote"><div dir="ltr"><div><br>For now, the only way to use HTTP put is saving[1] an object with id, because that is the common use for PUT, update a <i>specific</i> resource.
<p style="margin:1.2em 0px!important"><a href="https://github.com/aerogear/aerogear-android-pipe/blob/master/aerogear-android-pipe/src/main/java/org/jboss/aerogear/android/pipe/rest/RestRunner.java#L306-L317" target="_blank">https://github.com/aerogear/aerogear-android-pipe/blob/master/aerogear-android-pipe/src/main/java/org/jboss/aerogear/android/pipe/rest/RestRunner.java#L306-L317</a></p><span class="HOEnZb"><font color="#888888">
<div title="MDH:PGRpdj48ZGl2PkhpIEF1dHVyLDxicj48YnI+PC9kaXY+VGhhbmtzIHRvIHNlbmQgdGhhdCwgbm90
IG9ubHkgYmVjYXVzZSB3ZSBhcmUgaW4gZGlmZmVyZW50IHRpbWV6b25lIGJ1dCBiZWNhdXNlIHlv
dXIgcXVlc3Rpb24gY2FuIGhlbHAgb3RoZXJzLjxicj48YnI+Rm9yIG5vdywgdGhlIG9ubHkgd2F5
IHRvIHVzZSBIVFRQIHB1dCBpcyBzYXZpbmdbMV0gYW4gb2JqZWN0IHdpdGggaWQsIGJlY2F1c2Ug
dGhhdCBpcyB0aGUgY29tbW9uIHVzZSBmb3IgUFVULCB1cGRhdGUgYSBfc3BlY2lmaWNfIHJlc291
cmNlLjxicj48YnI+aHR0cHM6Ly9naXRodWIuY29tL2Flcm9nZWFyL2Flcm9nZWFyLWFuZHJvaWQt
cGlwZS9ibG9iL21hc3Rlci9hZXJvZ2Vhci1hbmRyb2lkLXBpcGUvc3JjL21haW4vamF2YS9vcmcv
amJvc3MvYWVyb2dlYXIvYW5kcm9pZC9waXBlL3Jlc3QvUmVzdFJ1bm5lci5qYXZhI0wzMDYtTDMx
Nzxicj48L2Rpdj48YnI+" style="min-height:0px;width:0px;max-height:0px;max-width:0px;overflow:hidden;font-size:0em;padding:0px;margin:0px"><br></div></font></span></div></div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra"><div><div>-- <br>-- Passos<br><br><div class="gmail_quote">On Fri, Jun 19, 2015 at 6:36 AM, Artur Dryomov <span dir="ltr">&lt;<a href="mailto:artur.dryomov@gmail.com" target="_blank">artur.dryomov@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I need to perform a HTTP PUT request using the Hawkular API. <a href="http://www.hawkular.org/docs/rest/rest-alerts.html#_alert_handling" target="_blank">Documentation</a> and <a href="http://pastie.org/private/fw02g8us6g20esc7dczng" target="_blank">example</a>. I. e. I need to send PUT request with some URL query. What is the best way to achieve that using AeroGear? Should I use HTTP client instead of AeroGear? I haven’t found any related APIs in the documentation.</div><span><font color="#888888"><div><br></div><div>Artur.</div></font></span></div>
</blockquote></div></div></div></div></font></span></div></div>
<br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br></div>