Class ResourceMethodLookup

java.lang.Object
ru.vyarus.dropwizard.guice.url.resource.ResourceMethodLookup

public final class ResourceMethodLookup extends Object
Utility for intercepting resource call (on special proxy object) to extract called method and provided arguments. This is useful for simplifying target method path building (based on jersey annotations).
Since:
25.09.2025
  • Method Details

    • getMethodCalls

      public static <T> List<MethodCall> getMethodCalls(Class<T> resource, Caller<T> call)
      Procide special proxy object into consumer in order to intercept method call and record target method with called arguments.
      Type Parameters:
      T - resource type
      Parameters:
      resource - resource method
      call - consumer with method(s) call
      Returns:
      called methods