if (0 < clusterName.length()) {
metaData.addValue("Scsp-Proxy-Cluster", clusterName);
}
ScspRequestHandler client = new ScspRequestHandler(httpCli, new LocatorRedirectHandler(subLocator), 3, 300, null);
BasicScspResponseOutputStream output = new BasicScspResponseOutputStream(null);
try {
client.read("", metaData, "", output);
}
catch (Exception ex) {
throw new NoCastorNodesLocatedException(String.format("Exception when communicating with SCSP Proxy (%s)", ex.toString()));
}