/** * Process an HTTP request using a non blocking <code>socket</code> * @param input the InputStream to read bytes * @param output the OutputStream to write bytes */ protected boolean doProcess(InputStream input, OutputStream output) throws Exception{ do { boolean exitWhile = parseRequest(input, output, false); if (exitWhile) { return exitWhile; } invokeAdapter(); postResponse(); } while(keepAlive && !error && inputBuffer.available() > 0); return error; }