Interface ErrorPageGenerator

    • Method Detail

      • generate

        String generate​(Request request,
                        int status,
                        String reasonPhrase,
                        String description,
                        Throwable exception)
        Returns the HTML representation of the error page corresponding to the given HTTP response status.
        Parameters:
        request - Request
        status - response status
        reasonPhrase - response reason phrase
        description - extra description. Might be null
        exception - Throwable, that caused the error. Might be null
        Returns: