From: Pavel Bucek <pavel.bucek_at_oracle.com>
Date: Mon, 27 Jun 2011 20:28:26 +0200
It should work (depends on how much memory you have) but its not good
approach here. I would go with streams - you already have it on server
side, and you can get File or InputStream on client side as well (I sent
detail in previous email).
You should see chapter about jersey client (and entities in general) in
our used guide [1], everything I wrote is there. ([2] is also useful).
On 6/27/11 5:57 PM, Jitesh wrote:
> Can a String as big as 1 MB or higher be set by Response.ok().build without
> loss of any data/encoding on server side?
> I am thinking of modifying server side code that is mentioned in above post
> and then getting it on client side as String entity.Will that work?
>
> --
> View this message in context: http://jersey.576304.n2.nabble.com/How-to-post-a-file-and-other-form-fields-by-Jersey-client-tp6502947p6521060.html > Sent from the Jersey mailing list archive at Nabble.com.
>