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