Package org.bremersee.http.codec.xml.app
Class XmlController
- java.lang.Object
-
- org.bremersee.http.codec.xml.app.XmlController
-
@RestController public class XmlController extends Object
The xml controller.- Author:
- Christian Bremer
-
-
Constructor Summary
Constructors Constructor Description XmlController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Flux<Address>postAddress(Address model)Post address flux.reactor.core.publisher.Flux<Company>postCompany(Company model)Post company flux.reactor.core.publisher.Flux<Person>postPerson(Person model)Post person flux.reactor.core.publisher.Flux<Vehicle>postVehicle(Vehicle model)Post vehicle flux.reactor.core.publisher.Flux<Vehicles>postVehicles(Vehicles model)Post vehicles flux.
-
-
-
Method Detail
-
postPerson
@PostMapping(path="/person", consumes="application/xml", produces="application/xml") public reactor.core.publisher.Flux<Person> postPerson(@RequestBody Person model)Post person flux.- Parameters:
model- the model- Returns:
- the flux
-
postVehicle
@PostMapping(path="/vehicle", consumes="application/xml", produces="application/xml") public reactor.core.publisher.Flux<Vehicle> postVehicle(@RequestBody Vehicle model)Post vehicle flux.- Parameters:
model- the model- Returns:
- the flux
-
postVehicles
@PostMapping(path="/vehicles", consumes="application/xml", produces="application/xml") public reactor.core.publisher.Flux<Vehicles> postVehicles(@RequestBody Vehicles model)Post vehicles flux.- Parameters:
model- the model- Returns:
- the flux
-
postCompany
@PostMapping(path="/company", consumes="application/xml", produces="application/xml") public reactor.core.publisher.Flux<Company> postCompany(@RequestBody Company model)Post company flux.- Parameters:
model- the model- Returns:
- the flux
-
-