Interface ResteasyReactiveAsyncExceptionMapper<E extends Throwable>
-
- All Superinterfaces:
javax.ws.rs.ext.ExceptionMapper<E>
public interface ResteasyReactiveAsyncExceptionMapper<E extends Throwable> extends javax.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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidasyncResponse(E exception, AsyncExceptionMapperContext context)If the handling of the exception involves async handling async results, the implementation can useAsyncExceptionMapperContext.suspend()andAsyncExceptionMapperContext.resume().default javax.ws.rs.core.ResponsetoResponse(E exception)
-
-
-
Method Detail
-
asyncResponse
void asyncResponse(E exception, AsyncExceptionMapperContext context)
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.
-
-