Using jersey client API