I want to intercept a whole class with java standard features, because i am not allowed to add new dependencies to the project (websphere 85).
I want to call a function, which does multiple api calls (swagger generated) for example myapi.bla(), myapi.blabla(), etc and get the headers from the response.
I thought about intercepting all methods of the class "myapi" and then access the headers (myapi.getApiClient.getResponseheaders).
Do you know how to intercept all methods of a class with java or websphere85 built in features? Thank you!