Class PauseResource

java.lang.Object
info.mikethomas.fahservices.service.PauseResource

@RestController("pause") public class PauseResource extends Object
REST Web Service.
Version:
$Id: $Id
Author:
Michael Thomas (mikepthomas@outlook.com)
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.ResponseEntity<String>
    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.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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