: Class NotFoundHandler

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.mortbay.HTTP.Handler
Class NotFoundHandler

    java.lang.Object
      |
      +--com.mortbay.HTTP.Handler.NullHandler
            |
            +--com.mortbay.HTTP.Handler.NotFoundHandler

public class NotFoundHandler
extends NullHandler

NotFound Handler

This handler is a terminating handler of a handler stack. Any request passed to this handler receives a SC_NOT_FOUND response.

Version:
  $Id: NotFoundHandler.java,v 2.5 1999/09/22 15:08:42 gregw Exp $
Author:
  Greg Wilkins
See Also:
  `Interface.HttpHandler`

Fields inherited from class com.mortbay.HTTP.Handler.NullHandler
`httpServer`

Constructor Summary
`NotFoundHandler()` Constructor.
`NotFoundHandler(java.util.Properties properties)` Constructor from properties.

Method Summary
`void` | `handle(HttpRequest request, HttpResponse response)` Constructor
`void` | `setProperties(java.util.Properties properties)` Configure from properties.

Methods inherited from class com.mortbay.HTTP.Handler.NullHandler
`destroy, getProperties, servlet, servletNames, setServer, translate`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### NotFoundHandler

    public NotFoundHandler(java.util.Properties properties)

  Constructor from properties. Calls setProperties.
  Parameters:
    `properties` - Configuration properties

### NotFoundHandler

    public NotFoundHandler()

  Constructor.

Method Detail

### setProperties

    public void setProperties(java.util.Properties properties)

  Configure from properties. No configuration parameters for this handler
  Overrides:
    setProperties in class NullHandler
  Parameters:
    `properties` - configuration.

### handle

    public void handle(HttpRequest request,
                       HttpResponse response)
                throws java.lang.Exception

  Description copied from interface: HttpHandler
  Constructor
  Overrides:
    handle in class NullHandler
  Tags copied from interface: HttpHandler
  Parameters:
    `request` - The HTTP requests to be handled
    `response` - The HTTP response to be used.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD