org.mortbay.http.handler

Class ErrorPageHandler

public class ErrorPageHandler extends AbstractHttpHandler

Handler for Error pages A handler that is registered at the org.mortbay.http.ErrorHandler context attributed and called by the HttpResponse.sendError method to write a error page.

Version: $Id: ErrorPageHandler.java,v 1.9 2005/03/15 10:03:44 gregwilkins Exp $

Author: Greg Wilkins (gregw)

Method Summary
voidhandle(String pathInContext, String pathParams, HttpRequest request, HttpResponse response)
protected voidwriteErrorPage(HttpRequest request, Writer writer, int code, String message)

Method Detail

handle

public void handle(String pathInContext, String pathParams, HttpRequest request, HttpResponse response)

writeErrorPage

protected void writeErrorPage(HttpRequest request, Writer writer, int code, String message)
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.