Class ProblemSupport

java.lang.Object
io.github.belgif.rest.problem.ee.jaxrs.client.ProblemSupport

public class ProblemSupport extends Object
Utility class for enabling problem support on JAX-RS Clients.
  • Method Details

    • enable

      public static javax.ws.rs.client.Client enable(javax.ws.rs.client.Client client)
      Enable problem support on the given JAX-RS Client.

      This causes the JAX-RS Client to throw Problem exceptions instead of ProblemWrapper exceptions.

      Parameters:
      client - the JAX-RS Client
      Returns:
      the problem-enabled JAX-RS Client