Ejemplo n.º 1
0
 private String buildUrlParamString(Map<String, String> properties) {
   StringBuilder params = new StringBuilder("?inviteId=");
   params.append(properties.get(WF_INSTANCE_ID));
   params.append("&inviteeUserName="******"&siteShortName=");
   params.append(properties.get(wfVarResourceName));
   params.append("&inviteTicket=");
   params.append(properties.get(wfVarInviteTicket));
   return params.toString();
 }
 /**
  * Returns the Ticket as a URL Escaped Parameter fragment, such as "ticket=12%20xx&sig=2". Special
  * characters in the URL are escaped suitable for using as full URL, but any ampersands are not
  * escaped (it's not HTML escaped)
  */
 public String getAsEscapedUrlParameters() {
   String unescaped = getAsUrlParameters();
   return URLEncoder.encodeUri(unescaped);
 }