uk.co.lothianproductions.httpd.handler.impl
Class HTTPRequestHandler
java.lang.Object
uk.co.lothianproductions.httpd.handler.impl.SocketRequestHandler
uk.co.lothianproductions.httpd.handler.impl.HTTPRequestHandler
- All Implemented Interfaces:
- RequestHandler, java.lang.Runnable
- Direct Known Subclasses:
- HTTPDebugRequestHandler
- public class HTTPRequestHandler
- extends SocketRequestHandler
Partial implementation of the RequestHandler for HTTP.
- Version:
- $Revision: 1.7 $, $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 |
RESPONSE_OKAY
public static final char[] RESPONSE_OKAY
RESPONSE_NOT_FOUND
public static final char[] RESPONSE_NOT_FOUND
RESPONSE_ERROR
public static final char[] RESPONSE_ERROR
RESPONSE_CANT_SERVICE
public static final char[] RESPONSE_CANT_SERVICE
READ_MORE_DATA_INTERVAL
public static final int READ_MORE_DATA_INTERVAL
- See Also:
- Constant Field Values
formatter
protected static final java.text.DateFormat formatter
mInitialised
protected static boolean mInitialised
HTTPRequestHandler
protected HTTPRequestHandler()
HTTPRequestHandler
public HTTPRequestHandler(XMLPluginConfig config,
java.net.Socket server)
throws java.lang.SecurityException,
java.io.IOException
initialiseLogger
protected static void initialiseLogger()
throws java.lang.SecurityException,
java.io.IOException
- Throws:
java.lang.SecurityException
java.io.IOException
handleRequest
public void handleRequest()
- Specified by:
handleRequest in interface RequestHandler- Overrides:
handleRequest in class SocketRequestHandler
handleResponse
public void handleResponse(char[] method,
char[] uri,
char[][] header,
char[] message)
throws java.io.IOException,
ConfigException
- Specified by:
handleResponse in interface RequestHandler- Overrides:
handleResponse in class SocketRequestHandler
- Throws:
java.io.IOException
ConfigException