*/
@Override
protected int writeBody(AbstractHttpConnection con, ByteBuffer[] bodyData , IWriteCompletionHandler completionHandler) throws IOException {
written += super.writeBody(con, bodyData, completionHandler);
if (written > contentLength) {
throw new MaxWriteSizeExceededException();
}
return written;
}