uk.co.lothianproductions.httpd.handler
Interface RequestHandler
- All Superinterfaces:
- java.lang.Runnable
- All Known Implementing Classes:
- SocketRequestHandler
- public interface RequestHandler
- extends java.lang.Runnable
Defines the acceptable interface for a RequestHandler.
A RequestHandler handles and interprets requests that are passed to it by a
RequestListener.
- Version:
- $Revision: 1.7 $, $Date: 2004/01/02 14:23:26 $
- Author:
- Aidan Fitzpatrick
| Methods inherited from interface java.lang.Runnable |
run |
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
mLogger
public static final java.util.logging.Logger mLogger
handleRequest
public void handleRequest()
handleProcessing
public Document handleProcessing(char[] method,
char[] uri,
char[][] header,
char[] message)
throws ConfigException,
DocumentNotFoundException,
DocumentRenderException,
DocumentRetrievalException,
DocumentTimeoutException
- Throws:
ConfigException
DocumentNotFoundException
DocumentRenderException
DocumentRetrievalException
DocumentTimeoutException
handleResponse
public void handleResponse(char[] method,
char[] uri,
char[][] header,
char[] message)
throws java.io.IOException,
ConfigException
- Throws:
java.io.IOException
ConfigException