package Ġcom . example Ċ Ċ import Ġorg . springframework . web . bind . annotation . PathVariable Ċ import Ġorg . springframework . web . bind . annotation . RequestMapping Ċ import Ġorg . springframework . web . bind . annotation . RestController Ċ Ċ @ RestController Ċ @ RequestMapping ("/ hello ") Ċ class ĠHello Controller Ġ{ ĊĊĠĠĠ Ġ@ RequestMapping ("/ { name }") ĊĠĠĠ Ġfun Ġhello (@ PathVariable Ġname : ĠString ): ĠString Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġ" Hello Ġ". plus ( name ) ĊĠĠĠ Ġ} Ċ Ċ }