@Documented
@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
public @interface Serializer
Once the annotation is specified, a custom jersey provider invokes an instance of the class specified as the value and dispatches all objects that needs to be serialized/de-serialized to handle them as and only when it is responsible for handling those.
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
value |