Class InfoResource

All Implemented Interfaces:
BasicUniversalConfig, DefaultConfig, DefaultHtmlConfig

public class InfoResource extends BasicRestResource
Child-resource flavor of the /info endpoint.

Mounts as a routed child via @Rest(children=InfoResource.class) under the subtree /info and delegates to a shared InfoManager worker — the same logic the mixin flavor uses, so the two forms cannot drift. Extends BasicRestResource so the returned bean serializes via the BasicUniversalConfig set (mirrors HealthResource).

See Also:
Since:
10.0.0
  • Constructor Details

  • Method Details

    • getInfo

      public JsonMap getInfo(RestRequest req)
      [GET /] - Application build/version/git metadata from the manifest.
      Parameters:
      req - The HTTP request.
      Returns:
      The manifest main attributes as a sorted map (empty when no manifest is registered).