@Priority(value=5002) public class TestResponseExceptionMapper extends Object implements ResponseExceptionMapper<Throwable>
| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGE |
DEFAULT_PRIORITY| Constructor and Description |
|---|
TestResponseExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
handles(int status,
jakarta.ws.rs.core.MultivaluedMap<String,Object> headers) |
static boolean |
isHandlesCalled() |
static boolean |
isHeaderPassedToHandlesMethod() |
static boolean |
isThrowableCalled() |
static void |
reset() |
Throwable |
toThrowable(jakarta.ws.rs.core.Response response) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPrioritypublic static final String MESSAGE
public Throwable toThrowable(jakarta.ws.rs.core.Response response)
toThrowable in interface ResponseExceptionMapper<Throwable>public boolean handles(int status,
jakarta.ws.rs.core.MultivaluedMap<String,Object> headers)
handles in interface ResponseExceptionMapper<Throwable>public static void reset()
public static boolean isHandlesCalled()
public static boolean isHeaderPassedToHandlesMethod()
public static boolean isThrowableCalled()
Copyright © 2021 Eclipse Foundation. All rights reserved.