package Ġcom . small Ċ Ċ import Ġorg . springframework . http . HttpStatus Ċ import Ġorg . springframework . web . bind . annotation .* Ċ import Ġreactor . core . publisher . Flux Ċ Ċ @ RestController Ċ @ RequestMapping ("/") Ċ class ĠPerson Controller Ġ{ ĊĠĠĠ Ġ@ GetMapping ("/") ĊĠĠĠ Ġ@ ResponseStatus ( HttpStatus . OK ) ĊĠĠĠ Ġfun ĠgetAll (): ĠFlux < Person > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠFlux . just ( Person (" John ", Ġ" Do e ", Ġ 1 2 ), ĠPerson (" A mand a ", Ġ" Do e ", Ġ 1 4 )) ĊĠĠĠ Ġ} Ċ } Ċ