Package org.springframework.hateoas
Interface AffordanceModel.PayloadMetadata
- All Known Subinterfaces:
AffordanceModel.InputPayloadMetadata
- Enclosing class:
- AffordanceModel
public static interface AffordanceModel.PayloadMetadata
Metadata about payloads.
- Author:
- Oliver Drotbohm
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault Optional<AffordanceModel.PropertyMetadata>
getPropertyMetadata
(String name) Deprecated.since 1.4, for removal in 1.5.default Class<?>
getType()
stream()
Returns all properties contained in a payload.
-
Field Details
-
NONE
-
-
Method Details
-
stream
Stream<AffordanceModel.PropertyMetadata> stream()Returns all properties contained in a payload.- Returns:
-
getPropertyMetadata
Deprecated.since 1.4, for removal in 1.5. Preferstream()
and selecting individualPropertyMetadata
instances yourself. -
getType
-