Interface ExceptionHandler

    • Method Detail

      • handle

        java.util.Optional<java.util.concurrent.CompletionStage<HttpResult>> handle​(HttpRequestContext ctx,
                                                                                    java.lang.Throwable cause)
        Handles the exception.
        Parameters:
        ctx - the HttpRequestContext
        cause - the cause to handle
        Returns:
        an Optional<CompletionStage<HttpResult>>