if (response.isCommitted() || base_response.getStatus()!=-1)
if (base_request.isHandled())
    public void handle(String target, HttpServletRequest request, HttpServletResponse response, int dispatch) throws IOException, ServletException    {        Handler[] handlers = getHandlers();        if (handlers==null || handlers.length==0)        {            response.sendError(500);        }        else        {            Response base_response = HttpConnection.getCurrentConnection().getResponse();            PathMap map = _contextMap;            if (map!=null && target!=null && target.startsWith("/"))            {                Object contexts = map.getLazyMatches(target);                for (int i=0; i<LazyList.size(contexts); i++)                {                    Map.Entry entry = (Map.Entry)LazyList.get(contexts, i);                    Object list = entry.getValue();                    for (int j=0; j<LazyList.size(list); j++)                    {                        Handler handler = (Handler)LazyList.get(list,j);                        handler.handle(target,request, response, dispatch);                        if (response.isCommitted() || base_response.getStatus()!=-1)                            return;                    }                }            }            else            {                for (int i=0;i<handlers.length;i++)                {                    handlers[i].handle(target,request, response, dispatch);                    if ( response.isCommitted() || base_response.getStatus()>0)                        return;                }            }        }        }