Class RequestListener
java.lang.Object
org.apache.hc.core5.http.impl.bootstrap.RequestListener
- All Implemented Interfaces:
Runnable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final HttpConnectionFactory
<? extends HttpServerConnection> private final ExceptionListener
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, ExceptionListener exceptionListener, ExecutorService executorService) -
Method Summary
-
Field Details
-
socketConfig
-
serverSocket
-
httpService
-
connectionFactory
-
exceptionListener
-
executorService
-
terminated
-
-
Constructor Details
-
RequestListener
public RequestListener(SocketConfig socketConfig, ServerSocket serversocket, HttpService httpService, HttpConnectionFactory<? extends HttpServerConnection> connectionFactory, ExceptionListener exceptionListener, ExecutorService executorService)
-
-
Method Details
-
run
public void run() -
isTerminated
public boolean isTerminated() -
terminate
- Throws:
IOException
-