org.springframework.cloud.dataflow.server.controller

## Class UiController

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

-     @Controller
       @RequestMapping(value="/dashboard")
      public class UiController
      extends Object

  A simple (web, not REST) controller to trigger a redirect to the index page of the admin ui (which comes packaged as a dependency).
  Author:
    Eric Bottard, Gunnar Hillert

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `WEB_UI_INDEX_PAGE_ROUTE`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `UiController()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `dashboard(String path)` Turn a relative link of the UI app to an absolute one, prepending its path.
    `String` | `index()`

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

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

- - ### Field Detail

    - #### WEB_UI_INDEX_PAGE_ROUTE

          public static final String WEB_UI_INDEX_PAGE_ROUTE

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### UiController

          public UiController()

  - ### Method Detail

    - #### dashboard

          public static String dashboard(String path)

      Turn a relative link of the UI app to an absolute one, prepending its path.
      Parameters:
        `path` - relative UI path
      Returns:
        the absolute UI path

    - #### index

          @RequestMapping
          public String index()

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