public static interface PostInvocationInterceptor.ExceptionContext
Throwable
(typically, the RuntimeException
) is caught.Modifier and Type | Method and Description |
---|---|
Optional<ClientResponseContext> |
getResponseContext()
If the
ClientResponseContext has been available at the time of the Throwable occurrence,
such as when the PostInvocationInterceptor is processed, it will be available. |
Deque<Throwable> |
getThrowables()
Get the mutable
Deque of unhandled Throwables occurred during the request (including previous
PostInvocationInterceptor processing). |
void |
resolve(Response response)
Resolve the
Throwables with a provided Response . |
Optional<ClientResponseContext> getResponseContext()
ClientResponseContext
has been available at the time of the Throwable
occurrence,
such as when the PostInvocationInterceptor
is processed, it will be available.ClientResponseContext
if available.Deque<Throwable> getThrowables()
Deque
of unhandled Throwables
occurred during the request (including previous
PostInvocationInterceptor
processing).Throwables
occurred during the request.Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.