Package org.apache.http.impl.bootstrap
Class RequestListener
java.lang.Object
org.apache.http.impl.bootstrap.RequestListener
- All Implemented Interfaces:
Runnable
- Since:
- 4.4
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final HttpConnectionFactory
<? extends HttpServerConnection> private final ExceptionLogger
private final ExecutorService
private final HttpService
private final ServerSocket
private final SocketConfig
private final AtomicBoolean
-
Constructor Summary
ConstructorsConstructorDescriptionRequestListener
(SocketConfig socketConfig, ServerSocket serversocket, HttpService httpService, HttpConnectionFactory<? extends HttpServerConnection> connectionFactory, ExceptionLogger exceptionLogger, ExecutorService executorService) -
Method Summary
-
Field Details
-
socketConfig
-
serversocket
-
httpService
-
connectionFactory
-
exceptionLogger
-
executorService
-
terminated
-
-
Constructor Details
-
RequestListener
public RequestListener(SocketConfig socketConfig, ServerSocket serversocket, HttpService httpService, HttpConnectionFactory<? extends HttpServerConnection> connectionFactory, ExceptionLogger exceptionLogger, ExecutorService executorService)
-
-
Method Details
-
run
public void run() -
isTerminated
public boolean isTerminated() -
terminate
- Throws:
IOException
-