com.norbl.util.http
Class SimpleHttpServer.ReqHandler

java.lang.Object
  extended by com.norbl.util.http.SimpleHttpServer.ReqHandler
All Implemented Interfaces:
org.apache.http.protocol.HttpRequestHandler
Enclosing class:
SimpleHttpServer

public static class SimpleHttpServer.ReqHandler
extends java.lang.Object
implements org.apache.http.protocol.HttpRequestHandler

For testing only


Constructor Summary
SimpleHttpServer.ReqHandler()
           
 
Method Summary
 void handle(org.apache.http.HttpRequest request, org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context)
          Note that handler() must be reentrant.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleHttpServer.ReqHandler

public SimpleHttpServer.ReqHandler()
Method Detail

handle

public void handle(org.apache.http.HttpRequest request,
                   org.apache.http.HttpResponse response,
                   org.apache.http.protocol.HttpContext context)
            throws org.apache.http.HttpException,
                   java.io.IOException
Note that handler() must be reentrant.

Specified by:
handle in interface org.apache.http.protocol.HttpRequestHandler
Parameters:
request -
response -
context -
Throws:
org.apache.http.HttpException
java.io.IOException