예제 #1
0
 String srvUrlStem(String host) {
   if (host == null) {
     return null;
   }
   StringBuilder sb = new StringBuilder();
   sb.append(reqURL.getProtocol());
   sb.append("://");
   sb.append(host);
   sb.append(':');
   sb.append(reqURL.getPort());
   return sb.toString();
 }
예제 #2
0
 String srvURL(PeerIdentity peer, ServletDescr d, String params) {
   return srvURLFromStem(peer.getUiUrlStem(reqURL.getPort()), d, params);
 }
예제 #3
0
 String getRequestHost() {
   return reqURL.getHost();
 }