Package ee.jakarta.tck.ws.rs.common
Class AbstractMessageBodyRW
java.lang.Object
ee.jakarta.tck.ws.rs.common.AbstractMessageBodyRW
- Direct Known Subclasses:
CollectionWriter
,EntityMessageReader
,EntityMessageWriter
,IncorrectCollectionWriter
This class is a superclass used in MessageBodyWriters which need to check
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getPathValue
(Annotation[] annotations) static <T extends Annotation>
TgetSpecifiedAnnotation
(Annotation[] annotations, Class<T> clazz) static <T extends Annotation>
StringgetSpecifiedAnnotationValue
(Annotation[] annotations, Class<T> clazz)
-
Constructor Details
-
AbstractMessageBodyRW
public AbstractMessageBodyRW()
-
-
Method Details
-
getPathValue
-
getSpecifiedAnnotation
public static <T extends Annotation> T getSpecifiedAnnotation(Annotation[] annotations, Class<T> clazz) -
getSpecifiedAnnotationValue
public static <T extends Annotation> String getSpecifiedAnnotationValue(Annotation[] annotations, Class<T> clazz)
-