Annotation Interface ChenileResponseCodes


@Retention(RUNTIME) @Target(METHOD) @Documented public @interface ChenileResponseCodes
This is required to state the possible response codes for successful responses.
This is not required for error responses since the exception will already have the response code for error responses.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
     
    int
     
  • Element Details

    • success

      int success
      Default:
      200
    • warning

      int warning
      Default:
      200