| Constructor and Description |
|---|
NioHttpServer(InetSocketAddress endpoint,
HttpClientConnectionHandler httpClientConnectionHandler)
Accepts connections on the
endpoint; obtains a new Servlett from the httpClientConnectionHandlerFactory for each accepted connection, and then calls Servlett.handleRequest(HttpRequest, de.unkrig.commons.lang.protocol.ConsumerWhichThrows) for each received
request. |
public NioHttpServer(InetSocketAddress endpoint, HttpClientConnectionHandler httpClientConnectionHandler) throws IOException
endpoint; obtains a new Servlett from the httpClientConnectionHandlerFactory for each accepted connection, and then calls Servlett.handleRequest(HttpRequest, de.unkrig.commons.lang.protocol.ConsumerWhichThrows) for each received
request.IOExceptionpublic void start(int threadCount)
NioTcpServer.start(int)Copyright © 2016 Arno Unkrig. All rights reserved.