Interface ResteasyReactiveAsyncExceptionMapper<E extends Throwable>
- All Superinterfaces:
jakarta.ws.rs.ext.ExceptionMapper<E>
public interface ResteasyReactiveAsyncExceptionMapper<E extends Throwable>
extends jakarta.ws.rs.ext.ExceptionMapper<E>
Allow ExceptionMapper classes that can use resume and suspend when attempting to convert
an exception into a response
-
Method Summary
Modifier and TypeMethodDescriptionvoid
asyncResponse
(E exception, AsyncExceptionMapperContext context) If the handling of the exception involves async handling async results, the implementation can useAsyncExceptionMapperContext.suspend()
andAsyncExceptionMapperContext.resume()
.default jakarta.ws.rs.core.Response
toResponse
(E exception)
-
Method Details
-
asyncResponse
If the handling of the exception involves async handling async results, the implementation can useAsyncExceptionMapperContext.suspend()
andAsyncExceptionMapperContext.resume()
. In all cases, tt is the responsibility of the implementation to callAsyncExceptionMapperContext.setResponse(Response)
when the exception has been properly mapped. -
toResponse
-