code: public void dispatchRequest(HttpRequest httpRequest) throws IOException {
  		for (HttpRequestHandler handler : handlers) {
  			HttpResponse resp = handler.handleRequest(httpRequest);
  			if (resp != null) {
  				httpRequest.getSession().sendResponse(resp);
  				return;
  			}
  		}
  		if (!hasCapability(HttpCapability.THREADEDRESPONSE)) {
  			// If it's still here nothing handled it.
  			httpRequest.getSession().sendResponse(new HttpResponse(HttpStatus.NOT_FOUND, HttpStatus.NOT_FOUND.toString()));
  		}
  	}
docs: Dispatch a request to all handlers
  
  @param httpRequest The request to dispatch
  @throws IOException If an error occurs while sending the response from the
  handler