Top Description Constructors Methods
org.glassfish.grizzly.http.server

public Class DefaultErrorPageGenerator

extends Object
implements ErrorPageGenerator
Class Inheritance
All Implemented Interfaces
org.glassfish.grizzly.http.server.ErrorPageGenerator
Imports
org.glassfish.grizzly.http.server.util.HtmlHelper, org.glassfish.grizzly.http.util.HttpStatus, .HttpUtils

Default Grizzly ErrorPageGenerator.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
generate(final Request request, final int status, final String reasonPhrase, final String description, final Throwable exception)

Implements org.glassfish.grizzly.http.server.ErrorPageGenerator.generate.

Returns the HTML representation of the error page corresponding to the given HTTP response status.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

DefaultErrorPageGeneratorback to summary
public DefaultErrorPageGenerator()

Method Detail

generateback to summary
public String generate(final Request request, final int status, final String reasonPhrase, final String description, final Throwable exception)

Implements org.glassfish.grizzly.http.server.ErrorPageGenerator.generate.

Doc from org.glassfish.grizzly.http.server.ErrorPageGenerator.generate.

Returns the HTML representation of the error page corresponding to the given HTTP response status.

Annotations
@Override