package Ġbr . com . z up . edu . ser gio . pix _ key manager _ grpc Ċ Ċ import Ġreactor . core . publisher . Mono Ċ Ċ abstract Ġclass ĠRequest Middleware < T > Ġ{ ĊĠ Ġprivate Ġvar Ġnext : ĠRequest Middleware < T >? Ġ= Ġnull ĊĊĠ Ġabstract Ġfun Ġcheck ( request : ĠT ): ĠMono < T > ĊĊĠ Ġfun Ġcheck Next ( request : ĠT ): ĠMono < T > Ġ= ĊĠĠĠ Ġnext ?. check ( request ) Ġ?: ĠMono . just ( request ) ĊĊĠ Ġfun Ġlink With ( next : ĠRequest Middleware < T >): ĠRequest Middleware < T > Ġ{ ĊĠĠĠ Ġthis . next Ġ= Ġnext ĊĠĠĠ Ġreturn Ġnext ĊĠ Ġ} Ċ } Ċ