Class Options
- 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 Summary
Constructors Constructor Description Options()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
getOptions()
Gets the options for the prototype.javax.ws.rs.core.Response
setOptions(String data)
Sets the options for the prototype.
-
-
-
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
-
-