Interface SuspendableContainerResponseContext

    • Method Detail

      • resume

        void resume()
        Resumes the current response, and proceeds to the next response filter, if any, or to send the response.
      • resume

        void resume​(Throwable t)
        Aborts the current response with the given exception. This behaves as if the request filter threw this exception synchronously, which means that the exception will not be mapped by exception mappers, the response filters will stop running, and the async response callbacks will be called with this exception.
        Parameters:
        t - the exception to send back to the client, as an internal server error.