You can also implement a PIpeHandler (like RestRunner) and supply your own
save implementation.
*
https://github.com/aerogear/aerogear-android-pipe/blob/master/aerogear-an...
You will set when you set up your pipe with the Configuration Object.
PipeManager.config("developers", RestfulPipeConfiguration.class)
.pipeHandler(new MySpecifalHandler())
.withUrl(new
URL("http://www.server.com/developer"))
.forClass(Developer.class);
On Fri, Jun 19, 2015 at 9:24 AM, Daniel Passos <dpassos(a)redhat.com> wrote:
Hi Autur,
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 *specific* resource.
https://github.com/aerogear/aerogear-android-pipe/blob/master/aerogear-an...
--
-- Passos
On Fri, Jun 19, 2015 at 6:36 AM, Artur Dryomov <artur.dryomov(a)gmail.com>
wrote:
> Hi,
>
> I need to perform a HTTP PUT request using the Hawkular API.
> Documentation
> <
http://www.hawkular.org/docs/rest/rest-alerts.html#_alert_handling> and
> example <
http://pastie.org/private/fw02g8us6g20esc7dczng>. 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.
>
> Artur.
>
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev