Skip to content

[REQ][JAVA] Add modifying ResponseInterceptor #22333

@dschodits-secunet

Description

@dschodits-secunet

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions