Interface TargetAware
- All Superinterfaces:
RawTargetAccess,TargetClassAware
Extension of
TargetClassAware to be able to ignore the getter on JSON rendering.- Author:
- Oliver Gierke
-
Method Summary
Modifier and TypeMethodDescriptionClass<?>Re-declaration of Spring Framework 4.3'sDecoratingProxy.getDecoratedClass()so that we can exclude it from Jackson serialization.Returns the proxy target.@Nullable Class<?>Returns the type of the proxy target.
-
Method Details
-
getTargetClass
@Nullable Class<?> getTargetClass()Returns the type of the proxy target.- Specified by:
getTargetClassin interfaceTargetClassAware- Returns:
- can be null.
-
getTarget
Object getTarget()Returns the proxy target.- Returns:
- will never be null.
-
getDecoratedClass
Class<?> getDecoratedClass()Re-declaration of Spring Framework 4.3'sDecoratingProxy.getDecoratedClass()so that we can exclude it from Jackson serialization.- Returns:
-