Package org.apache.axis2.jaxrs
Class JAXRSUtils
- java.lang.Object
-
- org.apache.axis2.jaxrs.JAXRSUtils
-
public class JAXRSUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description JAXRSUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JAXRSModel
getClassModel(Class serviceClass)
returns a jaxrs class model reading class level annotation given the service classstatic JAXRSModel
getMethodModel(JAXRSModel classModel, Method serviceMethod)
given a jaxrs class model & java method , construct a jaxrs model associated with method , reading the method level annotations.
-
-
-
Method Detail
-
getClassModel
public static JAXRSModel getClassModel(Class serviceClass)
returns a jaxrs class model reading class level annotation given the service class- Parameters:
serviceClass
-- Returns:
-
getMethodModel
public static JAXRSModel getMethodModel(JAXRSModel classModel, Method serviceMethod)
given a jaxrs class model & java method , construct a jaxrs model associated with method , reading the method level annotations.- Parameters:
classModel
-serviceMethod
-- Returns:
-
-