示例#1
0
文件: Oauth.java 项目: harold-li/oj
 public String doGet(String url, Map<String, String> params) throws IOException {
   return HttpUtil.doGet(url, params);
 }
示例#2
0
文件: Oauth.java 项目: harold-li/oj
 private String getAuthorizationCode(String authorize, Map<String, String> basic) {
   String query = HttpUtil.buildQuery(basic, DEFAULTCHAESET);
   return authorize + "?" + query;
 }