315157973 opened a new pull request #10489:
URL: https://github.com/apache/pulsar/pull/10489


   ### Motivation
   The current interceptor is very unfriendly to http processing.
   Since the interceptor obtains references to request and response, and many 
properties of these objects cannot be modified, so we can only read but not 
modify them.
   Therefore, we must wrap request and response. However, the attributes we 
want to modify are different. Some people want to change the header, and some 
people want to modify the queryParam. This requires very high flexibility of 
HttpWrapper. 
   At least for now it is not supported.
   
   ### Modifications
   Add onFilter for Interceptor, so that we can modify request and response 
like Filter, user can customize Wrapper
   
   ### Verifying this change
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to