[
https://issues.apache.org/jira/browse/HTTPCLIENT-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oleg Kalnichevski moved HTTPASYNC-140 to HTTPCLIENT-1933:
---------------------------------------------------------
Workflow: Default workflow, editable Closed status (was: classic default
workflow)
Key: HTTPCLIENT-1933 (was: HTTPASYNC-140)
Project: HttpComponents HttpClient (was: HttpComponents HttpAsyncClient)
> HttpAsyncClientBuilder misnamed interceptor methods
> ---------------------------------------------------
>
> Key: HTTPCLIENT-1933
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1933
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Environment: Affects both httpclient 5.0-beta1 and git master at the
> time of writing.
> Reporter: Alex Osborne
> Priority: Minor
>
> These two methods on HttpAsyncClientBuilder appear to have had the words
> 'Request' and Response' swapped in their names as they actually take a
> parameter of the opposite type:
> {code:java}
> addRequestInterceptorFirst(HttpResponseInterceptor interceptor)
> addResponseInterceptorLast(HttpRequestInterceptor interceptor){code}
> the other two interceptor methods seem to be named correctly:
> {code:java}
> addRequestInterceptorFirst(HttpRequestInterceptor interceptor)
> addResponseInterceptorLast(HttpResponseInterceptor interceptor)
> {code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]