JDK-4937953 : Need to support redirection API for HttpURLConnection
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 1.4.2
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: windows_nt
  • CPU: x86
  • Submitted: 2003-10-15
  • Updated: 2017-07-25
  • Resolved: 2017-07-25
Related Reports
Relates :  
Description
HttpURLConnection already supports the ability to follow redirects 
automatically or not, but a finer degree of control is required
among other reasons, for maintaining compatibility with teh MS JVM

plugin needs to mirror the MS behavior where (depending on configuration)
a redirect may cause a user dialog to popup to confirm the action.
This must be supported for legacy applets and the new redirection API
will be called by plugin. It will also be useful for other applications.

Comments
This might be more appropriate for the new HttpClient API (JEP-110).
25-07-2017

EVALUATION For tiger ###@###.### 2003-10-22
22-10-2003