uk.co.lothianproductions.httpd.handler.impl
Class HTTPDebugRequestHandler

java.lang.Object
  extended byuk.co.lothianproductions.httpd.handler.impl.SocketRequestHandler
      extended byuk.co.lothianproductions.httpd.handler.impl.HTTPRequestHandler
          extended byuk.co.lothianproductions.httpd.handler.impl.HTTPDebugRequestHandler
All Implemented Interfaces:
RequestHandler, java.lang.Runnable

public class HTTPDebugRequestHandler
extends HTTPRequestHandler

Simple request handler for debugging. Dumps out request header values.

Version:
$Revision: 1.4 $, $Date: 2004/01/02 19:00:48 $
Author:
Aidan Fitzpatrick

Field Summary
 
Fields inherited from class uk.co.lothianproductions.httpd.handler.impl.HTTPRequestHandler
formatter, mInitialised, READ_MORE_DATA_INTERVAL, RESPONSE_CANT_SERVICE, RESPONSE_ERROR, RESPONSE_NOT_FOUND, RESPONSE_OKAY
 
Fields inherited from class uk.co.lothianproductions.httpd.handler.impl.SocketRequestHandler
INTERNAL_BUFFER_SIZE, mServer, mXMLPluginConfig
 
Fields inherited from interface uk.co.lothianproductions.httpd.handler.RequestHandler
mLogger
 
Constructor Summary
protected HTTPDebugRequestHandler()
           
  HTTPDebugRequestHandler(XMLPluginConfig config, java.net.Socket server)
           
 
Method Summary
 Document handleProcessing(char[] method, char[] uri, char[][] header, char[] message)
           
 
Methods inherited from class uk.co.lothianproductions.httpd.handler.impl.HTTPRequestHandler
handleRequest, handleResponse, initialiseLogger
 
Methods inherited from class uk.co.lothianproductions.httpd.handler.impl.SocketRequestHandler
closeRequest, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPDebugRequestHandler

protected HTTPDebugRequestHandler()

HTTPDebugRequestHandler

public HTTPDebugRequestHandler(XMLPluginConfig config,
                               java.net.Socket server)
                        throws java.lang.SecurityException,
                               java.io.IOException
Method Detail

handleProcessing

public Document handleProcessing(char[] method,
                                 char[] uri,
                                 char[][] header,
                                 char[] message)
                          throws ConfigException,
                                 DocumentRenderException,
                                 DocumentNotFoundException,
                                 DocumentTimeoutException,
                                 DocumentRetrievalException
Specified by:
handleProcessing in interface RequestHandler
Overrides:
handleProcessing in class SocketRequestHandler
Throws:
ConfigException
DocumentRenderException
DocumentNotFoundException
DocumentTimeoutException
DocumentRetrievalException