org.mortbay.http.handler
Class NotFoundHandler

java.lang.Object
  |
  +--org.mortbay.http.handler.NullHandler
        |
        +--org.mortbay.http.handler.NotFoundHandler
All Implemented Interfaces:
HttpHandler, LifeCycle

public class NotFoundHandler
extends NullHandler

Handler for resources that were not found. Implements OPTIONS and TRACE methods for the server.

Version:
$Id: NotFoundHandler.java,v 1.2 2001/10/11 01:17:44 gregwilkins Exp $
Author:
Greg Wilkins (gregw)

Constructor Summary
NotFoundHandler()
           
 
Method Summary
 void handle(java.lang.String pathInContext, java.lang.String pathParams, HttpRequest request, HttpResponse response)
          Handle a request.
 
Methods inherited from class org.mortbay.http.handler.NullHandler
destroy, getHandlerContext, getName, initialize, isDestroyed, isStarted, setName, start, stop, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotFoundHandler

public NotFoundHandler()
Method Detail

handle

public void handle(java.lang.String pathInContext,
                   java.lang.String pathParams,
                   HttpRequest request,
                   HttpResponse response)
            throws HttpException,
                   java.io.IOException
Description copied from interface: HttpHandler
Handle a request.
Following copied from interface: org.mortbay.http.HttpHandler
Parameters:
pathInContext - The context path
pathParams - Path parameters such as encoded Session ID
request - The request
response - The response.


Copyright © 2000 Mortbay Consulting Pty. Ltd. All Rights Reserved.