I have a setup where tomcat server hosting my REST servers redirects calls from HTTP (port 9080) to HTTPS ( port 9443 ).
I\'m using jersey 2.5 implementation and can
correct way to do this is:
webTarget.property(ClientProperties.FOLLOW_REDIRECTS, Boolean.TRUE);