public void invoke(Request request, Response response) throws IOException, ServletException {
// Disallow any direct access to resources under OSGI-INF or OSGI-OPT
if (request != null) {
MessageBytes requestPathMB = request.getRequestPathMB();
if ((requestPathMB.startsWithIgnoreCase("/OSGI-INF/", 0))
|| (requestPathMB.equalsIgnoreCase("/OSGI-INF"))
|| (requestPathMB.startsWithIgnoreCase("/OSGI-OPT/", 0))
|| (requestPathMB.equalsIgnoreCase("/OSGI-OPT"))) {
notFound(response);
return;
}