protected String getSortedAndEncodedParams(OAuthRequest request) {
ParameterListExt params = new ParameterListExt();
params.addAll(request.getQueryStringParams());
params.addAll(request.getBodyParams());
params.addAll(new ParameterList(request.getOauthParameters()));
System.out.println(params.remove(new Parameter("oauth_token", "")));
return params.sort().asOauthBaseString();
}