package Ġuk . gov . just ice . digital . h mp ps . h mp ps restricted pat ients api . health Ċ Ċ import Ġorg . springframework . beans . factory . annotation . Autowired Ċ import Ġorg . springframework . beans . factory . annotation . Value Ċ import Ġorg . springframework . stereotype . Component Ċ import Ġorg . springframework . web . reactive . function . client . Web Client Ċ import Ġjava . time . Duration Ċ Ċ @ Component Ċ class ĠPr ison Api HealthCheck Ġ@ Autowired Ġconstructor ( ĊĠ Ġpr ison Api No Auth Web Client : ĠWeb Client , ĊĠ Ġ@ Value ("\ ${ api . health - timeout - ms }") Ġtimeout : ĠDuration Ċ ) Ġ: ĠHealth Check ( pr ison Api No Auth Web Client , Ġtimeout ) Ċ