add a new post the java proxy pattern