if (pluginName != null && !pluginName.isEmpty()) {
Plugin plugin = pluginManager.getPlugin(pluginName);
if (plugin != null && plugin instanceof PluginWebSupport) {
found = true;
PluginWebSupport pluginWeb = (PluginWebSupport) plugin;
pluginWeb.webService(request, response);
}
}
if (!found) {
// send 404 not found
response.sendError(HttpServletResponse.SC_NOT_FOUND);