|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xmlrpc.webserver.ServletConnection
public class ServletConnection
ServletWebServer's
ThreadPool.Task
for handling a single
servlet connection.
Constructor Summary | |
---|---|
ServletConnection(javax.servlet.http.HttpServlet pServlet,
java.net.Socket pSocket)
Creates a new instance. |
Method Summary | |
---|---|
void |
run()
Performs the task. |
void |
shutdown()
Interrupts the task. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServletConnection(javax.servlet.http.HttpServlet pServlet, java.net.Socket pSocket) throws java.io.IOException
pServlet
- The servlet, which ought to handle the request.pSocket
- The socket, to which the client is connected.
java.io.IOException
Method Detail |
---|
public void run() throws java.lang.Throwable
ThreadPool.Task
run
in interface ThreadPool.Task
java.lang.Throwable
- The task failed, and the worker thread won't be used again.public void shutdown() throws java.lang.Throwable
ThreadPool.InterruptableTask
shutdown
in interface ThreadPool.InterruptableTask
java.lang.Throwable
- Shutting down the task failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |