[
https://issues.apache.org/jira/browse/HTTPCORE-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509312
]
Roland Weber commented on HTTPCORE-88:
--------------------------------------
addRequestInterceptor(HttpRequestInterceptor itcp, int index)
addResponseInterceptor(HttpResponseInterceptor itcp, int index)
would be my preferred solution, index 0 for first, and negative or MAX_INTEGER
for last. I know that I thought about this before, but I don't remember why I
didn't put it in when I touched that code. Maybe because we discussed setting
up the interceptors once in advance and leaving them unchanged afterwards?
cheers,
Roland
> Add convenience methods to HttpRequestInterceptorList,
> HttpResponseInterceptorList
> ----------------------------------------------------------------------------------
>
> Key: HTTPCORE-88
> URL: https://issues.apache.org/jira/browse/HTTPCORE-88
> Project: HttpComponents Core
> Issue Type: Improvement
> Affects Versions: 4.0-alpha5
> Reporter: Oleg Kalnichevski
> Fix For: 4.0-beta1
>
>
> Add convenience methods to HttpRequestInterceptorList,
> HttpResponseInterceptorList to allow
> (1) an interceptor be put last
> (2) an interceptor be put first
> (3) interceptors removed by a class name
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]