package Ġcom . github . kor ni lo va 2 0 3 . fl ame viewer . server . handlers Ċ Ċ import Ġcom . github . kor ni lo va 2 0 3 . fl ame viewer . Fl ame Logger Ċ import Ġcom . github . kor ni lo va 2 0 3 . fl ame viewer . converters . trees . Filter Ċ import Ġcom . github . kor ni lo va 2 0 3 . fl ame viewer . server . Request Handling Exception Ċ import Ġcom . github . kor ni lo va 2 0 3 . fl ame viewer . server . Tree Manager Ċ import Ġcom . github . kor ni lo va 2 0 3 . fl ame viewer . server . handlers . Methods Counter . count Methods Ċ import Ġio . netty . handler . codec . http . QueryString Decoder Ċ import Ġjava . io . File Ċ Ċ class ĠCall Tree Count Methods ( private Ġval Ġtree Manager : ĠTree Manager , Ġlogger : ĠFl ame Logger , Ġfind File : ĠFind File ) Ġ: ĠCount Methods Handler Base ( logger , Ġfind File ) Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġcount Methods ( file : ĠFile , Ġfilter : ĠFilter ?, Ġdecoder : ĠQuery String Decoder ): ĠInt Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġtree Ġ= Ġtree Manager . get Call Tree ( file , Ġnull , Ġnull ) ĊĠĠĠĠĠĠĠ Ġif Ġ( tree Ġ== Ġnull ) Ġthrow ĠRequest Handling Exception (" Cannot Ġget Ġcall Ġtree Ġfor Ġfile Ġ$ file ") ĊĊĠĠĠĠĠĠĠ Ġreturn Ġcount Methods ( tree , Ġfilter ) ĊĠĠĠ Ġ} Ċ } Ċ