@SpringBootApplication @RestController @EnableConfigurationProperties(value=DummyConfig.class) public class SimpleConfigMapApplication extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleConfigMapApplication.Greeting |
| Constructor and Description |
|---|
SimpleConfigMapApplication() |
| Modifier and Type | Method and Description |
|---|---|
SimpleConfigMapApplication.Greeting |
greeting() |
static void |
main(String[] args) |
public static void main(String[] args)
@GetMapping(value="/greeting") public SimpleConfigMapApplication.Greeting greeting()
Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.