* @param responder request responder
* @throws ServiceRegistrationException thrown if error occurs, for example path is already taken
*/
public void registerRequestResponder(String contextPath, RequestResponder responder) throws ServiceRegistrationException {
if (services.putIfAbsent(contextPath, responder) != null) {
throw new ServiceRegistrationException(String.format("Specified context path [%s] is already taken", contextPath));
}
}