Class HttpURLConnection


  • public class HttpURLConnection
    extends HttpURLConnection
    Provides a HttpURLConnection wrapper around HttpClient's HttpMethod. This allows existing code to easily switch to HttpClieht without breaking existing interfaces using the JDK HttpURLConnection. Note 1: The current implementations wraps only a connected HttpMethod, ie a method that has alreayd been used to connect to an HTTP server. Note 2: It is a best try effort as different version of the JDK have different behaviours for HttpURLConnection (And I'm not even including the numerous HttpURLConnection bugs!).
    Since:
    2.0
    Version:
    $Id: HttpURLConnection.java 480424 2006-11-29 05:56:49Z bayard $
    Author:
    Vincent Massol, Jeff Dever, Mike Bowler