Class Request.Handler.AbortException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.jetty.server.Request.Handler.AbortException
All Implemented Interfaces:
Serializable
Enclosing interface:
Request.Handler

public static class Request.Handler.AbortException extends Exception
A marker Exception that can be passed the Callback.failed(Throwable) of the Callback passed in Request.Handler.handle(Request, Response, Callback), to cause request handling to be aborted. For HTTP/1 an abort is handled with a EndPoint.close(), for later versions of HTTP, a reset message will be sent.
See Also:
  • Constructor Details

    • AbortException

      public AbortException()
    • AbortException

      public AbortException(String message)
    • AbortException

      public AbortException(String message, Throwable cause)
    • AbortException

      public AbortException(Throwable cause)