Class ResourceMethodLookup
java.lang.Object
ru.vyarus.dropwizard.guice.url.resource.ResourceMethodLookup
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classHandler, intercepting proxy method calls. -
Method Summary
Modifier and TypeMethodDescriptionstatic <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.
-
Method Details
-
getMethodCalls
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 methodcall- consumer with method(s) call- Returns:
- called methods
-