@RestController @RequestMapping(value="/api/catalogs") public class CatalogController extends AbstractOhfController
Modifier and Type | Field and Description |
---|---|
static String |
REST_URI |
BASE_PATH
Constructor and Description |
---|
CatalogController() |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<CollectionWrapper<CatalogEntryRpc>> |
getCatalog(String name)
Get full catalog identified by its name.
|
getMessage, getMessageEN, getMessageSource, pageContentList
public static final String REST_URI
@GetMapping(path="/{name}", produces={"application/xml","application/json"}) public org.springframework.http.ResponseEntity<CollectionWrapper<CatalogEntryRpc>> getCatalog(@PathVariable String name)
name
- the name of catalog.Copyright © 2018 Pivotal Software, Inc.. All rights reserved.