Package org.jboss.resteasy.util
Class GetRestful
java.lang.Object
org.jboss.resteasy.util.GetRestful
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Class<?>
getRootResourceClass
(Class<?> clazz) Given a class, search itself and implemented interfaces for jax-rs annotations.static Class<?>
getSubResourceClass
(Class<?> clazz) Given a class, search itself and implemented interfaces for jax-rs annotations.static Class<?>[]
getSubResourceClasses
(Class<?> clazz) Given a class, search itself and implemented interfaces for jax-rs annotations.static boolean
isRootResource
(Class<?> clazz) static boolean
isSubResourceClass
(Class<?> clazz) Given a class, search itself and implemented interfaces for jax-rs annotations.
-
Constructor Details
-
GetRestful
public GetRestful()
-
-
Method Details
-
getRootResourceClass
Given a class, search itself and implemented interfaces for jax-rs annotations.- Parameters:
clazz
- class- Returns:
- list of class and intertfaces that have jax-rs annotations
-
isSubResourceClass
Given a class, search itself and implemented interfaces for jax-rs annotations.- Parameters:
clazz
- class- Returns:
- list of class and interfaces that have jax-rs annotations
-
getSubResourceClass
Given a class, search itself and implemented interfaces for jax-rs annotations.- Parameters:
clazz
- class- Returns:
- list of class and interfaces that have jax-rs annotations
-
getSubResourceClasses
Given a class, search itself and implemented interfaces for jax-rs annotations.- Parameters:
clazz
- class- Returns:
- list of class and interfaces that have jax-rs annotations
-
isRootResource
-