@RequestMapping(produces="application/json;charset=UTF-8",
path="/api")
@RestController
public class ApiController
extends java.lang.Object
Constructor and Description |
---|
ApiController(Simulation simulation) |
Modifier and Type | Method and Description |
---|---|
SimulationStartedEvent |
startSimulation() |
@Autowired public ApiController(Simulation simulation)
@PostMapping(value="/start") public SimulationStartedEvent startSimulation() throws java.lang.Exception
java.lang.Exception
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.