public class ExceptionMapping extends Object implements ClientResponseFilter
Modifier and Type | Class and Description |
---|---|
static class |
ExceptionMapping.HandlerException |
Constructor and Description |
---|
ExceptionMapping(Set<Object> instances) |
Modifier and Type | Method and Description |
---|---|
void |
filter(ClientRequestContext requestContext,
ClientResponseContext responseContext)
Filter method called after a response has been provided for a request
(either by a
request filter or when the
HTTP invocation returns). |
public void filter(ClientRequestContext requestContext, ClientResponseContext responseContext) throws IOException
ClientResponseFilter
request filter
or when the
HTTP invocation returns).
Filters in the filter chain are ordered according to their javax.annotation.Priority
class-level annotation value.filter
in interface ClientResponseFilter
requestContext
- request context.responseContext
- response context.IOException
- if an I/O exception occurs.Copyright © 2020 JBoss by Red Hat. All rights reserved.