return;
}
response.setContentType("application/json"); //$NON-NLS-1$
response.setCharacterEncoding("UTF-8"); //$NON-NLS-1$
final JSONConfigurationWriter jcw = new JSONConfigurationWriter(response.getWriter());
final Format format;
if (handler.supports(Format.JSON))
{
format = Format.JSON;
}
else
{
format = Format.TEXT;
jcw.startJSONWrapper();
}
printConfigurationInventory(jcw, format, handler);
jcw.endJSONWrapper();
jcw.flush();
}
else
{
if (handler == null)
{