} else if (target instanceof HttpServlet) {
HttpServlet servlet = (HttpServlet) target;
servlet.service(request, response);
} else if (target instanceof Filter) {
Filter filter = (Filter) target;
filter.doFilter(request, response, filterChain);
} else {
logger.warn("invoke called with target " + (target != null ) + " which is not an instance of " + HttpServiceInvoker.class.getSimpleName() + ", " +
HttpServlet.class.getSimpleName() + " or " + Filter.class.getName());
}