Get And Post Difference In Java