package Ġorg . un bro k end ome . aws code artifact . maven proxy Ċ Ċ import Ġio . netty . channel . Channel Initializer Ċ import Ġio . netty . channel . socket . SocketChannel Ċ import Ġio . netty . handler . codec . http . Http Header Names Ċ import Ġio . netty . handler . codec . http . HttpServer Codec Ċ import Ġio . netty . handler . logging . LogLevel Ċ import Ġio . netty . handler . logging . Logging Handler Ċ import Ġorg . un bro k end ome . aws code artifact . maven proxy . netty . handler . Http Access Logging Handler Ċ import Ġorg . un bro k end ome . aws code artifact . maven proxy . netty . handler . Http Connection Close Server Handler Ċ import Ġorg . un bro k end ome . aws code artifact . maven proxy . netty . handler . HttpServer Header Handler Ċ import Ġorg . un bro k end ome . aws code artifact . maven proxy . netty . handler . Http Strip Response Headers Handler Ċ import Ġorg . un bro k end ome . aws code artifact . maven proxy . wire tap . Wire tap Logger Names ĊĊ Ċ /** Ċ Ġ* ĠInitial izer Ġfor Ġnew Ġproxy Ġfrontend Ġchannels . Ċ Ġ* Ċ Ġ* Ġ@ param Ġrequest Handler Ġa Ġ[ Proxy RequestHandler ] Ġfor Ġhandling Ġincoming Ġrequests Ċ Ġ*/ Ċ internal Ġclass ĠProxy Frontend Channel Initializer ( ĊĠĠĠ Ġwire tap LogLevel : ĠLogLevel Ġ= ĠLogLevel . TRACE , ĊĠĠĠ Ġprivate Ġval Ġrequest Handler : ĠProxy RequestHandler Ċ ) Ġ: ĠChannel Initializer < SocketChannel >() Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġhttp Logging Handler Ġ= ĠLogging Handler ( Wire tap Logger Names . Frontend Http , Ġwire tap LogLevel ) ĊĠĠĠ Ġprivate Ġval Ġhttp Server Header Handler Ġ= ĠHttp Server Header Handler () ĊĠĠĠ Ġprivate Ġval Ġhttp Strip Response Headers Handler Ġ= ĠHttp Strip Response Headers Handler ( Http Header Names . CONNECTION ) ĊĊĠĠĠ Ġoverride Ġfun Ġinit Channel ( ch : ĠSocket Channel ) Ġ{ ĊĠĠĠĠĠĠĠ Ġch . pipeline (). add Last ( ĊĠĠĠĠĠĠĠĠĠĠĠ ĠHttp Server Codec (), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠHttp Access Logging Handler (), ĊĠĠĠĠĠĠĠĠĠĠĠ Ġhttp Logging Handler , ĊĠĠĠĠĠĠĠĠĠĠĠ ĠHttp Connection Close Server Handler (), ĊĠĠĠĠĠĠĠĠĠĠĠ Ġhttp Server Header Handler , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġhttp Strip Response Headers Handler , ĊĠĠĠĠĠĠĠĠĠĠĠ ĠProxy Frontend Handler ( request Handler ) ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} Ċ } Ċ