Following Redirects
With a true argument, the HttpURLConnection.setFollowRedirects() method says that connections will follow redirect instructions from the web server.
- Untrusted applets are not allowed to set this.
HttpURLConnection.getFollowRedirects() returns true if redirect requests are honored, false if they're not.