package Ġno . nav . sy fo . util Ċ Ċ import Ġio . ktor . application . Application Call Ċ import Ġio . ktor . application . call Ċ import Ġio . ktor . util . pipeline . Pipeline Context Ċ import Ġnet . logstash . log back . argument . Structured Arguments Ċ import Ġjava . util .* Ċ Ċ const Ġval ĠNAV _ CALL _ ID _ HEADER Ġ= Ġ" Nav - Call - Id " Ċ fun ĠPipeline Context < out ĠUnit , ĠApplication Call >. get Call Id (): ĠString Ġ{ ĊĠĠĠ Ġreturn Ġthis . call . request . headers [ NAV _ CALL _ ID _ HEADER ]. toString () Ċ } Ċ fun Ġcall Id Argument ( call Id : ĠString ) Ġ= ĠStruct ured Arguments . key Value (" call Id ", Ġcall Id ) !! Ċ Ċ const Ġval ĠNAV _ CON SUM ER _ ID _ HEADER Ġ= Ġ" Nav - Consumer - Id " Ċ fun ĠPipeline Context < out ĠUnit , ĠApplication Call >. get Consumer Id (): ĠString Ġ{ ĊĠĠĠ Ġreturn Ġthis . call . request . headers [ NAV _ CON SUM ER _ ID _ HEADER ]. toString () Ċ } Ċ fun Ġconsumer Id Argument ( consumer Id : ĠString ) Ġ= ĠStruct ured Arguments . key Value (" consumer Id ", Ġconsumer Id ) !! Ċ