//TODO : make sure we do this parsing only once
MultivaluedMap<String, String> queries =
JAXRSUtils.getStructuredParams((String)message.get(Message.QUERY_STRING),
"&", true);
SystemQueryHandler sqh = ProviderFactory.getInstance().getQueryHandler(queries);
if (sqh != null) {
// TODO : if Response != null then make sure no invocations happen
// TODO : root resource class needs be selected earlier
sqh.handleQuery(message, null, queries);
}
String acceptContentTypes = (String)message.get(Message.ACCEPT_CONTENT_TYPE);
if (acceptContentTypes == null) {
acceptContentTypes = "*/*";