Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jersey-dev] Limiting request size


No, Jersey does not specify a size limit on the server side for the input stream. The JAX-RS way is probably to specify ReaderInterceptor for this.

-- Jan

On 27.12.2020 23:57, Martynas Jusevičius wrote:

Is there a Jersey-specific way to specify a size limit when reading
request InputStream? For any content type, not just

Or should I just go with the general SO suggestions such as a custom
counting InputStream subclass:*30072143__;Iw!!GqivPVa7Brio!INptU6iAaHdzm5Z01fY0FX6OEkCjetrZahY7JngKUiWIIM2EyY96fRdL2VuxnhJI$

I am using Tomcat and I know there's a maxPostSize setting but no, it
doesn't do this:*22How*to*upload*Files*larger*than*2GB*22&o=newest&f=1__;JSsrKysrKyU!!GqivPVa7Brio!INptU6iAaHdzm5Z01fY0FX6OEkCjetrZahY7JngKUiWIIM2EyY96fRdL2UOpH8zd$

jersey-dev mailing list
To unsubscribe from this list, visit;!!GqivPVa7Brio!INptU6iAaHdzm5Z01fY0FX6OEkCjetrZahY7JngKUiWIIM2EyY96fRdL2TYch7zN$

Back to the top