public abstract class AbstractResponseExceptionMapper<T extends Throwable> extends Object implements ResponseExceptionMapper<T>
DEFAULT_PRIORITY| Constructor and Description |
|---|
AbstractResponseExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority()
The priority of this mapper.
|
boolean |
handles(int status,
javax.ws.rs.core.MultivaluedMap<String,Object> headers)
Whether or not this mapper will be used for the given response.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoThrowablepublic boolean handles(int status,
javax.ws.rs.core.MultivaluedMap<String,Object> headers)
handles in interface ResponseExceptionMapper<T extends Throwable>status - the response status code indicating the HTTP responseheaders - the headers from the HTTP responsepublic int getPriority()
Priority annotation's value as the priority.
If no annotation is present, it uses a default priority of Priorities.USER.getPriority in interface ResponseExceptionMapper<T extends Throwable>Copyright © 2018. All rights reserved.