Class QueueInfoResource
java.lang.Object
info.mikethomas.fahservices.service.QueueInfoResource
REST Web Service.
- Version:
- $Id: $Id
- Author:
- Michael Thomas (mikepthomas@outlook.com)
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
QueueInfoResource
public QueueInfoResource()
-
-
Method Details
-
getQueueInfo
@RequestMapping(value="/queue-info", method=GET, produces={"application/json","application/xml","text/xml"}) @ResponseBody public org.springframework.http.ResponseEntity<List<info.mikethomas.jfold.unit.Unit>> getQueueInfo() throws info.mikethomas.jfold.exceptions.QueueInfoExceptionRetrieves representation of an instance of info.mikethomas.fahservices.service.QueueInfoResource.- Returns:
- an instance of java.lang.String
- Throws:
info.mikethomas.jfold.exceptions.QueueInfoException
- if any.
-
handleException
@ExceptionHandler(info.mikethomas.jfold.exceptions.QueueInfoException.class) @ResponseStatus(INTERNAL_SERVER_ERROR) public org.springframework.http.ResponseEntity<Exception> handleException(Exception ex) handleException.
- Parameters:
ex
- aException
object- Returns:
- a
ResponseEntity
object
-