I am making network calls using retrofit but i suppose it could be any networking api. I will filter out the calls by using a java proxy. What i am trying to do here is everytime developer makes a network call i want it to run through a java proxy so i can check authorization and if the correct info is present.
so it sort of mimics AOP in a way.
Now onto my question, realzing that java proxy utilizes reflection, and knowing that reflection slows down android, Do you all think it would be a large overhead to run the networking calls though a java proxy ? or is the performance impact minimal ?
Aucun commentaire:
Enregistrer un commentaire