Package net.daveray.rewardsapi.rest
package net.daveray.rewardsapi.rest
-
ClassesClassDescriptionErrorController to catch unknown errors causing 404 responses to be thrown by spring-mvc or the RestControllerGlobalExceptionHandler handles exceptions thrown by the RestController by preparing a suitable JSON Map and returning a ResponseEntityRewardsController is the RestController for the API provides the Rest API endpoints - http://localhost:8080/api/v1/rewards - http://localhost:8080/api/v1/rewards/{month} - http://localhost:8080/api/v1/rewards/{month}/{customerId} - http://localhost:8080/api/v1/rewards/{firstMonth}/{customerId}/{lastMonth}