Class Registry
- java.lang.Object
-
- org.palladiosimulator.protocom.framework.java.ee.api.http.Registry
-
public class Registry extends Object
API class for managing the registry.
-
-
Constructor Summary
Constructors Constructor Description Registry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
getLocation()
Gets the location of the registry.javax.ws.rs.core.Response
setLocation(String raw)
Sets the location of the registry.
-
-
-
Method Detail
-
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
public javax.ws.rs.core.Response setLocation(String raw)
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
-
-