Class RatingsAndReviewsServiceResponseCode

java.lang.Object
com.skava.ratingandreviews.constant.ResponseCode
com.skava.ratingandreviews.constant.RatingsAndReviewsServiceResponseCode

public class RatingsAndReviewsServiceResponseCode extends ResponseCode
  • Field Details

  • Constructor Details

    • RatingsAndReviewsServiceResponseCode

      public RatingsAndReviewsServiceResponseCode()
  • Method Details

    • getMessage

      public String getMessage(String responseCode, org.springframework.context.MessageSource messageSource, String locale)
      The Method getMessage. This method populates the response message for the response code from the resource bundle.
      Parameters:
      responseCode - The response code for which the message needs to be determined.
      messageSource - The message source resource bundle.
      locale - The locale string for getting the response message.
      Returns:
      The response message from the resource bundle.