mmhttp.server
Class NotFoundResponder

java.lang.Object
  extended by mmhttp.server.NotFoundResponder
All Implemented Interfaces:
Responder

public class NotFoundResponder
extends java.lang.Object
implements Responder

Creates a 404 Not Found response. Used when the request resource doesn't map to any registered Responders.


Constructor Summary
NotFoundResponder()
           
 
Method Summary
 Response makeResponse(Server server, Request request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotFoundResponder

public NotFoundResponder()
Method Detail

makeResponse

public Response makeResponse(Server server,
                             Request request)
                      throws java.lang.Exception
Specified by:
makeResponse in interface Responder
Throws:
java.lang.Exception


Copyright © 2009 Micah Martin. All Rights Reserved.