Omar Ahmed
03/03/2020, 9:50 AMtrevjones
03/03/2020, 3:48 PMTag
called Invocation
that has a reference to the Method
at which point you can query for custom annotations via the normal reflection api's.
All of which can be done in an interceptor without the need for a custom call adapter factory.Omar Ahmed
03/04/2020, 11:41 AMInvocation
Tag to all its requeststrevjones
03/04/2020, 5:13 PMMethod.getAnnotation(Class<T>)
might be expensive and worth caching in a map. ie val annotationCache: MutableMap<Method, T>
where T is the annotation.Omar Ahmed
03/05/2020, 11:57 AM