Dummy class that indicates that serializers, parsers, or transforms should be inherited from parent-class-to-class or class-to-method.
Example:
@RestOp(
// Override the serializers for this method, but also inherit the serializers from the class.
// Class-level serializers will be inserted in the location in the array.
serializers={JsonSerializer.class, Inherit.class},
// Override the parsers for this method, but also inherit the parsers from the class.
// Class-level parsers will be inserted in the location in the array.
parsers={JsonParser.class, Inherit.class},
// Override the bean filters for this method, but also inherit the bean filters from the class.
// Overridden bean filters only apply to NEW serializers and parsers defined on the method
// (not those inherited from the class).
beanFilters={MyFilter.class, Inherit.class},
// Override the POJO swaps for this method, but also inherit the POJO swaps from the class.
// Overridden POJO swaps only apply to NEW serializers and parsers defined on the method
// (not those inherited from the class).
swaps={MySwap.class, Inherit.class}
)
See Also:
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait