public interface SuspendableContainerRequestContext
extends javax.ws.rs.container.ContainerRequestContext
Throwable.| Modifier and Type | Method and Description |
|---|---|
void |
resume()
Resumes the current request, and proceeds to the next request filter, if any,
or to the resource method.
|
void |
resume(Throwable t)
Aborts the current request with the given exception.
|
void |
suspend()
Suspends the current request.
|
abortWith, getAcceptableLanguages, getAcceptableMediaTypes, getCookies, getDate, getEntityStream, getHeaders, getHeaderString, getLanguage, getLength, getMediaType, getMethod, getProperty, getPropertyNames, getRequest, getSecurityContext, getUriInfo, hasEntity, removeProperty, setEntityStream, setMethod, setProperty, setRequestUri, setRequestUri, setSecurityContextvoid suspend()
resume() or aborted with resume(Throwable) or
ContainerRequestContext.abortWith(javax.ws.rs.core.Response).void resume()
void resume(Throwable t)
t - the exception to send back to the client, as mapped by the application.Copyright © 2018 JBoss by Red Hat. All rights reserved.