-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Open
Labels
Description
Is your feature request related to a problem? Please describe.
I would like to have the option of modifying an incoming HttpResponse before it gets parsed further. This is can be used for custom encryption for example. This is not possible with the Java-Native library.
Describe the solution you'd like
An optional config parameter which changes the behavior of the ResponseInterceptor which is able to reassign the response variable in order to be able to modify the response.
Describe alternatives you've considered
There is the possibility to change the library but this is not feasible for many projects.
Additional context
At this point in the template I get the Java native HttpResponse interface which is back by this class which is not accessible from "outside" because it's under Java's protected internal package hierarchy(jdk.internal.net.http).