这是网址,我想阅读哈希后的值。我没有找到直接获取哈希值的方法,因此寻找间接方式,如果我能以某种方式读取带有哈希的完整URL,我可以轻松解析。
http://localhost:8080/igcallback#access_token=<token>
我尝试过什么
String access_token = request.getRequestURL()
http://localhost:8080/igcallback
String request_param = request.getParameter(“access_token”);
null
String header_names = request.getHeaderNames()
[]
答案 0 :(得分:1)