Class TestResponseExceptionMapper

java.lang.Object
org.eclipse.microprofile.rest.client.tck.providers.TestResponseExceptionMapper
All Implemented Interfaces:
ResponseExceptionMapper<Throwable>

@Priority(5002) public class TestResponseExceptionMapper extends Object implements ResponseExceptionMapper<Throwable>
  • Field Details

  • Constructor Details

    • TestResponseExceptionMapper

      public TestResponseExceptionMapper()
  • Method Details

    • toThrowable

      public Throwable toThrowable(jakarta.ws.rs.core.Response response)
      Specified by:
      toThrowable in interface ResponseExceptionMapper<Throwable>
    • handles

      public boolean handles(int status, jakarta.ws.rs.core.MultivaluedMap<String,Object> headers)
      Specified by:
      handles in interface ResponseExceptionMapper<Throwable>
    • reset

      public static void reset()
    • isHandlesCalled

      public static boolean isHandlesCalled()
    • isHeaderPassedToHandlesMethod

      public static boolean isHeaderPassedToHandlesMethod()
    • isThrowableCalled

      public static boolean isThrowableCalled()