code: protected String urlDecode(String token) {
      try {
        return URLDecoder.decode(token, "utf-8");
      }
      catch (UnsupportedEncodingException e) {
        throw new RuntimeException(e);
      }
    }
docs: URL-decode a token.
  
  @param token The token to URL-decode.
  @return The decoded token.