Search in sources :

Example 1 with NotFoundFilterChain

use of org.opennms.container.web.felix.base.internal.dispatch.NotFoundFilterChain in project opennms by OpenNMS.

the class DispatcherServlet method service.

@Override
public void service(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
    final ServletRequestEvent sre = new ServletRequestEvent(getServletContext(), req);
    this.controller.getRequestListener().requestInitialized(sre);
    try {
        req = new AttributeEventRequest(getServletContext(), this.controller.getRequestAttributeListener(), req);
        this.controller.getDispatcher().dispatch(req, res, new NotFoundFilterChain());
    } finally {
        this.controller.getRequestListener().requestDestroyed(sre);
    }
}
Also used : ServletRequestEvent(javax.servlet.ServletRequestEvent) NotFoundFilterChain(org.opennms.container.web.felix.base.internal.dispatch.NotFoundFilterChain)

Aggregations

ServletRequestEvent (javax.servlet.ServletRequestEvent)1 NotFoundFilterChain (org.opennms.container.web.felix.base.internal.dispatch.NotFoundFilterChain)1