tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Apache TomEE JAXRS input file
Date Fri, 28 Apr 2017 07:12:39 GMT
Hi

You can have a payload of type InputStream. For uploads you can also inject
with @Context the http request and use either commons upload or servlet 3
Parts.

Le 28 avr. 2017 06:01, "José Luis Cetina" <maxtorzito@gmail.com> a écrit :

> Hi, i'm using Apache TomEE 7.X with JAX-RS i want to upload a picture from
> mi client side (angular) to a jax-rs method in TomEE, im searching for
> examples but all the examples are using jersey, is there any way to get the
> file as an inputstream or any other type in tomee without any external
> dependency (like jersey)? Im using plain tomee.
>
> Any recommendations?
>
> Thanks
>
> --
> -------------------------------------------------------------------
> *José Luis Cetina*
> -------------------------------------------------------------------
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message