private class HttpServerConnection.Dispatcher extends Object implements Runnable
| Modifier | Constructor and Description |
|---|---|
private |
Dispatcher() |
| Modifier and Type | Method and Description |
|---|---|
private void |
handleBadRequest(StartLine inLine,
Header inHeader,
MessageReader reader)
Handles unacceptable HTTP request.
|
private void |
handlePing(StartLine inLine,
Header inHeader,
MessageReader reader)
Handles ping request.
|
private void |
handleRequest(StartLine inLine,
Header inHeader,
MessageReader reader)
Handles "standard" (i.e., dispatchable) request.
|
void |
run()
Dispatch loop.
|
private void handleBadRequest(StartLine inLine, Header inHeader, MessageReader reader) throws IOException
IOExceptionprivate void handlePing(StartLine inLine, Header inHeader, MessageReader reader) throws IOException
IOExceptionprivate void handleRequest(StartLine inLine, Header inHeader, MessageReader reader) throws IOException
IOExceptionCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.