hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Leigh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1355) HttpRequestWrapper Should Continue to Implement HttpUriRequest
Date Fri, 24 May 2013 20:13:19 GMT
James Leigh created HTTPCLIENT-1355:
---------------------------------------

             Summary: HttpRequestWrapper Should Continue to Implement HttpUriRequest
                 Key: HTTPCLIENT-1355
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1355
             Project: HttpComponents HttpClient
          Issue Type: Wish
          Components: HttpClient
    Affects Versions: 4.3 Beta1
            Reporter: James Leigh
             Fix For: 4.3 Beta2


The documentation for 4.2 suggests that the value of the context attribute ExecutionContext.HTTP_REQUEST
will always be an object that implements HttpUriRequest. In 4.2 this is also true in practise,
because HttpRequestWrapper implements HttpUriRequest. However, in 4.3 HttpRequestWrapper does
not implement HttpUriRequest and the example provided in the 4.2 documentation is not forwards
compatible with 4.3.

I would expect that user code that closely follows the 4.2 documentation would continue to
function (without error) in 4.3.

http://hc.apache.org/httpcomponents-client-ga/tutorial/html/httpagent.html#d5e1232

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message