com.ibm.commerce.rest.javadoc

Class ResponseType

  • java.lang.Object
    • com.ibm.commerce.rest.javadoc.ResponseType
    • Field Detail

      • XML

        public static final ResponseType XML
        The XML response type format.
      • JSON

        public static final ResponseType JSON
        The JSON response type format.
    • Constructor Detail

      • ResponseType

        public ResponseType()
        Default empty constructor.
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Specified by:
        getDescription in interface Value
        Returns:
        The description.
      • getValue

        public java.lang.String getValue()
        Specified by:
        getValue in interface Value
        Returns:
        The value.
      • getValues

        public Value[] getValues(java.util.Map<java.lang.String,java.lang.Object> context)
        Description copied from interface: ValueProvider
        Fetch the valid values
        Specified by:
        getValues in interface ValueProvider
        Parameters:
        context - the context in which to request the values
        Returns:
        The valid values