Out of curiosity, how would I have found this information without combing through the java docs? Or is the answer combing through the Java docs?
Pretty much combing the javadocs/relying on IDE decompiling, yeah. Looking at GatewayContext
/CommonContext
is a great way to get started, since basically everything ultimately has to go through it at some point. But there’s also just so much it’s hard to keep track; for instance, you might get some utility out of the MetricRegistry
and MetricHistoryManager
you can access on GatewayContext
, but I’ve never had to use them myself so I didn’t even remember they existed until I just scrolled through.
1 Like