Hi Restlet Community,

I'm using the Jetty Connector with Restlet 1.1-M4 and I'd like to change the
default value for the requestBufferSize setting.

If I understand the documentation correctly, I can do this in the constructor of
my Application...

getContext().getParameters().add("requestBufferSize", ""+(512*1024));

or just before starting my component...

component.getContext().getParameters().add("requestBufferSize", ""+(512*1024));

I found the parameter name on this page:

http://www.restlet.org/documentation/1.1/ext/com/noelios/restlet/ext/jetty/JettyServerHelper

My questions are:

1) Is this the correct way for me to do this?

2) What's the best way to do a sanity check to confirm that Jetty is indeed
using this new value for requestBufferSize?

Many thanks in advance for any insights!


Best wishes,
Aaron

Reply via email to