Class Registry
java.lang.Object
org.palladiosimulator.protocom.framework.java.ee.api.http.Registry
API class for managing the registry.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
Gets the location of the registry.javax.ws.rs.core.Response
setLocation
(String raw) Sets the location of the registry.
-
Constructor Details
-
Registry
public Registry()
-
-
Method Details
-
getLocation
public javax.ws.rs.core.Response getLocation()Gets the location of the registry.- Returns:
- a JSON object containing the location of the registry
-
setLocation
Sets the location of the registry.- Parameters:
raw
- a string containing the location of the registry- Returns:
- an HTTP 204 response if the location was set successfully
-