@Controller public class SampleController extends Object
SampleContrller provides the date-string as a response to GET method.| Modifier and Type | Class and Description |
|---|---|
static class |
SampleController.Message
Deprecated.
|
static class |
SampleController.Timestamper |
| Constructor and Description |
|---|
SampleController() |
@RequestMapping(value="/api/sample",
method=GET)
@ResponseBody
public String getSample()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.