org.apache.axis2.jaxrs
Class JAXRSUtils
java.lang.Object
org.apache.axis2.jaxrs.JAXRSUtils
public class JAXRSUtils
- extends Object
Method Summary |
static JAXRSModel |
getClassModel(Class serviceClass)
returns a jaxrs class model reading class level annotation given the service class |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXRSUtils
public JAXRSUtils()
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:
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.