264265266267268269270271272273274
ExchangeServer server = serverMap.get(key); if (server == null) { serverMap.put(key, createServer(url)); } else { //server支持reset,配合override功能使用 server.reset(url); } } } private ExchangeServer createServer(URL url) {
263264265266267268269270271272273
ExchangeServer server = serverMap.get(key); if (server == null) { serverMap.put(key, getServer(url)); } else { //server支持reset,配合override功能使用 server.reset(url); } } } private ExchangeServer getServer(URL url) {