Class Options


  • public class Options
    extends Object
    The Options class provides HTTP APIs for retrieving and setting the prototype's options.
    • Constructor Detail

      • Options

        public Options()
    • Method Detail

      • getOptions

        public javax.ws.rs.core.Response getOptions()
        Gets the options for the prototype.
        Returns:
        a JSON object containing previously stored options or the default options.
      • setOptions

        public javax.ws.rs.core.Response setOptions​(String data)
        Sets the options for the prototype.
        Parameters:
        data - a JSON string containing the new option data
        Returns:
        an HTTP 204 response if the request could be fulfilled