|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.mortbay.HTTP.Handler.NullHandler | +--com.mortbay.HTTP.Handler.NotFoundHandler
NotFound Handler
This handler is a terminating handler of a handler stack. Any request passed to this handler receives a SC_NOT_FOUND response.
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 |
public NotFoundHandler(java.util.Properties properties)
properties
- Configuration propertiespublic NotFoundHandler()
Method Detail |
public void setProperties(java.util.Properties properties)
properties
- configuration.public void handle(HttpRequest request, HttpResponse response) throws java.lang.Exception
request
- The HTTP requests to be handledresponse
- The HTTP response to be used.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |