private class HttpServerConnection.Dispatcher extends Object implements Runnable
Modifier | Constructor and Description |
---|---|
private |
HttpServerConnection.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
IOException
private void handlePing(StartLine inLine, Header inHeader, MessageReader reader) throws IOException
IOException
private void handleRequest(StartLine inLine, Header inHeader, MessageReader reader) throws IOException
IOException
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.