/** * Pre-allocate the body buffer according to the value parsed from content-length header. * The buffer is capped at 64KB * @param isPreallocateBodyBuffer <code>true</code> if body buffer is pre-allocated according to the size read from content-length Header. {code false} if body buffer is pre-allocated to 1KB, and is resized dynamically * @return reference to this for fluency */ public io.vertx.rxjava.ext.web.handler.BodyHandler setPreallocateBodyBuffer(boolean isPreallocateBodyBuffer) { delegate.setPreallocateBodyBuffer(isPreallocateBodyBuffer); return this; }
/** * Pre-allocate the body buffer according to the value parsed from content-length header. * The buffer is capped at 64KB * @param isPreallocateBodyBuffer <code>true</code> if body buffer is pre-allocated according to the size read from content-length Header. {code false} if body buffer is pre-allocated to 1KB, and is resized dynamically * @return reference to this for fluency */ public io.vertx.rxjava.ext.web.handler.BodyHandler setPreallocateBodyBuffer(boolean isPreallocateBodyBuffer) { delegate.setPreallocateBodyBuffer(isPreallocateBodyBuffer); return this; }