Maybe? :)
On 2/18/2014 11:56 AM, John D. Ament wrote:
> Hmmm. So if I want to get an inputstream (because the object is
> actually something like a word doc), can I just plugin inputstream for
> MyClass?
>
> On Tue, Feb 18, 2014 at 9:49 AM, Bill Burke wrote:
>> Upload via a browser?
>>
>> Serve
Hmmm. So if I want to get an inputstream (because the object is
actually something like a word doc), can I just plugin inputstream for
MyClass?
On Tue, Feb 18, 2014 at 9:49 AM, Bill Burke wrote:
> Upload via a browser?
>
> Server side:
>
> @POST
> @Consumes(MediaType.MULTIPART_FORM_DAT
Upload via a browser?
Server side:
@POST
@Consumes(MediaType.MULTIPART_FORM_DATA)
public Response uploadRealm(MultipartFormDataInput input) throws
IOException {
Map> uploadForm = input.getFormDataMap();
List inputParts = uploadForm.get("file");
for (In
Hi all,
Just wondering if there are any pointers to how to best handle a file
upload via RestEasy's NettyJaxrsServer? When I was doing it via an
app server, it was easy because there was an HTTP request. Would
injecting @Context HttpServletRequest still work here? I'm inclined
to think not but