Class ApiConstants.StatusResponseMessages

java.lang.Object
com.bluebell.greenhouse.planter.constants.ApiConstants.StatusResponseMessages
Enclosing class:
ApiConstants

public static final class ApiConstants.StatusResponseMessages extends Object
Common status/response message templates for API results and errors.

Unless otherwise noted, messages including %s or %d are String.format(String, Object...) templates and should be formatted before returning to clients.

Version:
3.0.6
Author:
Stephen Prizio
  • Field Details

    • HTTP_400_PUBLIC_MESSAGE

      public static final String HTTP_400_PUBLIC_MESSAGE
      HTTP 400 public error message.
      See Also:
    • HTTP_404_PUBLIC_MESSAGE

      public static final String HTTP_404_PUBLIC_MESSAGE
      HTTP 404 public error message.
      See Also:
    • HTTP_409_PUBLIC_MESSAGE

      public static final String HTTP_409_PUBLIC_MESSAGE
      HTTP 409 public error message.
      See Also:
    • HTTP_401_PUBLIC_MESSAGE

      public static final String HTTP_401_PUBLIC_MESSAGE
      HTTP 401 public error message.
      See Also:
    • HTTP_403_PUBLIC_MESSAGE

      public static final String HTTP_403_PUBLIC_MESSAGE
      HTTP 403 public error message.
      See Also:
    • HTTP_500_PUBLIC_MESSAGE

      public static final String HTTP_500_PUBLIC_MESSAGE
      HTTP 500 public error message.
      See Also:
    • HTTP_503_PUBLIC_MESSAGE

      public static final String HTTP_503_PUBLIC_MESSAGE
      HTTP 503 public error message.
      See Also:
    • HTTP_000_PUBLIC_MESSAGE

      public static final String HTTP_000_PUBLIC_MESSAGE
      Catch-all public error message.
      See Also: