public boolean handleRequest()
throws IOException
{
boolean isInvocation = false;
Server server = getServer();
Thread thread = Thread.currentThread();
ClassLoader oldLoader = thread.getContextClassLoader();
long startTime = 0;
long startReadBytes = getRawRead().getPosition();
long startWriteBytes = getRawWrite().getPosition();
try {
thread.setContextClassLoader(server.getClassLoader());
startRequest(server.allocateHttpBuffer());
if (! parseRequest()) {
if (log.isLoggable(Level.FINER)) {
log.finer(dbgId() + " empty request");
}