Class HttpError


  • public final class HttpError
    extends Object
    An event handler method may return an instance of this class to send an error response to the client. If you need something similar but not for errors, such as statuses in the 2xx range, use instead.
    Since:
    5.2.0