Package org.apache.http.impl.bootstrap
Class Worker
- java.lang.Object
-
- org.apache.http.impl.bootstrap.Worker
-
- All Implemented Interfaces:
java.lang.Runnable
class Worker extends java.lang.Object implements java.lang.Runnable
- Since:
- 4.4
-
-
Field Summary
Fields Modifier and Type Field Description private HttpServerConnection
conn
private ExceptionLogger
exceptionLogger
private HttpService
httpservice
-
Constructor Summary
Constructors Constructor Description Worker(HttpService httpservice, HttpServerConnection conn, ExceptionLogger exceptionLogger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpServerConnection
getConnection()
void
run()
-
-
-
Field Detail
-
httpservice
private final HttpService httpservice
-
conn
private final HttpServerConnection conn
-
exceptionLogger
private final ExceptionLogger exceptionLogger
-
-
Constructor Detail
-
Worker
Worker(HttpService httpservice, HttpServerConnection conn, ExceptionLogger exceptionLogger)
-
-
Method Detail
-
getConnection
public HttpServerConnection getConnection()
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
-