Following Redirects in Jersey REST Client

There is a method in com.sun.jersey.api.client.Client that causes the Client to follow any redirections:

  * Set if redirection should be performed or not.
  * This method is the functional equivalent to setting the property
  * {@link ClientConfig#PROPERTY_FOLLOW_REDIRECTS} on the property bag
  * returned from {@link #getProperties}
  * @param redirect if true then the client will automatically redirect
  *        to the URI declared in 3xx responses.
 void setFollowRedirects(Boolean redirect)