Here is the URL and I wanted to read the value post hash. I did't find a direct way to get the hash value so looking for a indirect way, If I could read the full URL with hash somehow, I can easily parse.
http://localhost:8080/igcallback#access_token=<token>
What I Tried
String access_token = request.getRequestURL()
http://localhost:8080/igcallback
String request_param= request.getParameter("access_token");
null
String header_names = request.getHeaderNames()
[]