Interface SuspendableContainerRequestContext

    • Method Detail

      • resume

        void resume()
        Resumes the current request, and proceeds to the next request filter, if any, or to the resource method.
      • resume

        void resume​(Throwable t)
        Aborts the current request with the given exception. This behaves as if the request filter threw this exception synchronously, which means exceptions may be mapped via exception mappers, response filters will run and async response callbacks will be called with this exception.
        Parameters:
        t - the exception to send back to the client, as mapped by the application.