<div dir="ltr">sounds good so far!<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 10, 2013 at 9:38 PM, Summers Pittman <span dir="ltr"><<a href="mailto:supittma@redhat.com" target="_blank">supittma@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<br>
First a few caveats:<br>
<br>
1. There is no server side implementation / spec yet so the client
"solution" should be rather pluggable.<br></div></blockquote><div><br></div><div style>yeah, nothing in Controller, but anything that supports multipart/upload (e.g. JAX-RS/RestEasy) should be able to consume the uploaded files;</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF">
2. I've only looked at iOS as a sanity check on my ideas.<br>
<br>
I've been working on some PoC's for multipart on Android. After a
few false starts here is the idea I've come up with to support
multipart/from-data content types (ie uploading files).<br>
<br>
Add a new configuration option to a Pipe's configuration: a request
builder.<br>
<br>
The request builder will be a callback/closure/class that consumes
the data arguments from a pipes save request and produces the body
of the request. In Android it can be an interface which is
implemented and in iOS it can be a block which is passed to
AFHttpClient's
multipartFormRequestWithMethod. I'm not sure what the implications
to JavaScript would be.<br>
<br>
Specifically in Android the gson specific request code will be
refactored into a GSONRequestBuilder, and we will write (and define
the behavior of) a MultipartRequestBuilder. Also
PipeConfig.setGsonBuilder will become deprecated (a good move IMHO).<br>
<br>
wdyt?<span class="HOEnZb"><font color="#888888"><br>
<br>
Summers<br>
<br>
<br>
</font></span></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" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br>
<br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div></div>