Package uk.ac.manchester.spinnaker.alloc
Class ServiceConfig.URLPathMaker
java.lang.Object
uk.ac.manchester.spinnaker.alloc.ServiceConfig.URLPathMaker
- Enclosing class:
- ServiceConfig
Used for making paths to things in the service in contexts where we can't
ask for the current request session to help. An example of such a context
is in configuring the access control rules on the paths, which has to be
done prior to any message session existing.
- Author:
- Donal Fellows
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
URLPathMaker
public URLPathMaker()
-
-
Method Details
-
systemUrl
Create a full local URL for the system components, bearing in mind the deployment configuration.- Parameters:
suffix
- The URL suffix; should not start with/
- Returns:
- The full local URL (absolute path, without protocol or host)
-
serviceUrl
Create a full local URL for web service components, bearing in mind the deployment configuration.- Parameters:
suffix
- The URL suffix; should not start with/
- Returns:
- The full local URL (absolute path, without protocol or host)
-