Package org.eclipse.jetty.server
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
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 Summary
ConstructorDescriptionAbortException
(String message) AbortException
(String message, Throwable cause) AbortException
(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AbortException
public AbortException() -
AbortException
-
AbortException
-
AbortException
-