[ ENGINE-307 ] Java wrapper : Allow to accept custom http status code for post calls