Class ResteasyProblemSupport

java.lang.Object
io.github.belgif.rest.problem.ee.resteasy.client.ResteasyProblemSupport

public class ResteasyProblemSupport extends Object
Utility class for enabling problem support on RESTEasy Clients.
  • Method Details

    • proxy

      public static <T> T proxy(org.jboss.resteasy.client.jaxrs.ResteasyWebTarget target, Class<T> proxyInterface)
      Create a problem-enabled RESTEasy proxy client.
      Type Parameters:
      T - the service interface type
      Parameters:
      target - the ResteasyWebTarget
      proxyInterface - the service interface
      Returns:
      the problem-enabled RESTEasy proxy client