private String generateSignatureBaseString(String httpsURL,String requestMethod,Map<String,SortedSet<String>> baseParameters){
  URI requestUri=parseUrl(httpsURL);
  String encodedBaseString;
  encodedBaseString=encode(requestMethod.toUpperCase()) + AMP + encode(normalizeUrl(requestUri))+ AMP+ encode(normalizeParameters(httpsURL,baseParameters));
  return encodedBaseString;
}

private String generateSignatureBaseString ( String httpsURL , String requestMethod , Map < String , SortedSet < String > > baseParameters ) { URI requestUri = parseUrl ( httpsURL ) ; String encodedBaseString ; encodedBaseString = encode ( requestMethod . toUpperCase ( ) ) + AMP + encode ( normalizeUrl ( requestUri ) ) + AMP + encode ( normalizeParameters ( httpsURL , baseParameters ) ) ; return encodedBaseString ; }
calculates the signature base url as per section 9 . 1 of the oauth spec . this is a concatenation of http method , request url , and other request parameters .
