Package jakarta.validation
Interface Payload
- All Known Subinterfaces:
Unwrapping.Skip
,Unwrapping.Unwrap
public interface Payload
Payload type that can be attached to a given
constraint declaration.
Payloads are typically used to carry on metadata information consumed by a validation client.
With the exception of theUnwrapping
payload types, the use of payloads is not
considered portable.- Author:
- Emmanuel Bernard, Gerhard Petracek