uk.co.lothianproductions.httpd.handler.impl
Class SocketRequestHandler
java.lang.Object
uk.co.lothianproductions.httpd.handler.impl.SocketRequestHandler
- All Implemented Interfaces:
- RequestHandler, java.lang.Runnable
- Direct Known Subclasses:
- HTTPRequestHandler
- public class SocketRequestHandler
- extends java.lang.Object
- implements RequestHandler
- Version:
- $Revision: 1.5 $, $Date: 2004/01/02 19:00:37 $
- Author:
- Aidan Fitzpatrick
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INTERNAL_BUFFER_SIZE
public static final int INTERNAL_BUFFER_SIZE
- See Also:
- Constant Field Values
mServer
protected java.net.Socket mServer
mXMLPluginConfig
protected XMLPluginConfig mXMLPluginConfig
SocketRequestHandler
protected SocketRequestHandler()
SocketRequestHandler
public SocketRequestHandler(XMLPluginConfig config,
java.net.Socket server)
run
public void run()
- Specified by:
run in interface java.lang.Runnable
handleRequest
public void handleRequest()
- Specified by:
handleRequest in interface RequestHandler
handleProcessing
public Document handleProcessing(char[] method,
char[] uri,
char[][] header,
char[] message)
throws ConfigException,
DocumentRenderException,
DocumentNotFoundException,
DocumentTimeoutException,
DocumentRetrievalException
- Specified by:
handleProcessing in interface RequestHandler
- Throws:
ConfigException
DocumentRenderException
DocumentNotFoundException
DocumentTimeoutException
DocumentRetrievalException
handleResponse
public void handleResponse(char[] method,
char[] uri,
char[][] header,
char[] message)
throws java.io.IOException,
ConfigException
- Specified by:
handleResponse in interface RequestHandler
- Throws:
java.io.IOException
ConfigException
closeRequest
public void closeRequest()