java.lang.Object
org.palladiosimulator.protocom.framework.java.ee.api.http.Options

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

    • Options

      public Options()
  • Method Details

    • 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