com.antiaction.mayhem.httpd
Class RequestHeadersThreadWorker

java.lang.Object
  extended by com.antiaction.mayhem.httpd.RequestHeadersThreadWorker
All Implemented Interfaces:
IThreadWorker, java.lang.Cloneable, java.lang.Runnable

public class RequestHeadersThreadWorker
extends java.lang.Object
implements IThreadWorker

HTTP request headers ObjectWorker Thread.

Version:
1.00
Author:
Nicholas Clarke

Constructor Summary
RequestHeadersThreadWorker()
           
 
Method Summary
 java.lang.Object clone()
          Overrides Cloneable.
 void init(java.util.HashMap props)
           
 void run()
          Wait for connection.
 void sendError(int sc, java.lang.String msg)
           
 void setHttpdService(Service service)
           
 void setObjectBroker(IObjectBroker _objectBroker)
           
 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

RequestHeadersThreadWorker

public RequestHeadersThreadWorker()
Method Detail

init

public void init(java.util.HashMap props)

setObjectBroker

public void setObjectBroker(IObjectBroker _objectBroker)

setHttpdService

public void setHttpdService(Service service)

clone

public java.lang.Object clone()
Description copied from interface: IThreadWorker
Overrides Cloneable.

Specified by:
clone in interface IThreadWorker
Overrides:
clone in class java.lang.Object
Returns:
a clone of this instance.
See Also:
Cloneable

setThreadPool

public void setThreadPool(IThreadPool _threadPool)
Description copied from interface: IThreadWorker
Assign a ThreadPool to this thread.

Specified by:
setThreadPool in interface IThreadWorker
Parameters:
_threadPool - Associated ThreadPool to this thread.

run

public void run()
Wait for connection.

Specified by:
run in interface java.lang.Runnable

sendError

public void sendError(int sc,
                      java.lang.String msg)


Copyright © 2001-2004 Nicholas Clarke. All Rights Reserved.