package Ġcom . github . hy ey oom . spring examples . w sex ample Ċ Ċ import Ġorg . springframework . boot . autoconfigure . SpringBoot Application Ċ import Ġorg . springframework . boot . run Application Ċ import Ġorg . springframework . stereotype . Controller Ċ import Ġorg . springframework . web . bind . annotation . GetMapping Ċ Ċ @ Controller Ċ @ SpringBoot Application Ċ class ĠW s Example Application Ġ{ ĊĠĠĠ Ġ@ GetMapping ("/") ĊĠĠĠ Ġfun Ġindex (): ĠString Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġ" redirect :/ chat / rooms " ĊĠĠĠ Ġ} Ċ } Ċ Ċ fun Ġmain ( args : ĠArray < String >) Ġ{ ĊĠĠĠ Ġrun Application < Ws Example Application >(* args ) Ċ } Ċ