Class PauseResource
java.lang.Object
info.mikethomas.fahservices.service.PauseResource
REST Web Service.
- Version:
- $Id: $Id
- Author:
- Michael Thomas (mikepthomas@outlook.com)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<String> getPause()
Retrieves representation of an instance of info.mikethomas.fahservices.service.PauseResource.org.springframework.http.ResponseEntity
<String> getPause
(int slot) Retrieves representation of an instance of info.mikethomas.fahservices.service.PauseResource.
-
Constructor Details
-
PauseResource
public PauseResource()
-
-
Method Details
-
getPause
@RequestMapping(value="/pause", method=GET, produces={"application/json","application/xml","text/xml"}) @ResponseBody public org.springframework.http.ResponseEntity<String> getPause()Retrieves representation of an instance of info.mikethomas.fahservices.service.PauseResource.- Returns:
- an instance of java.lang.String
-
getPause
@RequestMapping(value="/pause/{slot}", method=GET, produces={"application/json","application/xml","text/xml"}) @ResponseBody public org.springframework.http.ResponseEntity<String> getPause(@PathVariable("slot") int slot) Retrieves representation of an instance of info.mikethomas.fahservices.service.PauseResource.- Parameters:
slot
- Slot number- Returns:
- an instance of java.lang.String
-