public class GetRestful extends Object
Constructor and Description |
---|
GetRestful() |
Modifier and Type | Method and Description |
---|---|
static 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.
|
public static Class getRootResourceClass(Class clazz)
clazz
- classpublic static boolean isSubResourceClass(Class clazz)
clazz
- classpublic static Class getSubResourceClass(Class clazz)
clazz
- classpublic static Class<?>[] getSubResourceClasses(Class<?> clazz)
clazz
- classpublic static boolean isRootResource(Class clazz)
Copyright © 2019 JBoss by Red Hat. All rights reserved.