Class RootController
java.lang.Object
org.springframework.cloud.dataflow.server.controller.RootController
@RestController
@EnableConfigurationProperties(FeaturesProperties.class)
@ExposesResourceFor(RootResource.class)
public class RootController
extends Object
Controller for the root resource of the Data Flow server.
- Author:
- Patrick Peralta, Ilayaperumal Gopinathan, Glenn Renfro, Mark Fisher, Gunnar Hillert, Corneil du Plessis
-
Constructor Summary
ConstructorsConstructorDescriptionRootController
(org.springframework.hateoas.server.EntityLinks entityLinks) Construct anRootController
. -
Method Summary
Modifier and TypeMethodDescriptioninfo()
Return aRepresentationModel
object containing the resources served by the Data Flow server.
-
Constructor Details
-
RootController
public RootController(org.springframework.hateoas.server.EntityLinks entityLinks) Construct anRootController
.- Parameters:
entityLinks
- holder of links to controllers and their associated entity types
-
-
Method Details
-
info
Return aRepresentationModel
object containing the resources served by the Data Flow server.- Returns:
RepresentationModel
object containing the Data Flow server's resources
-