Class ModelHelper
java.lang.Object
org.glassfish.jersey.server.model.internal.ModelHelper
Common model helper methods.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Class<?> getAnnotatedResourceClass(Class<?> resourceClass) Get the class in the provided resource class ancestor hierarchy that is actually annotated with the@Pathannotation.
-
Constructor Details
-
ModelHelper
private ModelHelper()Prevent instantiation.
-
-
Method Details
-
getAnnotatedResourceClass
Get the class in the provided resource class ancestor hierarchy that is actually annotated with the@Pathannotation.- Parameters:
resourceClass- resource class.- Returns:
- resource class or it's ancestor that is annotated with the
@Pathannotation.
-