|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.antiaction.mayhem.httpd.RequestWorker
public class RequestWorker
HTTP request ObjectWorker Thread.
Constructor Summary | |
---|---|
RequestWorker()
Instantiate empty HTTP Dispatcher object. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Overrides Cloneable. |
boolean |
init(java.util.HashMap props)
Initialize worker. |
void |
run()
Wait for connection. |
void |
sendError(RequestHeadersObject requestHeaders,
int sc,
java.lang.String msg)
|
void |
setExit(boolean _exit)
|
void |
setObjectBroker(IObjectBroker _objectBroker)
Assign a Broker to this worker. |
void |
setRequestHeadersObjectBroker(IObjectBroker _objectBroker)
Assign a RequestHeadersBroker to this worker. |
void |
setThreadPool(IThreadPool _threadPool)
Assign a ThreadPool to this thread. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestWorker()
setObjectBroker(IObjectBroker)
Method Detail |
---|
public boolean init(java.util.HashMap props)
IRequestWorker
init
in interface IRequestWorker
props
- Properties.public java.lang.Object clone()
IThreadWorker
clone
in interface IThreadWorker
clone
in class java.lang.Object
Cloneable
public void setObjectBroker(IObjectBroker _objectBroker)
IRequestWorker
Broker
to this worker.
setObjectBroker
in interface IRequestWorker
_objectBroker
- Associated Broker
for this worker.public void setRequestHeadersObjectBroker(IObjectBroker _objectBroker)
IRequestWorker
RequestHeadersBroker
to this worker.
setRequestHeadersObjectBroker
in interface IRequestWorker
_objectBroker
- Associated RequestHeadersBroker
for this worker.public void setThreadPool(IThreadPool _threadPool)
IThreadWorker
ThreadPool
to this thread.
setThreadPool
in interface IThreadWorker
_threadPool
- Associated ThreadPool
to this thread.public void setExit(boolean _exit)
public void run()
run
in interface java.lang.Runnable
public void sendError(RequestHeadersObject requestHeaders, int sc, java.lang.String msg)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |