public class LightHttpServer
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LightHttpServer.HttpMessageWriter
Similar in spirit to
HttpMessageReader which assumes ASCII for all messages as
a performance optimization. |
| Constructor and Description |
|---|
LightHttpServer(HandlerRegistry handlerRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
serve(SocketLike socket) |
static void |
writeResponseMessage(LightHttpResponse response,
LightHttpServer.HttpMessageWriter writer) |
public LightHttpServer(HandlerRegistry handlerRegistry)
public void serve(SocketLike socket) throws java.io.IOException
java.io.IOExceptionpublic static void writeResponseMessage(LightHttpResponse response, LightHttpServer.HttpMessageWriter writer) throws java.io.IOException
java.io.IOException