org.apache.tomcat.util.net
Class JIoEndpoint

Handle incoming TCP connections.
This class implement a simple server model: one listener thread accepts on a socket and
creates a new worker thread for each incoming connection.
More advanced Endpoints will reuse the threads, use queues, etc.

setSocketOptions

createWorkerThread

Create (or allocate) and return an available processor for use in
processing a specific HTTP request, if possible. If the maximum
allowed processors have already been created and are in use, return
null instead.