org.springframework.cloud.dataflow.server.controller

## Class RootController

- java.lang.Object
- - org.springframework.cloud.dataflow.server.controller.RootController

-     @RestController
       @EnableConfigurationProperties(value=FeaturesProperties.class)
       @ExposesResourceFor(value=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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RootController(org.springframework.hateoas.server.EntityLinks entityLinks)` Construct an `RootController`.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `RootResource` | `info()` Return a `RepresentationModel` object containing the resources served by the Data Flow server.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RootController

          public RootController(org.springframework.hateoas.server.EntityLinks entityLinks)

      Construct an `RootController`.
      Parameters:
        `entityLinks` - holder of links to controllers and their associated entity types

  - ### Method Detail

    - #### info

          @RequestMapping(value="/")
          public RootResource info()

      Return a `RepresentationModel` object containing the resources served by the Data Flow server.
      Returns:
        `RepresentationModel` object containing the Data Flow server's resources

Copyright © 2021 Pivotal Software, Inc.. All rights reserved.