class RequestListener extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
private HttpConnectionFactory<? extends HttpServerConnection> |
connectionFactory |
private ExceptionLogger |
exceptionLogger |
private ExecutorService |
executorService |
private HttpService |
httpService |
private ServerSocket |
serversocket |
private SocketConfig |
socketConfig |
private AtomicBoolean |
terminated |
Constructor and Description |
---|
RequestListener(SocketConfig socketConfig,
ServerSocket serversocket,
HttpService httpService,
HttpConnectionFactory<? extends HttpServerConnection> connectionFactory,
ExceptionLogger exceptionLogger,
ExecutorService executorService) |
private final SocketConfig socketConfig
private final ServerSocket serversocket
private final HttpService httpService
private final HttpConnectionFactory<? extends HttpServerConnection> connectionFactory
private final ExceptionLogger exceptionLogger
private final ExecutorService executorService
private final AtomicBoolean terminated
public RequestListener(SocketConfig socketConfig, ServerSocket serversocket, HttpService httpService, HttpConnectionFactory<? extends HttpServerConnection> connectionFactory, ExceptionLogger exceptionLogger, ExecutorService executorService)
public boolean isTerminated()
public void terminate() throws IOException
IOException
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses