Class JaxRsAnnotationUtils
- java.lang.Object
-
- org.restlet.engine.resource.AnnotationUtils
-
- org.restlet.ext.jaxrs.internal.client.JaxRsAnnotationUtils
-
@Deprecated public class JaxRsAnnotationUtils extends AnnotationUtils
Deprecated.Will be removed in next minor release.JAX-RS specific Utilities to manipulate Restlet annotations.
-
-
Field Summary
Fields Modifier and Type Field Description private static JaxRsAnnotationUtilsinstanceDeprecated.Current instance.
-
Constructor Summary
Constructors Modifier Constructor Description privateJaxRsAnnotationUtils()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static JaxRsAnnotationUtilsgetInstance()Deprecated.Returns the current instance.protected MethodgetRestletMethod(java.lang.annotation.Annotation annotation, java.lang.annotation.Annotation methodAnnotation)Deprecated.Returns an instance ofMethodaccording to the given annotations.-
Methods inherited from class org.restlet.engine.resource.AnnotationUtils
clearCache, getAnnotations, getAnnotations, getMethodAnnotation, getMethodAnnotation, getThrowableAnnotationInfo, getThrowableAnnotationInfo, getThrowableClass
-
-
-
-
Field Detail
-
instance
private static JaxRsAnnotationUtils instance
Deprecated.Current instance.
-
-
Method Detail
-
getInstance
public static JaxRsAnnotationUtils getInstance()
Deprecated.Returns the current instance.- Returns:
- The current instance.
-
getRestletMethod
protected Method getRestletMethod(java.lang.annotation.Annotation annotation, java.lang.annotation.Annotation methodAnnotation)
Deprecated.Description copied from class:AnnotationUtilsReturns an instance ofMethodaccording to the given annotations.- Overrides:
getRestletMethodin classAnnotationUtils- Parameters:
annotation- Java annotation.methodAnnotation- Annotation that corresponds to a Restlet method.- Returns:
- An instance of
Methodaccording to the given annotations.
-
-