package Ġcom . velocity . controller Ċ Ċ import Ġorg . springframework . beans . factory . annotation . Autowired Ċ import Ġorg . springframework . boot . Spring Application Ċ import Ġorg . springframework . boot . autoconfigure . info . Project Info Properties Ċ import Ġorg . springframework . boot . info . Build Properties Ċ import Ġorg . springframework . web . bind . annotation . GetMapping Ċ import Ġorg . springframework . web . bind . annotation . PathVariable Ċ import Ġorg . springframework . web . bind . annotation . RestController Ċ Ċ @ RestController Ċ class ĠServer Status Controller Ġ{ ĊĊĠĠĠ Ġ@ GetMapping ( path Ġ= Ġ["/ server / info "]) ĊĠĠĠ Ġfun Ġget Server Info (): ĠString Ġ= ĊĠĠĠĠĠĠĠ Ġ""" ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ<! DOCTYPE ĠHTML ĠPUBLIC Ġ"-// W 3 C // DTD ĠHTML Ġ 3 . 2 // EN "> Ġ Ċ < html > ĊĠĠ Ġ< head > ĊĠĠĠĠĠ Ġ< title > ĠVe locity Ġ</ title > ĊĠĠĠĠĠ Ġ< meta Ġhttp - equiv =" Content - Type " Ġcontent =" text / html ; Ġcharset = iso - 8 8 5 9 - 1 "> ĊĠĠĠĠĠ Ġ< meta Ġname =" author " Ġcontent =" Copyright Ġ 2 0 2 0 ĠPr an ava ĠG ĠR "> ĊĠĠĠĠĠ Ġ< meta Ġname =" keywords " Ġcontent =" Server - Event race "> ĊĠĠĠĠĠ Ġ< meta Ġname =" description " Ġcontent =" Event race Ġportal "> ĊĠĠ Ġ</ head > ĊĠĠ Ġ< body Ġbgcolor ="# ffffff " Ġtext ="# 0 0 0 0 0 0 " Ġlink ="# 0 0 0 0 ff " Ġv link ="# 8 0 0 0 8 0 " Ġal ink ="# ff 0 0 0 0 "> ĊĠĠĠĠĠ Ġ< h 1 Ġalign =" center "> ĠWelcome Ġto ĠVe locity ĠSystem ĠInfo Ġ</ h 1 > ĊĠĠĠĠĠ Ġ< p Ġalign =" center "> ĠThe Ġserver Ġis Ġrunning Ġhealthy Ġ< br > Ġ< br > ĠĊĠĠĠĠĠ ĠSee Ġthe Ġ< a Ġhref =" https :// github . com / pr an av ag il igar / velocity "> ĠGithub Ġpage Ġ</ a > Ġ< br > ĊĠĠĠĠĠ ĠAnd Ġ< a Ġhref =" https :// pr an av ag il igar . github . io / velocity /"> Ġ< i > ĠGithub . io Ġfor Ġdocumentation Ġ</ i ></ a > ĊĠĠ Ġ</ body > Ċ </ html > ĊĠĠĠĠĠĠĠ Ġ""" . trim Indent () Ċ }