Hi,
the current implementation in IOUtils is
public static final int BUFFER_SIZE = getProperty(
"org.restlet.engine.io.bufferSize", 8192);
This is executed only once, afaik at module loading time. A call to
setProperty should therefore be done before anything of the RESTlet engine
is loaded, or even on the commandline with a -D parameter to the java
runtime.
BTW, I tested this setting with a value of -1. Throws a nice exception
without any test coding.
Guido Schmidt.
--
View this message in context:
http://restlet-discuss.1400322.n2.nabble.com/Serialization-example-NoSuchMethodError-on-Router-attach-tp5782099p5807795.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2688193