com.ibm.commerce.rest.javadoc

Annotation Type ResponseCode



  • @Retention(value=RUNTIME)
    public @interface ResponseCode
    Documents the expected response codes of a REST API.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element and Description
      int code 
      java.lang.String reason 
    • Element Detail

      • code

        public abstract int code
        Returns:
        The HTTP return code.
      • reason

        public abstract java.lang.String reason
        Returns:
        The reason why this code might be returned.