Class PropertyUtils
java.lang.Object
org.springframework.hateoas.mediatype.PropertyUtils
- Author:
- Greg Turnquist, Oliver Drotbohm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T
createObjectFromProperties
(Class<T> clazz, Map<String, Object> properties) extractPropertyValues
(Object object) getExposedProperties
(Class<?> type) Returns theAffordanceModel.InputPayloadMetadata
model for the givenResolvableType
.
-
Constructor Details
-
PropertyUtils
public PropertyUtils()
-
-
Method Details
-
extractPropertyValues
-
createObjectFromProperties
-
getExposedProperties
-
getExposedProperties
public static AffordanceModel.InputPayloadMetadata getExposedProperties(@Nullable ResolvableType type) Returns theAffordanceModel.InputPayloadMetadata
model for the givenResolvableType
.- Parameters:
type
- must not be null.- Returns:
-