package Ġde . be ba uer . web flux . handler . dsl Ċ Ċ import Ġarrow . core . Some Ċ import Ġarrow . core . getOrElse Ċ import Ġorg . springframework . web . reactive . function . server . Server Response Ċ import Ġreactor . core . publisher . Mono Ċ Ċ /** Ċ Ġ* ĠTermin ating Ġcomplete Ġoperation . ĠThis Ġone Ġallows Ġno Ġfurther Ġchaining Ġof Ġcomplet ions . Ċ Ġ*/ Ċ abstract Ġclass ĠTermin ating Complete Operation Ġ: ĠBase Complete Operation () Ġ{ ĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠResponse Ġbuilder Ġfunction Ġthat Ġproduces Ġthe Ġ[ Mono ]< [ Server Response ] >. ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġabstract Ġval Ġresponse Builder : Ġ() Ġ-> ĠMono < Server Response > ĊĊĠĠĠ Ġoverride Ġval Ġresponse : ĠMono < Server Response > ĊĠĠĠĠĠĠĠ Ġget () Ġ= Ġparent . map Ġ{ Ġit . combine ( Some ( response Builder )) Ġ} ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. getOrElse Ġ{ Ġresponse Builder () Ġ} Ċ }