06 August 2019

Jetty server has lot of configuration options. One of them is OutputBufferSize

HttpConfiguration httpConfig = new HttpConfiguration();
httpConfig.setOutputBufferSize(1024);

If this property set to value less than your respopnse - jetty just will truncate last one.