String parsed_frag = null;
try {
parsed_url = new String(s.map.get("url").toArray(), "UTF8");
HTTPParserUrl u = new HTTPParserUrl();
HTTPParser pp = new HTTPParser();
ByteBuffer data = Util.buffer(parsed_url);
pp.parse_url(data,false, u);
parsed_path = u.getFieldValue(HTTPParser.UrlFields.UF_PATH, data);
parsed_query = u.getFieldValue(HTTPParser.UrlFields.UF_QUERY, data);
parsed_frag = u.getFieldValue(HTTPParser.UrlFields.UF_FRAGMENT, data);
} catch (java.io.UnsupportedEncodingException uee) {
throw new RuntimeException(uee);
}