Modify the http post example language to java.