How to write implement to override interface in java?

338 Views Asked by At

I am working on a java solution that uses the openapi-generator maven pkg to generate code for the OAS3 API that I need to implement/use. I am trying to get at the header information on successful call back. There is a generated interface called ApiCallback that has method signature void onSuccess(T result, int statusCode, Map<String, List<String>> responseHeaders). While the model has response type, how to also retrieve specific header info?

This question will likely need some development, so please make a comment below with request for more detail. Thanks

0

There are 0 best solutions below