class RequestListener
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
private HttpConnectionFactory<? extends HttpServerConnection> |
connectionFactory |
private ExceptionLogger |
exceptionLogger |
private java.util.concurrent.ExecutorService |
executorService |
private HttpService |
httpService |
private java.net.ServerSocket |
serversocket |
private SocketConfig |
socketConfig |
private java.util.concurrent.atomic.AtomicBoolean |
terminated |
Constructor and Description |
---|
RequestListener(SocketConfig socketConfig,
java.net.ServerSocket serversocket,
HttpService httpService,
HttpConnectionFactory<? extends HttpServerConnection> connectionFactory,
ExceptionLogger exceptionLogger,
java.util.concurrent.ExecutorService executorService) |
Modifier and Type | Method and Description |
---|---|
boolean |
isTerminated() |
void |
run() |
void |
terminate() |
private final SocketConfig socketConfig
private final java.net.ServerSocket serversocket
private final HttpService httpService
private final HttpConnectionFactory<? extends HttpServerConnection> connectionFactory
private final ExceptionLogger exceptionLogger
private final java.util.concurrent.ExecutorService executorService
private final java.util.concurrent.atomic.AtomicBoolean terminated
public RequestListener(SocketConfig socketConfig, java.net.ServerSocket serversocket, HttpService httpService, HttpConnectionFactory<? extends HttpServerConnection> connectionFactory, ExceptionLogger exceptionLogger, java.util.concurrent.ExecutorService executorService)