Package org.apache.http.impl.bootstrap
Class RequestListener
- java.lang.Object
-
- org.apache.http.impl.bootstrap.RequestListener
-
- All Implemented Interfaces:
java.lang.Runnable
class RequestListener extends java.lang.Object implements java.lang.Runnable- Since:
- 4.4
-
-
Field Summary
Fields Modifier and Type Field Description private HttpConnectionFactory<? extends HttpServerConnection>connectionFactoryprivate ExceptionLoggerexceptionLoggerprivate java.util.concurrent.ExecutorServiceexecutorServiceprivate HttpServicehttpServiceprivate java.net.ServerSocketserversocketprivate SocketConfigsocketConfigprivate java.util.concurrent.atomic.AtomicBooleanterminated
-
Constructor Summary
Constructors Constructor Description RequestListener(SocketConfig socketConfig, java.net.ServerSocket serversocket, HttpService httpService, HttpConnectionFactory<? extends HttpServerConnection> connectionFactory, ExceptionLogger exceptionLogger, java.util.concurrent.ExecutorService executorService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisTerminated()voidrun()voidterminate()
-
-
-
Field Detail
-
socketConfig
private final SocketConfig socketConfig
-
serversocket
private final java.net.ServerSocket serversocket
-
httpService
private final HttpService httpService
-
connectionFactory
private final HttpConnectionFactory<? extends HttpServerConnection> connectionFactory
-
exceptionLogger
private final ExceptionLogger exceptionLogger
-
executorService
private final java.util.concurrent.ExecutorService executorService
-
terminated
private final java.util.concurrent.atomic.AtomicBoolean terminated
-
-
Constructor Detail
-
RequestListener
public RequestListener(SocketConfig socketConfig, java.net.ServerSocket serversocket, HttpService httpService, HttpConnectionFactory<? extends HttpServerConnection> connectionFactory, ExceptionLogger exceptionLogger, java.util.concurrent.ExecutorService executorService)
-
-