Response middleware for Java gRPC

According to this page (Supported Languages), gRPC plugins should support response hooks. But when I check the java bindings (tyk/coprocess/bindings/java at master · TykTechnologies/tyk · GitHub), I see responses seem to be defined. Is that right? Or am I missing something?

Hi Juan, could you explain a bit further?

Hi Olu,

Sure. I’m looking into using gRPC plugins, and concretelly to be able to apply some modifications on the response from the API call. Being more of a Java developer, I thought to start with Java. But when looking into the java gRPC bindings hook types (tyk/ at master · TykTechnologies/tyk · GitHub), I have noticed that the response hook is not defined, thus I cannot use it.

I have that’s clearer now

Our bindings are out of date at the moment. We do plan on updating them but I don’t have a time frame for that.

In the meantime, you could generate your own bindings based on these Proto files
[tyk/coprocess/proto at master · TykTechnologies/tyk · GitHub]

Also this code reference may also be of help Generated-code reference | Java | gRPC

Thanks! I see what I can do with it. Anyway, I hope there is an update soon